query: # Horizontal axis: dates when Wikidata reached some milestone in item numbers
  # Vertical axis: number of items for publications about the Zika virus
  # adapted from https://www.wikidata.org/w/index.php?oldid=957875282#Query_for_approximate_creation_dates_of_a_series_of_items
  
  #defaultView:AreaChart
  SELECT ?date ?cumulativecount 
  {
      hint:Query hint:optimizer "None".
      {   SELECT ?milestonep (COUNT(?item) as ?cumulativecount)
          WHERE
          {
            { SELECT ?item { ?item wdt:P921 wd:Q202864 .}  LIMIT 100000 }
            BIND( xsd:integer( substr(str(?item), 33)) as ?qid)
            wd:Q38074555 p:P1114 ?milestonep .
            ?milestonep ps:P1114 ?milestone .
            FILTER( ?milestone > ?qid ) 
          }
          GROUP BY ?milestonep
      }          
      ?milestonep pq:P585 ?date
  }