query-e8e558c5fc4916605564e8ef55246538

rq turtle/ttl

Query for historical eventsHi, I am trying to write a query which would show the most significant historical events and display country, date, coordinates, significant people. I would like to limit it to a couple of thousand lines, however I am having trouble with defining historical event. So far a have a query which shows an event, country, date. I tried "point in time: 5th century" or "instance of: history of the world", but they don't filter my query. Could someone please help me in defining the historical events?

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?label ?coord ?subj ?country ?countryLabel ?point_in_time WHERE {
  ?subj wdt:P31 wd:Q1190554.
  ?subj wdt:P625 ?coord.
  ?subj wdt:P17 ?country.
  OPTIONAL { ?subj wdt:P580 ?d1. }
  OPTIONAL { ?subj wdt:P585 ?d2. }
  OPTIONAL { ?subj wdt:P582 ?d3. }
  ?subj rdfs:label ?label.
  OPTIONAL { ?subj wdt:P17 ?country. }
  OPTIONAL { ?subj wdt:P585 ?point_in_time. }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  FILTER((LANG(?label)) = "en")
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?coord"):::projected v4("?country"):::projected v5("?d1") v6("?d2") v7("?d3") v1("?label"):::projected v8("?point_in_time"):::projected v2("?subj"):::projected c11(["bd:serviceParam"]):::iri c1(["en"]):::literal c3(["wd:Q1190554"]):::iri f0[["?label = 'en'"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P625"--> v3 v2 --"wdt:P17"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P580".-> v5 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P585".-> v6 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P582".-> v7 end v2 --"rdfs:label"--> v1 subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P17".-> v4 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P585".-> v8 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c1 end