query-c4828662681cc13b28bd422083224994
TODO
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 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 ?architect ?architectLabel ?archives_at ?named_as ?archives_atLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?architect wdt:P106 wd:Q42973;
wdt:P485 wd:Q6801297.
OPTIONAL { ?architect wdt:P485 wd:Q6801308. }
OPTIONAL { ?architect wdt:P485 wd:Q201492. }
OPTIONAL { ?architect p:P485 ?stat. ?stat ps:P485 ?archives_at.
optional {?stat pq:P1810 ?named_as . } }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?architect"):::projected
v3("?archives_at"):::projected
v4("?named_as"):::projected
v2("?stat")
c10(["wd:Q201492"]):::iri
c6(["wd:Q42973"]):::iri
c8(["wd:Q6801297"]):::iri
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c9(["wd:Q6801308"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"p:direct/P106"--> c6
v1 --"p:direct/P485"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P485".-> c9
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P485".-> c10
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:P485".-> v2
v2 --"p:statement/P485"--> v3
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:qualifier/P1810".-> v4
end
end