query-40d62ecc32c30464a341b4832a6302c3
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?enwiki WHERE
{
?item wdt:P31 wd:Q5 .
minus {?item wdt:P21 [] . }
?item wikibase:statements "7"^^xsd:integer .
?article schema:about ?item ;
schema:isPartOf <https://en.wikipedia.org/> .
?sitelink ^schema:name ?article .
bind(concat("[[",?sitelink,"]]") as ?enwiki)
} limit 500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v4("?enwiki"):::projected
v1("?item"):::projected
v3("?sitelink")
a1((" "))
c8([https://en.wikipedia.org/]):::iri
c5(["7^^xsd:integer"]):::literal
c2(["wd:Q5"]):::iri
v1 --"wdt:P31"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P21"--> a1
end
v1 --"wikibase:statements"--> c5
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c8
v2 --"schema:name"--> v3
bind1[/"concat('#91;#91;',?sitelink,'#93;#93;')"/]
v3 --o bind1
bind1 --as--o v4