query-249b63ce9a9d206abb0e93c9457427a8

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?P642 ?P642Label WHERE {
  ?item p:P39 ?statement . 
  ?statement ps:P39 wd:Q124665046 .
  OPTIONAL {?statement pq:P642 ?P642 . }  
  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; v3("?P642"):::projected v1("?item"):::projected v2("?statement") c6(["bd:serviceParam"]):::iri c3(["wd:Q124665046"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:P39"--> v2 v2 --"p:statement/P39"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:qualifier/P642".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end