Skip to content

Commit

Permalink
fix: allow to use strings only in Timespans
Browse files Browse the repository at this point in the history
resolves #26
  • Loading branch information
sennierer committed Jan 28, 2025
1 parent 024c869 commit a3666fa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions html/shacl/shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,15 @@ pfpsh:crm_E52_Time-Span a sh:NodeShape ;
sh:message "When using begin/end properties, P82b_end_of_the_end must have exactly one date value." ;
]
]
[
sh:property [
sh:path rdfs:label ;
sh:nodeKind sh:Literal ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:message "When using a literal time description, exactly one rdfs:label is required." ;
]
]
) .

pfpsh:crm_E86_Leaving a sh:NodeShape ;
Expand Down

0 comments on commit a3666fa

Please sign in to comment.