query-cadf1d0f3900ec2233f9f7058c943f02

rq turtle/ttl

Propertiesauthor (P50)object named as (P1932)subject named as (P1810)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
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 ?angegebenAls ?genanntAls WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P50 wd:Q1732676.
  OPTIONAL { ?item p:P50 [ pq:P1932 ?angegebenAls ] . }
  OPTIONAL { ?item p:P50 [ pq:P1810 ?genanntAls ] . }
}
ORDER BY ?angegebenAls ?genanntAls

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?angegebenAls"):::projected v2("?genanntAls"):::projected v3("?item"):::projected a1((" ")) a2((" ")) c6(["wd:Q1732676"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v3 --"p:direct/P50"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; a1 -."p:qualifier/P1932".-> v1 v3 --"p:P50"--> a1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; a2 -."p:qualifier/P1810".-> v2 v3 --"p:P50"--> a2 end