Main Page: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
{{SNARCStats|head=SNARC Stats:|head-bg=red |main-bg=#eee |align=right}}
{{SNARCStats|head=SNARC Stats:|head-bg=red |main-bg=#eee |align=right}}


NLW Wikibase....aim to produce UI like [https://enslaved.org/ this]




{{Graph:Chart | item = [[:d:Q2481549|pro forma]] | xaxistitle = month | yaxistitle = passengers (thousands) | x = 1,2,3,4,5,6,7,8,9,10,11,12 | y1= 6463,6360,7411,6664,6945,6790,7150,8089,7041,7482,7432,7068 | y2= 6726,6489,7818,6564,6968,7089,7175,7994,7294,7090,7247,6871 | y3= 6568,5678,2748 | y1title=2018 | y2title=2019 | y3title=2020 | type = line | width = 600 | heigth = 200 | legend = passengers per month | showvalues = fontsize:10,offset:5,angle:90 }}
{| width=100%
| width=50% |
{{Graph:Pie chart
| height=50
| title= Type of place
| valueColumn=count
| labelColumn=instanceLabel
| query=
SELECT ?instance ?instanceLabel ?count { {
    SELECT ?instance (COUNT(DISTINCT ?item) as ?count) {
          {?item wdt:P131 wd:Q25 . }
  UNION { ?item wdt:P131 ?pob . ?pob wdt:P131* wd:Q25 }
          ?item  wdt:P31 ?instance.}
    GROUP BY ?instance
    HAVING (?count > 100)}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }
ORDER BY DESC(?count)
LIMIT 15
OFFSET 0
}}