query-2c55fba15a918761782890fa68af1e3c
How much more does WIki knows compared to my local wikipediaI have connected P3217 and would like to get an understanding how much more information is available outside the Swedish wiki in wikipedia and wikidata.. Query I would like to see Number of articles in different languages for P3217 were we miss a Swedish sv Wikipedia article Number of articles in different languages for P3217 06:12, 27 November 2017 (UTC)) talk (Salgo60-
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?P3217value ?sitelinks WHERE {
?item p:P3217 [ ps:P3217 ?P3217value ]; wikibase:sitelinks ?sitelinks .
MINUS { [] schema:about ?item; schema:isPartOf <https://sv.wikipedia.org/> }
SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
} ORDER BY DESC(?sitelinks)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?P3217value"):::projected
v3("?item"):::projected
v1("?sitelinks"):::projected
a2((" "))
a1((" "))
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
c6([https://sv.wikipedia.org/]):::iri
a1 --"p:statement/P3217"--> v2
v3 --"p:P3217"--> a1
v3 --"wikibase:sitelinks"--> v1
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
a2 --"schema:about"--> v3
a2 --"schema:isPartOf"--> c6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end