query-6744ba310e10b8b043a8a13cba1018df
Also show applicant institution!
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 ?p ?pLabel ?pAltLabel ?pDescription ?speaker ?speakerLabel ?applicant ?applicantLabel ?inception
WHERE
{
?p wdt:P31 wd:Q98270496 .
?p p:P1416 ?statement .
?statement ps:P1416 ?applicant .
?statement pq:P3831 wd:Q54875338 .
OPTIONAL { ?p wdt:P571 ?inception }
OPTIONAL { ?p wdt:P488 ?speaker }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?inception) ASC(?pLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?applicant"):::projected
v1("?inception"):::projected
v3("?p"):::projected
v2("?pLabel"):::projected
v6("?speaker"):::projected
v4("?statement")
c6(["wd:Q54875338"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["de,en"]):::literal
c2(["wd:Q98270496"]):::iri
v3 --"p:direct/P31"--> c2
v3 --"p:P1416"--> v4
v4 --"p:statement/P1416"--> v5
v4 --"p:qualifier/P3831"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:direct/P571".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:direct/P488".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end