query-a650061a8be7dd646532b6972e39f995
Propertiesinstance of (P31)has cause (P828)part of (P361)applies to jurisdiction (P1001)start time (P580)end time (P582)
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?lockdown ?lockdownLabel ?jurisdictionLabel ?countryLabel ?started ?ended WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?lockdown wdt:P31 wd:Q6665312.
?lockdown wdt:P828 ?cause.
?cause wdt:P361+ wd:Q83741704.
?lockdown wdt:P1001 ?jurisdiction.
?lockdown wdt:P580 ?started.
OPTIONAL { ?lockdown wdt:P582 ?ended }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?cause")
v5("?ended"):::projected
v3("?jurisdiction")
v1("?lockdown"):::projected
v4("?started"):::projected
c2(["bd:serviceParam"]):::iri
c9(["wd:Q83741704"]):::iri
c6(["wd:Q6665312"]):::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
v1 --"wdt:P31"--> c6
v1 --"wdt:P828"--> v2
v2 --"wdt:P361"--> c9
v1 --"wdt:P1001"--> v3
v1 --"wdt:P580"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P582".-> v5
end