query-1a4abd42e17b43577e3a0dfc03656b2f
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?iteme ?itemeLabel ?condamnationpourLabel ?condamnationLabel ?mort
WHERE {
?iteme wdt:P31 wd:Q5.
?iteme wdt:P21 wd:Q6581072.
# condamnée pour "sorcery" ou sous-classe
?iteme wdt:P1399/wdt:P279* wd:Q9198102.
?iteme wdt:P1399 ?condamnationpour.
OPTIONAL { ?iteme wdt:P1596 ?condamnation . }
OPTIONAL { ?iteme wdt:P570 ?mort . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE], fr, en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?condamnation")
v2("?condamnationpour")
v1("?iteme"):::projected
v4("?mort"):::projected
a1((" "))
c7(["wd:Q9198102"]):::iri
c4(["wd:Q6581072"]):::iri
c11(["bd:serviceParam"]):::iri
c13(["#91;AUTO_LANGUAGE#93;, fr, en"]):::literal
c2(["wd:Q5"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P21"--> c4
v1 --"wdt:P1399"--> a1
a1 --"wdt:P279"--> c7
v1 --"wdt:P1399"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1596".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P570".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end