diff --git a/shapes/cc.ttl b/shapes/cc.ttl index 1496df3..a3888df 100644 --- a/shapes/cc.ttl +++ b/shapes/cc.ttl @@ -30,7 +30,7 @@ @prefix xsd: . a sh:NodeShape ; - sh:and ( [ sh:description """ + sh:and ( [ rdfs:comment """ rml:strategy specifies the collection strategy to use: rml:append or rml:cartesianProduct. rml:append is the default strategy. """ ; @@ -39,10 +39,10 @@ Zero or one rml:strategy is required. """ ; sh:minCount 0 ; - sh:name "strategy" ; + rdfs:label "strategy" ; sh:node ; sh:nodeKind sh:IRI ; - sh:path rml:strategy ] [ sh:description """ + sh:path rml:strategy ] [ rdfs:comment """ rml:gatherAs specifies how to gather the collection e.g. a rdf:Alt, rdf:List, rdf:Bag, or rdf:Seq. """ ; @@ -52,10 +52,10 @@ One rml:gatherAs is required. """ ; sh:minCount 1 ; - sh:name "gatherAs" ; + rdfs:label "gatherAs" ; sh:nodeKind sh:IRI ; sh:path rml:gatherAs ] [ sh:datatype xsd:boolean ; - sh:description """ + rdfs:comment """ Defines the behavior when the collection is empty. True will generate a rdf:nil for a RDF collection or a resource with no members for an RDF container. False will not generate any collection or container. @@ -67,9 +67,9 @@ xsd:boolean. """ ; sh:minCount 0 ; - sh:name "allowEmptyListAndContainer" ; + rdfs:label "allowEmptyListAndContainer" ; sh:nodeKind sh:Literal ; - sh:path rml:allowEmptyListAndContainer ] [ sh:description """ + sh:path rml:allowEmptyListAndContainer ] [ rdfs:comment """ RML Term Maps to gather in the collection or container. """ ; sh:message """ @@ -77,17 +77,17 @@ RML Term Map. """ ; sh:minCount 1 ; - sh:name "gather" ; + rdfs:label "gather" ; sh:nodeKind sh:BlankNodeOrIRI ; sh:path rml:gather ] ) ; - sh:description """ + rdfs:comment """ Represents a Gather Map. """ ; sh:message """ Gather Map requires one rml:strategy, one rml:gatherAs, and a list of Term Map with rml:gather. """ ; - sh:name "GatherMap" . + rdfs:label "GatherMap" . a sh:NodeShape . diff --git a/shapes/gather_map.ttl b/shapes/gather_map.ttl index 32fa11a..cf053a7 100644 --- a/shapes/gather_map.ttl +++ b/shapes/gather_map.ttl @@ -1,8 +1,9 @@ ############################################################################### # RMLCC Gather Map shape # -# Copyright Dylan Van Assche, IDLab - UGent - imec (2023) # +# Copyright Dylan Van Assche, IDLab - UGent - imec (2023 - 2024) # ############################################################################### @prefix sh: . +@prefix rdfs: . @prefix : . @prefix rdf: . @prefix rml: . @@ -10,8 +11,8 @@ :RMLGatherMapShape a sh:NodeShape ; - sh:name "GatherMap" ; - sh:description """ + rdfs:label "GatherMap" ; + rdfs:comment """ Represents a Gather Map. """ ; sh:message """ @@ -26,8 +27,8 @@ # Gather Map specific shapes [ sh:path rml:strategy ; - sh:name "strategy" ; - sh:description """ + rdfs:label "strategy" ; + rdfs:comment """ rml:strategy specifies the collection strategy to use: rml:append or rml:cartesianProduct. rml:append is the default strategy. """ ; @@ -41,8 +42,8 @@ ] [ sh:path rml:gatherAs ; - sh:name "gatherAs" ; - sh:description """ + rdfs:label "gatherAs" ; + rdfs:comment """ rml:gatherAs specifies how to gather the collection e.g. a rdf:Alt, rdf:List, rdf:Bag, or rdf:Seq. """ ; @@ -56,8 +57,8 @@ ] [ sh:path rml:allowEmptyListAndContainer ; - sh:name "allowEmptyListAndContainer" ; - sh:description """ + rdfs:label "allowEmptyListAndContainer" ; + rdfs:comment """ Defines the behavior when the collection is empty. True will generate a rdf:nil for a RDF collection or a resource with no members for an RDF container. False will not generate any collection or container. @@ -74,8 +75,8 @@ ] [ sh:path rml:gather ; - sh:name "gather" ; - sh:description """ + rdfs:label "gather" ; + rdfs:comment """ RML Term Maps to gather in the collection or container. """ ; sh:message """