query-841969d3b171b9db9c20a949a519ed3b
Trilotat
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?occupationLabel ?statements ?sitelinks
WHERE
{
?item wdt:P31 wd:Q5 .
?item wdt:P21 wd:Q6581072 .
?item wikibase:statements ?statements .
FILTER (?statements > 160)
?item wikibase:sitelinks ?sitelinks .
MINUS
{
?article schema:about ?item .
?article schema:isPartOf <https://en.wikipedia.org/> .
}
OPTIONAL { ?item wdt:P106 ?occupation . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?statements)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article")
v2("?item"):::projected
v5("?occupation")
v3("?sitelinks"):::projected
v1("?statements"):::projected
c5(["wd:Q6581072"]):::iri
c10([https://en.wikipedia.org/]):::iri
c13(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?statements > '160^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P21"--> c5
v2 --"wikibase:statements"--> v1
v2 --"wikibase:sitelinks"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c10
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P106".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end