query-1409b1cc73a50c6b2519f827101b40c4
description sparqlBonjour J'aimerai recuperer la description en francais ou en anglais d'un property en SparQL quelqu'un sait-il faire ? actuellement j'utilise :
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX q: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
?h wdt:P31 wd:Q5 .
OPTIONAL {
?h wdt:P509 ?cause .
}
?h wdt:P570 ?deces .
FILTER (?deces >= "2015-10-28T00:00:00Z"^^xsd:dateTime && ?deces <= "2099-01-01T00:00:00Z"^^xsd:dateTime )
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?cause"):::projected
v1("?deces"):::projected
v2("?h"):::projected
c8(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c10(["fr,en"]):::literal
f0[["?deces >= '2015-10-28T00:00:00Z^^xsd:dateTime'?deces <= '2099-01-01T00:00:00Z^^xsd:dateTime'"]]
f0 --> v1
v2 --"p:direct/P31"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P509".-> v3
end
v2 --"p:direct/P570"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end