Skip to content

Commit

Permalink
shapes: allow rml:URI as term type
Browse files Browse the repository at this point in the history
Contributes to #50
  • Loading branch information
DylanVanAssche committed Jul 3, 2024
1 parent f514791 commit 1596724
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions shapes/graph_map.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
[
sh:path rml:termType;
sh:message """
rml:termType must be an IRI or blank node for a Graph Map.
rml:termType must be an IRI, URI, or blank node for a Graph Map.
""";
sh:in (rml:IRI rml:BlankNode);
sh:in (rml:IRI rml:URI rml:BlankNode);
]
) ;
.
Expand Down
4 changes: 2 additions & 2 deletions shapes/predicate_map.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
[
sh:path rml:termType;
sh:message """
rml:termType for Predicate Map can only be a rml:IRI;
rml:termType for Predicate Map can only be a rml:IRI or rml:URI;
""";
sh:in (rml:IRI);
sh:in (rml:IRI rml:URI);
]
) ;
.
Expand Down
5 changes: 3 additions & 2 deletions shapes/subject_map.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@
[
sh:path rml:termType ;
sh:message """
rml:termType must be a rml:IRI or rml:BlankNode for Subject Map.
rml:termType must be a rml:IRI, rml:URI, or rml:BlankNode
for a Subject Map.
""" ;
sh:in (rml:IRI rml:BlankNode);
sh:in (rml:IRI rml:URI rml:BlankNode);
]
) ;
.
Expand Down
6 changes: 3 additions & 3 deletions shapes/term_map.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
Blank Node, or a Literal.
""" ;
sh:message """
rml:termType must be either rml:IRI, rml:Literal, or rml:BlankNode
for a Term Map. May only be provided once.
rml:termType must be either rml:IRI, rml:URI, rml:Literal,
or rml:BlankNode for a Term Map. May only be provided once.
""" ;
sh:maxCount 1 ;
sh:in (rml:IRI rml:Literal rml:BlankNode) ;
sh:in (rml:IRI rml:URI rml:Literal rml:BlankNode) ;
sh:nodeKind sh:IRI ;
]
) ;
Expand Down

0 comments on commit 1596724

Please sign in to comment.