query-299c90dffe0d03826c0b63d90c18b0e2

rq turtle/ttl

All terror attacks in France

Use at

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 DISTINCT ?subj ?subjLabel ?subjDescription ?date ?blesses ?morts ?paysLabel ?GDT_id WHERE {
  {
    ?subj wdt:P31 wd:Q5710433.
  } UNION {
    ?subj wdt:P31 wd:Q18493502.
  } UNION {
    ?subj wdt:P31 wd:Q1371150.
  } UNION {
    ?subj wdt:P31 wd:Q897797.
  } UNION {
    ?subj wdt:P31 wd:Q25917186.
  } UNION {
    ?subj wdt:P31 wd:Q21480300.
  } UNION {
    ?subj wdt:P31 wd:Q217327.
  } UNION {
    ?subj wdt:P31 wd:Q891854.
  } UNION {
    ?subj wdt:P31 wd:Q750215.
  } UNION {
    ?subj wdt:P31 wd:Q18711682.
  } UNION {
    ?subj wdt:P31 wd:Q384080.
  } UNION {
    ?subj wdt:P31 wd:Q28945444.
  } UNION {
        ?subj wdt:P31 wd:Q81672.
  } UNION {
        ?subj wdt:P31 wd:Q53706.
  }
  ?subj wdt:P17 wd:Q142.
  OPTIONAL { ?subj wdt:P585 ?date. }
  OPTIONAL { ?subj wdt:P17 ?pays. }
  OPTIONAL { ?subj wdt:P1339 ?blesses. }
  OPTIONAL { ?subj wdt:P1120 ?morts. }
  OPTIONAL { ?subj wdt:P4089 ?GDT_id.}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
}
ORDER BY ?date
LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?GDT_id"):::projected v4("?blesses"):::projected v1("?date"):::projected v5("?morts"):::projected v3("?pays") v2("?subj"):::projected c13(["wd:Q28945444"]):::iri c4(["wd:Q1371150"]):::iri c9(["wd:Q891854"]):::iri c2(["wd:Q5710433"]):::iri c25(["fr"]):::literal c6(["wd:Q25917186"]):::iri c3(["wd:Q18493502"]):::iri c11(["wd:Q18711682"]):::iri c23(["bd:serviceParam"]):::iri c14(["wd:Q81672"]):::iri c15(["wd:Q53706"]):::iri c7(["wd:Q21480300"]):::iri c10(["wd:Q750215"]):::iri c12(["wd:Q384080"]):::iri c5(["wd:Q897797"]):::iri c8(["wd:Q217327"]):::iri c17(["wd:Q142"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; subgraph union5[" Union "] subgraph union5l[" "] style union5l fill:#abf,stroke-dasharray: 3 3; subgraph union6[" Union "] subgraph union6l[" "] style union6l fill:#abf,stroke-dasharray: 3 3; subgraph union7[" Union "] subgraph union7l[" "] style union7l fill:#abf,stroke-dasharray: 3 3; subgraph union8[" Union "] subgraph union8l[" "] style union8l fill:#abf,stroke-dasharray: 3 3; subgraph union9[" Union "] subgraph union9l[" "] style union9l fill:#abf,stroke-dasharray: 3 3; subgraph union10[" Union "] subgraph union10l[" "] style union10l fill:#abf,stroke-dasharray: 3 3; subgraph union11[" Union "] subgraph union11l[" "] style union11l fill:#abf,stroke-dasharray: 3 3; subgraph union12[" Union "] subgraph union12l[" "] style union12l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c15 end subgraph union12r[" "] style union12r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c14 end union12r <== or ==> union12l end end subgraph union11r[" "] style union11r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c13 end union11r <== or ==> union11l end end subgraph union10r[" "] style union10r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c12 end union10r <== or ==> union10l end end subgraph union9r[" "] style union9r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c11 end union9r <== or ==> union9l end end subgraph union8r[" "] style union8r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c10 end union8r <== or ==> union8l end end subgraph union7r[" "] style union7r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c9 end union7r <== or ==> union7l end end subgraph union6r[" "] style union6r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c8 end union6r <== or ==> union6l end end subgraph union5r[" "] style union5r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c7 end union5r <== or ==> union5l end end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c6 end union4r <== or ==> union4l end end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c5 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c4 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c3 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c2 end union0r <== or ==> union0l end v2 --"wdt:P17"--> c17 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P585".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P17".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P1339".-> v4 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P1120".-> v5 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P4089".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c23 --"wikibase:language"--> c25 end