query-395c3edcf68d042ec31eed70533eb92b
wikibase:isSomeValue SPARQL function no longer working?Task T303256PhabricatorTracked in ]reply[01:07, 8 March 2022 (UTC)) talk (seav IRI when I specifically wanted to filter those records out. —.well-known is the ?coord SPARQL function no longer working recently? If I run the query below, I get records where the wikibase:isSomeValueIs it just me or is the
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?marker ?coord WHERE {
?marker wdt:P31 wd:Q21562164 ;
p:P625 ?coordStatement .
?coordStatement ps:P625 ?coord .
FILTER NOT EXISTS { ?coordStatement pq:P582 ?endTime }
FILTER (!wikibase:isSomeValue(?coord)) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?coord"):::projected
v2("?coordStatement")
v3("?endTime")
v4("?marker"):::projected
c3(["wd:Q21562164"]):::iri
f0[["not http://wikiba.se/ontology#isSomeValue(?coord)"]]
f0 --> v1
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0v1 --"p:qualifier/P582"--> e0v2
e0v1("?coordStatement"):::projected
e0v2("?endTime"):::projected
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> c1
f1 --> v3
v2 --"p:qualifier/P582"--> v3
v4 --"p:direct/P31"--> c3
v4 --"p:P625"--> v2
v2 --"p:statement/P625"--> v1