Closed mirzov closed 11 months ago
Query that needs to work "magically" for this:
prefix cpmeta: <http://meta.icos-cp.eu/ontologies/cpmeta/> prefix prov: <http://www.w3.org/ns/prov#> select ?dobj ?submTime where{ ?dobj cpmeta:hasName ?fileName . ?dobj cpmeta:hasObjectSpec ?spec . FILTER NOT EXISTS { ?dobj cpmeta:wasSubmittedBy/prov:endedAtTime [] } ?dobj cpmeta:wasSubmittedBy/prov:startedAtTime ?submTime } order by desc(?submTime) limit 10
The crucial part is the FILTER NOT EXISTS line. Current workaround is to use FILTER NOT EXISTS {?dobj cpmeta:hasSizeInBytes []} instead.
FILTER NOT EXISTS
FILTER NOT EXISTS {?dobj cpmeta:hasSizeInBytes []}
Query that needs to work "magically" for this:
The crucial part is the
FILTER NOT EXISTS
line. Current workaround is to useFILTER NOT EXISTS {?dobj cpmeta:hasSizeInBytes []}
instead.