query-f7cd67bc94b44f53b61b326f165e04d4

rq turtle/ttl

and

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#defaultView:BarChart
SELECT ?year (count(?item) as ?cnt)  WHERE{
  ?item wdt:P31/wdt:P279* wd:Q2088357 .
  ?item wdt:P571 ?publicationdate .
  BIND(str(year(?publicationdate)) as ?year)
  FILTER(bound(?year))
} GROUP BY ?year ORDER BY ?year

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?cnt") v2("?item"):::projected v3("?publicationdate") v4("?year"):::projected a1((" ")) c3(["wd:Q2088357"]):::iri f0[["bound(?year)"]] f0 --> v4 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P571"--> v3 bind1[/"str(year-from-dateTime(?publicationdate))"/] v3 --o bind1 bind1 --as--o v4 bind3[/"count(?item)"/] v2 --o bind3 bind3 --as--o v4