query-9908b19634eb0da899843c3dd5f37850

rq turtle/ttl

TODO

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 ?item ?itemLabel (year(?incept) as ?start) WHERE {
  ?item wdt:P31/wdt:P279* wd:Q2977.
  ?item wdt:P17 wd:Q142.        
  ?item wdt:P571 ?incept.
  filter (year(?incept)<1163)
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" . }         
} order by ?incept

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?incept"):::projected v2("?item"):::projected v3("?start") a1((" ")) c4(["wd:Q2977"]):::iri c9(["bd:serviceParam"]):::iri c11(["en"]):::literal c6(["wd:Q142"]):::iri f0[["year-from-dateTime(?incept) < '1163^^xsd:integer'"]] f0 --> v1 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v2 --"wdt:P17"--> c6 v2 --"wdt:P571"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end bind1[/"year-from-dateTime(?incept)"/] v1 --o bind1 bind1 --as--o v3