Skip to content

Commit

Permalink
shapes: triples_map: add rml:baseIRI (#132)
Browse files Browse the repository at this point in the history
* shapes: triples_map: add rml:baseIRI

Contributes to #30

* regenerate core shapes

---------

Co-authored-by: Pano Maria <pano.maria@gmail.com>
  • Loading branch information
DylanVanAssche and pmaria authored Jan 19, 2025
1 parent e314e71 commit 2a61c20
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions shapes/core.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,16 @@
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path rml:predicateObjectMap ;
sh:targetSubjectsOf rml:predicateObjectMap ],
[ sh:description """
Base IRI to use for generating RDF triples or quads.
""" ;
sh:maxCount 1 ;
sh:message """
rml:baseIRI must be an IRI.
""" ;
sh:minCount 0 ;
sh:nodeKind sh:IRI ;
sh:path rml:baseIRI ],
[ rdfs:label "subjectMap/subject/quotedTriplesMap" ;
rdfs:comment """
Either a rml:subject, rml:subjectMap or a rml:quotedTriplesMap is required, not multiple.
Expand Down
14 changes: 14 additions & 0 deletions shapes/shared_properties.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@
sh:minCount 0 ;
sh:nodeKind sh:BlankNodeOrIRI ;
] ;

# rml:baseIRI
sh:property [
sh:path rml:baseIRI ;
sh:description """
Base IRI to use for generating RDF triples or quads.
""" ;
sh:message """
rml:baseIRI must be an IRI.
""" ;
sh:nodeKind sh:IRI ;
sh:minCount 0 ;
sh:maxCount 1 ;
] ;
.

:RMLGraphMapPropertiesShape
Expand Down

0 comments on commit 2a61c20

Please sign in to comment.