query-cbf6b74327cd8282ff6dc96f857bccef
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 ?Canada ?CanadaLabel ?Library_of_Parliament_of_Canada_person_ID ?sitelink ?article WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
?Canada wdt:P27 wd:Q16 .
?Canada wdt:P106 wd:Q82955 .
?sitelink ^schema:name ?article .
?article schema:about ?Canada ;
schema:isPartOf <https://no.wikipedia.org/> .
OPTIONAL { ?Canada wdt:P6616 ?Library_of_Parliament_of_Canada_person_ID . }
}
LIMIT 100000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?Canada"):::projected
v4("?Library_of_Parliament_of_Canada_person_ID"):::projected
v2("?article"):::projected
v3("?sitelink"):::projected
c8(["wd:Q82955"]):::iri
c6(["wd:Q16"]):::iri
c2(["bd:serviceParam"]):::iri
c12([https://no.wikipedia.org/]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P27"--> c6
v1 --"wdt:P106"--> c8
v2 --"schema:name"--> v3
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c12
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P6616".-> v4
end