query-3713ce5d6b8efbf704e863514872d8e4

rq turtle/ttl

Propertiesedition or translation of (P629)language of work or name (P407)instance of (P31)translator (P655)

Use at

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 ?translation ?translationLabel ?translationLanguageLabel ?translatorLabel ?sourceLabel ?sourceLanguageLabel
WHERE {
  {
    ?translation wdt:P629 ?source;
          wdt:P407 ?translationLanguage.
    ?source wdt:P407 ?sourceLanguage ;
            wdt:P31 wd:Q571 .
    OPTIONAL {?translation wdt:P655 ?translator}
    FILTER(?translationLanguage != ?sourceLanguage)

  }
  FILTER(?source != wd:Q428 && ?source != wd:Q1845)
#  UNION 
#  {?item wdt:P31 wd:Q7553 .}

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de,fr". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?source") v3("?sourceLanguage") v4("?translation"):::projected v2("?translationLanguage") v5("?translator") c11(["#91;AUTO_LANGUAGE#93;,en,de,fr"]):::literal c9(["bd:serviceParam"]):::iri c6(["wd:Q571"]):::iri f0[["?source != 'wd:Q428'?source != 'wd:Q1845'"]] f0 --> v1 f1[["?translationLanguage != ?sourceLanguage"]] f1 --> v2 f1 --> v3 v4 --"wdt:P629"--> v1 v4 --"wdt:P407"--> v2 v1 --"wdt:P407"--> v3 v1 --"wdt:P31"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P655".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end