query-000e869bcb7309999649c40ee3848a55
Propertieshas edition or translation (P747)language of work or name (P407)title (P1476)translator (P655)
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?work ?originalTitle ?originalLanguageLabel ?translation ?translationTitle ?translationLanguageLabel ?translator ?translatorLabel
WHERE {
VALUES ?work {
wd:Q180736
}
?work wdt:P747 ?translation ;
wdt:P407 ?originalLanguage ;
wdt:P1476 ?originalTitle .
?translation wdt:P407 ?translationLanguage ;
wdt:P1476 ?translationTitle .
OPTIONAL {
?translation wdt:P655 ?translator .
}
FILTER(?originalLanguage != ?translationLanguage)
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;
v1("?originalLanguage")
v5("?originalTitle"):::projected
v4("?translation"):::projected
v2("?translationLanguage")
v6("?translationTitle"):::projected
v7("?translator"):::projected
v3("?work"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?originalLanguage != ?translationLanguage"]]
f0 --> v1
f0 --> v2
bind1[/VALUES ?work/]
bind1-->v3
bind10(["wd:Q180736"])
bind10 --> bind1
v3 --"wdt:P747"--> v4
v3 --"wdt:P407"--> v1
v3 --"wdt:P1476"--> v5
v4 --"wdt:P407"--> v2
v4 --"wdt:P1476"--> v6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P655".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end