Closed craigdietrich closed 4 years ago
Ah, figured it out! SPARQL 1.0 solution:
PREFIX dcterms: <http://purl.org/dc/terms/> .
SELECT *
WHERE {
{ ?s dcterms:source ?o . }
FILTER (?s = "urn:scalar:version:27560" || ?s = "urn:scalar:version:27559")
}
Hi all,
I can't seem to get a FILTER to work that checks if ?s is present in an array. Note that this is SPARQL 1.1 and I recall that ARC2 doesn't completely implement 1.1.
Errors: Array
Curious if there's another way to do this or if my syntax is wrong? (Note that I could use a UNION but then I wouldn't be able to return ?s in the results, I don't think.) Thanks!