query-883b481e15f08c32753da1220e57afb4
Missing numeric id qualifierdefault query of the property constraint below tends to time-out
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?username
WHERE
{
VALUES ?goodRanks { wikibase:NormalRank wikibase:PreferredRank }
?item p:P2002 ?st .
?st wikibase:rank ?goodRanks.
MINUS { ?st pq:P6552 [] } .
?st ps:P2002 ?username
}
LIMIT 4000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?goodRanks")
v2("?item"):::projected
v3("?st")
v4("?username"):::projected
a1((" "))
bind0[/VALUES ?goodRanks/]
bind0-->v1
bind00(["wikibase:NormalRank"])
bind00 --> bind0
bind01(["wikibase:PreferredRank"])
bind01 --> bind0
v2 --"p:P2002"--> v3
v3 --"wikibase:rank"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"p:qualifier/P6552"--> a1
end
v3 --"p:statement/P2002"--> v4