query-6e1ca4c6832a82b59d67c83bf1b73494
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?en_article ?de_article
WHERE
{
?item wdt:P597 ?value.
filter(?value="321846")
?en_article ^schema:name ?sitelink_en . ?sitelink_en schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> .
?de_article ^schema:name ?sitelink_de . ?sitelink_de schema:about ?item ; schema:isPartOf <https://de.wikipedia.org/> .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?de_article"):::projected
v4("?en_article"):::projected
v2("?item"):::projected
v5("?sitelink_de")
v3("?sitelink_en")
v1("?value")
c7([https://de.wikipedia.org/]):::iri
c6([https://en.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?value = '321846'"]]
f0 --> v1
v2 --"wdt:P597"--> v1
v3 --"schema:name"--> v4
v3 --"schema:about"--> v2
v3 --"schema:isPartOf"--> c6
v5 --"schema:name"--> v6
v5 --"schema:about"--> v2
v5 --"schema:isPartOf"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end