query-dbf182c6ff819ca3b9d41f3afe815646
TODO
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 (count(distinct ?wikipedia) as ?count)
WHERE
{
?item wikibase:sitelinks ?sitelinks . # There are linked to ...
FILTER (?sitelinks >= 20) # ... 20 or more wikis (Wikipedias or other)
?item wdt:P106/wdt:P279* wd:Q169470. # they're some sort of physicist
?article schema:about ?item ; # they have a sitelink
schema:isPartOf ?wikipedia . # which is part of ...
?wikipedia wikibase:wikiGroup "wikipedia" # ... one or other wikipedia
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?item ?itemLabel having (?count >19)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article")
v6("?count")
v3("?item"):::projected
v2("?sitelinks")
v5("?wikipedia"):::projected
a1((" "))
c6(["wd:Q169470"]):::iri
c12(["bd:serviceParam"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c10(["wikipedia"]):::literal
f0[["?count > '19^^xsd:integer'"]]
f0 --> v6
f1[["?sitelinks >= '20^^xsd:integer'"]]
f1 --> v2
v3 --"wikibase:sitelinks"--> v2
v3 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c6
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> v5
v5 --"wikibase:wikiGroup"--> c10
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end
bind3[/"count(?wikipedia)"/]
v5 --o bind3
bind3 --as--o v6