You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<http://www.europeana.eu/schemas/edm/shapes/external/WebResource/dct_issued#correlation>
a sh:PropertyConstraint ;
dc:type esc:correlation ;
sh:description """dcterms:issued must be equal or later than dcterms:created
and dcterms:issued of the ProvidedCHO""" ;
dc:type esc:correlation ;
dc:relation "R-43-LITERAL-VALUE-COMPARISON" ;
sh:predicate dct:issued ;
#requires a second focus node (ie. ProvidedCHO)
#can though be implemented using SPARQL
.
<http://www.europeana.eu/schemas/edm/shapes/external/WebResource/dct_issued#range-class>
a sh:PropertyConstraint ;
sh:description """the reference should be one to a TimeSpan (the access to
the data and the data itself should be formatted according
to the TimeSpan specifications.)""" ;
dc:type esc:range-class ;
dc:relation "R-171-VALIDATION-OF-URIS-BY-DEREFERENCING" ;
sh:predicate dct:issued ;
sh:filterShape [
sh:property [
sh:predicate dct:issued ;
sh:nodeKind sh:IRI ;
]
] ;
sh:valueShape TimeSpan: ;
sh:class edm:TimeSpan ;
.
<http://www.europeana.eu/schemas/edm/shapes/external/WebResource/dct_issued#range-values>
a sh:PropertyConstraint ;
sh:description """Check that the value for date matches ISO 8601 starting with
the year and hyphenating the day and month parts:
YYYY-MM-DD""" ;
dc:type esc:range-value ;
dc:relation "R-44-PATTERN-MATCHING-ON-RDF-LITERALS" ;
sh:predicate dct:issued ;
sh:filterShape [ #restrict only to Literals
sh:property [
sh:predicate dct:issued ;
sh:nodeKind sh:Literal ;
]
] ;
#does not check for valid dates but could be expanded
sh:pattern "^[0-9]{4}[-][0-9]{2}[-][0-9]{2}$" ;
.
<http://www.europeana.eu/schemas/edm/shapes/external/WebResource/edm_isNextInSequence#correlation>
a sh:PropertyConstraint ;
dc:type esc:correlation ;
sh:description """Both WebResources referred to and subject of this property
must share the same parent, if present""" ;
# sh:description """Check that if WebResource 2 is PartOf WebResource X and
# IsNextInSequence WebResource 1 and WebResource 2 are part of
# WebResource X""" ;
dc:relation "?" ;
sh:predicate edm:isNextInSequence ;
# Implement using a SPARQL query
.