query-177d39c9a30a56c479df0e5aa8339ba9

rq turtle/ttl

updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception updated 2020-12-06 SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor WHERE { VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 } ?h p:P31/ps:P31 ?countryclass . ?h wdt:P571 ?inception . OPTIONAL { ?h wdt:P576 ?dissolved } . FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime) FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } OPTIONAL { ?h wdt:P625 ?coor } . } ORDER BY ?inception

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#updated 2020-12-06
SELECT DISTINCT ?h ?hLabel ?inception ?dissolved ?coor
WHERE
{
  VALUES ?countryclass { wd:Q3024240 wd:Q6256 wd:Q3624078 }
  ?h p:P31/ps:P31 ?countryclass .
  ?h wdt:P571 ?inception .
  OPTIONAL { ?h wdt:P576 ?dissolved } .
  FILTER (?inception < "1755-01-01T00:00:00Z"^^xsd:dateTime)
  FILTER (?dissolved >= "1755-01-01T00:00:00Z"^^xsd:dateTime || !Bound(?dissolved) )
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" }
  OPTIONAL { ?h wdt:P625 ?coor } .
}
ORDER BY ?inception

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?coor"):::projected v3("?countryclass") v2("?dissolved"):::projected v4("?h"):::projected v1("?inception"):::projected a1((" ")) c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal f0[["(?dissolved >= '1755-01-01T00:00:00Z^^xsd:dateTime' || not bound(?dissolved))"]] f0 --> v2 f1[["?inception < '1755-01-01T00:00:00Z^^xsd:dateTime'"]] f1 --> v1 bind2[/VALUES ?countryclass/] bind2-->v3 bind20(["wd:Q3024240"]) bind20 --> bind2 bind21(["wd:Q6256"]) bind21 --> bind2 bind22(["wd:Q3624078"]) bind22 --> bind2 v4 --"p:P31"--> a1 a1 --"p:statement/P31"--> v3 v4 --"p:direct/P571"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P576".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P625".-> v5 end