query-dec5f6687f54b685c213b32615bc7a58

rq turtle/ttl

TODO

Use at

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 ?sitelink_de ?sitelink_en ?ATP_Kennung where {
  ?item wdt:P536 ?ATP_Kennung. 
  optional {?sitelink_en ^schema:name ?article_en .
            ?article_en schema:about ?item ;
                     schema:isPartOf <https://en.wikipedia.org/> .}
  optional {?sitelink_de ^schema:name ?article_de .
            ?article_de schema:about ?item ;
                     schema:isPartOf <https://de.wikipedia.org/> .}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?ATP_Kennung"):::projected v5("?article_de") v3("?article_en") v1("?item"):::projected v6("?sitelink_de"):::projected v4("?sitelink_en"):::projected c6([https://de.wikipedia.org/]):::iri c5([https://en.wikipedia.org/]):::iri c8(["bd:serviceParam"]):::iri c10(["de,en,#91;AUTO_LANGUAGE#93;"]):::literal v1 --"wdt:P536"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."schema:name".-> v4 v3 --"schema:about"--> v1 v3 --"schema:isPartOf"--> c5 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v5 -."schema:name".-> v6 v5 --"schema:about"--> v1 v5 --"schema:isPartOf"--> c6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end