query-67bbd9ca20784fcef842afb90c44e95f
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 ?sitelink_no ?sitelink_sv ?sitelink_da ?sitelink_nn WHERE
{
?item wdt:P5008 wd:Q15305047.
OPTIONAL { ?article_no schema:about ?item ;
schema:isPartOf <https://no.wikipedia.org/> ;
schema:name ?sitelink_no .}
OPTIONAL { ?article_sv schema:about ?item ;
schema:isPartOf <https://sv.wikipedia.org/> ;
schema:name ?sitelink_sv . }
OPTIONAL { ?article_da schema:about ?item ;
schema:isPartOf <https://da.wikipedia.org/> ;
schema:name ?sitelink_da . }
OPTIONAL { ?article_nn schema:about ?item ;
schema:isPartOf <https://nn.wikipedia.org/> ;
schema:name ?sitelink_nn . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?article_da")
v8("?article_nn")
v2("?article_no")
v4("?article_sv")
v1("?item"):::projected
v7("?sitelink_da"):::projected
v9("?sitelink_nn"):::projected
v3("?sitelink_no"):::projected
v5("?sitelink_sv"):::projected
c9([https://nn.wikipedia.org/]):::iri
c13(["en"]):::literal
c2(["wd:Q15305047"]):::iri
c11(["bd:serviceParam"]):::iri
c5([https://no.wikipedia.org/]):::iri
c8([https://da.wikipedia.org/]):::iri
c7([https://sv.wikipedia.org/]):::iri
v1 --"wdt:P5008"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."schema:about".-> v1
v2 --"schema:isPartOf"--> c5
v2 --"schema:name"--> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v4 -."schema:about".-> v1
v4 --"schema:isPartOf"--> c7
v4 --"schema:name"--> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v6 -."schema:about".-> v1
v6 --"schema:isPartOf"--> c8
v6 --"schema:name"--> v7
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v8 -."schema:about".-> v1
v8 --"schema:isPartOf"--> c9
v8 --"schema:name"--> v9
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end