query-853748a9802fbb9c726bf23c041453be

rq turtle/ttl

TODO

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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?label ?coord ?place ?argitaratze_data WHERE {
  VALUES ?type {
    wd:Q732577 wd:Q1261026
  }
  ?item wdt:P31/wdt:P279* ?type;
    wdt:P577 ?argitaratze_data.
  FILTER((?argitaratze_data >= "1700-01-01"^^xsd:dat) && (?argitaratze_data <= "1799-12-31"^^xsd:dat))
  VALUES ?place {wd:Q8692 wd:Q10313 wd:Q497801 wd:Q14318 wd:Q10282 wd:Q134674}  
  ?item wdt:P291 ?place.
  ?place wdt:P625 ?coord.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,eu". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?argitaratze_data"):::projected v5("?coord"):::projected v3("?item"):::projected v4("?place"):::projected v2("?type") a1((" ")) c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en,eu"]):::literal f0[["?argitaratze_data >= s1700-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'?argitaratze_data <= s1799-12-31^^<http://www.w3.org/2001/XMLSchema#dat>'"]] f0 --> v1 bind1[/VALUES ?type/] bind1-->v2 bind10(["wd:Q732577"]) bind10 --> bind1 bind11(["wd:Q1261026"]) bind11 --> bind1 v3 --"wdt:P31"--> a1 a1 --"wdt:P279"--> v2 v3 --"wdt:P577"--> v1 bind2[/VALUES ?place/] bind2-->v4 bind20(["wd:Q8692"]) bind20 --> bind2 bind21(["wd:Q10313"]) bind21 --> bind2 bind22(["wd:Q497801"]) bind22 --> bind2 bind23(["wd:Q14318"]) bind23 --> bind2 bind24(["wd:Q10282"]) bind24 --> bind2 bind25(["wd:Q134674"]) bind25 --> bind2 v3 --"wdt:P291"--> v4 v4 --"wdt:P625"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end