query-f744a162643a6eef50698c7c5a568b21
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item (COUNT(?sitelink) AS ?sitelinks) WHERE {
?item wdt:P27 wd:Q664 .
MINUS { ?item wdt:P18 [] }
?sitelink schema:about ?item .
} GROUP BY ?item HAVING(?sitelinks >= 15) ORDER BY DESC(?sitelinks)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?sitelink"):::projected
v4("?sitelinks")
a1((" "))
c3(["wd:Q664"]):::iri
f0[["?sitelinks >= '15^^xsd:integer'"]]
f0 --> v4
v2 --"wdt:P27"--> c3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P18"--> a1
end
v3 --"schema:about"--> v2
bind3[/"count(?sitelink)"/]
v3 --o bind3
bind3 --as--o v4