query-7c4d34bc501f11872415814d6a3d3ebf

rq turtle/ttl

personnes enterrées au Cimetière Saint-Roch SELECT DISTINCT ?item ?itemLabel ?anneeMort ?division ?coord ?imageTombe WHERE { ?item p:P119 ?lieu.
?lieu ps:P119 wd:Q2972477. OPTIONAL {?lieu pq:P625 ?coord. } OPTIONAL {?lieu pq:P965 ?division. }

OPTIONAL {?item wdt:P570 ?dateMort.} BIND(YEAR(?dateMort) AS ?anneeMort).

OPTIONAL {?item wdt:P1442 ?imageTombe. }

SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". } } ORDER BY ?itemLabel

Use at

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#>
#personnes enterrées au Cimetière Saint-Roch
SELECT DISTINCT ?item ?itemLabel ?anneeMort ?division ?coord ?imageTombe  WHERE {
  ?item  p:P119 ?lieu.     
  ?lieu  ps:P119 wd:Q2972477.
  OPTIONAL {?lieu pq:P625 ?coord. }
  OPTIONAL {?lieu pq:P965 ?division. }

  OPTIONAL {?item wdt:P570 ?dateMort.}
  BIND(YEAR(?dateMort) AS ?anneeMort).

  OPTIONAL {?item wdt:P1442 ?imageTombe. }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
} ORDER BY ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?anneeMort"):::projected v4("?coord"):::projected v6("?dateMort") v5("?division"):::projected v8("?imageTombe"):::projected v2("?item"):::projected v1("?itemLabel"):::projected v3("?lieu") c9(["bd:serviceParam"]):::iri c3(["wd:Q2972477"]):::iri c11(["fr"]):::literal v2 --"p:P119"--> v3 v3 --"p:statement/P119"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P625".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P965".-> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P570".-> v6 end bind0[/"year-from-dateTime(?dateMort)"/] v6 --o bind0 bind0 --as--o v7 subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P1442".-> v8 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end