Difference between revisions of "Countries"

From Biowikifarm Metawiki
Jump to: navigation, search
 
Line 4: Line 4:
 
The following table has been automatically generated by SemanticMW. You can sort the countries in different ways by clicking on the small boxes at the beginning of the column headers. E.g. clicking on the box in front of "height" will sort the countries by the height of their highest mountain in ascending order, clicking on height again will revers this to a descending order:
 
The following table has been automatically generated by SemanticMW. You can sort the countries in different ways by clicking on the small boxes at the beginning of the column headers. E.g. clicking on the box in front of "height" will sort the countries by the height of their highest mountain in ascending order, clicking on height again will revers this to a descending order:
  
{{#ask: [[Category:Countries| country]]  
+
{{#ask: [[Category:Countries]]  
 
| ?Capital# = capital
 
| ?Capital# = capital
 
| ?Area# = land area (1000 km²)
 
| ?Area# = land area (1000 km²)

Latest revision as of 09:30, 23 February 2012

This page has been created to demonstrate the SemanticMW extension. It uses the data on some European countries entered under the Category:Countries. For more information on these countries see the respective Wikipedia pages:

Displaying data in a sortable wiki table

The following table has been automatically generated by SemanticMW. You can sort the countries in different ways by clicking on the small boxes at the beginning of the column headers. E.g. clicking on the box in front of "height" will sort the countries by the height of their highest mountain in ascending order, clicking on height again will revers this to a descending order:

 capitalland area (1000 km²)population (millions)highest mountainheight (m above SL)
AustriaVienna83.98.3Großglockner3797
BulgariaSofia1118.5Musala2925
CyprusNicosia9.30.8Mount Olympus1952
DenmarkCopenhagen43.15.5Møllehøj179
FranceParis54465.4Mont Blanc4808
GermanyBerlin35781.8Zugspitze2962
GreeceAthens13211.3Olympus2919
IrelandDublin70.34.5Carrauntoohil1038
ItalyRome30160.2Mont Blanc4808
LuxembourgLuxembourg2.60.5Kneiff560
PolandWarsaw31338.1Rysy2499
SwitzerlandBern41.37.8Monte Rosa4634
United KingdomLondon24362Ben Nevis1343

Displaying data as a Google chart

The following chart uses the googlebar format which sends the data to Google to produce the chart.


Graphic comparison of the land areas from the above table:
Sort the table by land areas to obtain the same order and see the corresponding figures.

Additional features of the Semantic Result Formats extensions

In the following lines the bold figures are produced from the data entered under the Category:Countries, and will be automatically updated if these data change.

  • The total population of the countries listed in the above table is: 354.7 millions.
  • The average land area of the countries listed in the above table is: 173.19230769231 km².

See the page Journals for a demonstration of the 'outline' format of the Semantic Result Formats extensions.