Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion _sources/properties/execution/shapes.shacl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@
$this ?path ?time .
FILTER(?path IN (sosa:resultTime, sosa:phenomenonTime))
} UNION {
# Binding ?path first (rather than filtering it afterwards) means the costly
# "nearer" test below runs only for time values, not for every property of the
# collection (e.g. all its features). VALUES is not allowed in SHACL-SPARQL.
{ BIND(sosa:resultTime AS ?path) } UNION { BIND(sosa:phenomenonTime AS ?path) }
?holder (sosa:hasMember|geojson:features|^sosa:memberOf)+ $this ;
?path ?time .
FILTER(?path IN (sosa:resultTime, sosa:phenomenonTime))
FILTER NOT EXISTS { $this ?path ?own }
FILTER NOT EXISTS {
?holder (sosa:hasMember|geojson:features|^sosa:memberOf)+ ?nearer .
Expand Down
Loading