Talk:Q55003547

From Wikidata
Jump to navigation Jump to search

Autodescription — LID milestone (Q55003547)

description: milestone related to number of lexemes in Wikidata
Useful links:
See also


Source[edit]

Dates are from Wikidata:News or edit history of lexeme.

Queries[edit]

Milestone chart over time[edit]

#defaultView:LineChart
# by Jura1, 2018-07-15
SELECT ?date ?lid (URI(CONCAT("https://www.wikidata.org/w/index.php?title=Lexeme:L",str(?lid),"&action=history")) as ?check)
WHERE
{
  wd:Q55003547 p:P1114 [ ps:P1114 ?lid ; pq:P585 ?date ]
}
ORDER BY ?lid

Try it!

Lexemes in Latin by creation date[edit]

PREFIX llang:   <http://purl.org/dc/terms/language>
# by Jura1, 2020-03-28
# Number of lexemes in Latin created at a given milestone
#defaultView:AreaChart
SELECT ?date ?cumulativecount 
{
    hint:Query hint:optimizer "None".
    {   SELECT ?milestonep (COUNT(?lexeme) as ?cumulativecount)
        WHERE
        {
          { SELECT DISTINCT ?lexeme { ?lexeme llang: wd:Q397 }  LIMIT 190000 }
          BIND( xsd:integer( substr(str(?lexeme), 33)) as ?lid)
          wd:Q55003547 p:P1114 ?milestonep .
          ?milestonep ps:P1114 ?milestone .
          FILTER( ?milestone > ?lid ) 
        }
        GROUP BY ?milestonep
    }          
    ?milestonep pq:P585 ?date
}

Try it!

See also[edit]

Discussion[edit]

Too fast creation[edit]

As there is no time precision finer than day, multiple values per 1 date are ruining visualisation, so I deleted them. --Infovarius (talk) 15:12, 22 November 2019 (UTC)[reply]

Ok for me even if it would be mainly for defaultView:LineChart . I don't have a better solution for now.--- Jura 15:26, 22 November 2019 (UTC)[reply]