Skip to content

Commit 6c6a88c

Browse files
authored
Merge pull request #471 from ResearchObject/rdfs-definitions
Ensure all our rdfs: properties are defined in core RO-Crate profile
2 parents c2dc8c8 + 570a7a8 commit 6c6a88c

File tree

2 files changed

+2272
-1474
lines changed

2 files changed

+2272
-1474
lines changed

docs/_specification/1.2/ro-crate-metadata.json

Lines changed: 115 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,30 @@
308308
{
309309
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
310310
},
311+
{
312+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#subClassOf"
313+
},
314+
{
315+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#subPropertyOf"
316+
},
317+
{
318+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#label"
319+
},
320+
{
321+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#comment"
322+
},
311323
{
312324
"@id": "http://schema.org/Class"
313325
},
314326
{
315327
"@id": "http://schema.org/Property"
316328
},
329+
{
330+
"@id": "http://schema.org/domainIncludes"
331+
},
332+
{
333+
"@id": "http://schema.org/rangeIncludes"
334+
},
317335
{
318336
"@id": "http://www.opengis.net/ont/geosparql#Geometry"
319337
},
@@ -517,6 +535,7 @@
517535
"inDefinedTermSet": {
518536
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
519537
},
538+
"termCode": "rdfs:Class",
520539
"name": "Class (rdfs)",
521540
"description": "Class definition",
522541
"url": "https://www.w3.org/TR/rdf-schema/#ch_class"
@@ -527,10 +546,105 @@
527546
"inDefinedTermSet": {
528547
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
529548
},
549+
"termCode": "rdfs:Property",
530550
"name": "Property (rdfs)",
531-
"description": "Property definition, typically with domainIncludes and rangeIncludes",
551+
"description": "Property definition, in schema.org style schema typically with domainIncludes and rangeIncludes",
532552
"url": "https://www.w3.org/TR/rdf-schema/#ch_property"
533553
},
554+
{
555+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#subPropertyOf",
556+
"@type": ["DefinedTerm","rdfs:Property"],
557+
"inDefinedTermSet": {
558+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
559+
},
560+
"termCode": "rdfs:subPropertyOf",
561+
"name": "subPropertyOf (rdfs)",
562+
"domainIncludes": { "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"},
563+
"rangeIncludes": { "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"},
564+
"description": "A subproperty is a specialisation of another property",
565+
"url": "https://www.w3.org/TR/rdf-schema/#ch_subpropertyof"
566+
},
567+
{
568+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#subClassOf",
569+
"@type": ["DefinedTerm","rdfs:Property"],
570+
"inDefinedTermSet": {
571+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
572+
},
573+
"domainIncludes": { "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"},
574+
"rangeIncludes": { "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"},
575+
"termCode": "rdfs:subClassOf",
576+
"name": "subClassOf (rdfs)",
577+
"description": "A subclass is a specialisation of another class",
578+
"url": "https://www.w3.org/TR/rdf-schema/#ch_subclassof"
579+
},
580+
{
581+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#label",
582+
"@type": ["DefinedTerm","rdfs:Property"],
583+
"inDefinedTermSet": {
584+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
585+
},
586+
"domainIncludes": [
587+
{ "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"},
588+
{ "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"}
589+
],
590+
"rangeIncludes": { "@id": "http://schema.org/Text"},
591+
"termCode": "rdfs:label",
592+
"name": "label (rdfs)",
593+
"description": "A human-readable name of the property/class defined with RDFS, equivalent to 'name' in schema.org",
594+
"url": "https://www.w3.org/TR/rdf-schema/#ch_label"
595+
},
596+
{
597+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#comment",
598+
"@type": ["DefinedTerm","rdfs:Property"],
599+
"inDefinedTermSet": {
600+
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
601+
},
602+
"domainIncludes": [
603+
{ "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"},
604+
{ "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"}
605+
],
606+
"rangeIncludes": { "@id": "http://schema.org/Text"},
607+
"termCode": "rdfs:comment",
608+
"name": "comment (rdfs)",
609+
"description": "A human-readable description of the property/class defined with RDFS, equivalent to 'description' in schema.org",
610+
"url": "https://www.w3.org/TR/rdf-schema/#ch_comment"
611+
},
612+
{
613+
"@id": "http://schema.org/domainIncludes",
614+
"@type": ["DefinedTerm","rdfs:Property"],
615+
"inDefinedTermSet": {
616+
"@id": "https://schema.org/docs/releases.html#v22.0"
617+
},
618+
"name": "domainIncludes",
619+
"termCode": "domainIncludes",
620+
"domainIncludes": [
621+
{"@id": "http://schema.org/Class"},
622+
{"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"}
623+
],
624+
"rangeIncludes": [
625+
{"@id": "http://schema.org/Class"},
626+
{"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"}
627+
],
628+
"description": "The domain of a property includes the given classes, meaning the property may be used on instances of these classes. Equivalent to rdfs:domain but allowing multiple disjoint classes."
629+
},
630+
{
631+
"@id": "http://schema.org/rangeIncludes",
632+
"@type": ["DefinedTerm","rdfs:Property"],
633+
"inDefinedTermSet": {
634+
"@id": "https://schema.org/docs/releases.html#v22.0"
635+
},
636+
"domainIncludes": [
637+
{"@id": "http://schema.org/Class"},
638+
{"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"}
639+
],
640+
"rangeIncludes": [
641+
{"@id": "http://schema.org/Class"},
642+
{"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"}
643+
],
644+
"name": "rangeIncludes",
645+
"termCode": "rangeIncludes",
646+
"description": "The range of a property includes the given types, meaning instances of these types may be the target of this property. Equivalent to rdfs:range but allowing multiple disjoint types. For datatype properties, point to subclasses of http://schema.org/DataType e.g. for a string, http://schema.org/Text"
647+
},
534648
{
535649
"@id": "http://schema.org/Class",
536650
"@type": ["DefinedTerm","Class"],

0 commit comments

Comments
 (0)