Jump to content

Extension:Graph/Demo/Sparql

From Wikipedia, the free encyclopedia

<languages/> <translate>

Number of museums per country

[edit]

This graph pulls data from three wikidata queries </translate>

  1. <translate> Number of museums by country</translate>
  2. <translate> Country names</translate> - <translate> note that labels are localized using a list "ru,en", meaning first it will try to find a label in Russian, followed by English if Russian is not available.</translate>
  3. <translate> Country populations</translate>

<translate> This graph draws a map based on topojson map data, keyed by Wikidata ID.</translate> <translate> For each region, it looks up the number of museums, population, and region name from the 3 above queries.</translate> <translate> The color is determined by logarithmicly scaling museums/population.</translate> <translate> On mouseover, the country's name and museum count is shown. </translate>

<translate> code</translate>

<translate>

Largest cities

[edit]

Uses <tvar|sparql>sparql</> query with cityLabel, population, and gps columns. </translate>

<translate> code</translate> Extension:Graph/Demo/Sparql/Largest cities

<translate>

Largest disasters

[edit]

Uses <tvar|sparql>sparql</> query with event, class, number of people affected, and the gps coordinates columns. </translate>

<translate> code</translate>