Difference between revisions of "Countries"
(Created page with 'This page has been created to test and demonstrate the SemanticMW extension. It uses the data on some European countries entered under the Category:Countries. For more infor...') |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This page has been created to | + | 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:<br> |
− | + | __TOC__ | |
+ | == 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: | 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 | + | {{#ask: [[Category:Countries]] |
| ?Capital# = capital | | ?Capital# = capital | ||
| ?Area# = land area (1000 km²) | | ?Area# = land area (1000 km²) | ||
Line 10: | Line 11: | ||
| ?Highest mountain height# = height (m above SL) | | ?Highest mountain height# = height (m above SL) | ||
}} | }} | ||
+ | |||
+ | == 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:'''<br> | ||
+ | Sort the table by land areas to obtain the same order and see the corresponding figures. | ||
+ | {{#ask: [[Category:Countries]] | ||
+ | |?Area | ||
+ | |format=googlebar | ||
+ | |sort=Area | ||
+ | }} | ||
+ | |||
+ | == 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: '''{{#ask: [[Category:Countries]]|?Population#|format=sum}} millions'''. | ||
+ | * The average land area of the countries listed in the above table is: '''{{#ask: [[Category:Countries]]|?Area#|format=average}} km²'''. | ||
+ | |||
+ | See the page '''[[Journals]]''' for a demonstration of the 'outline' format of the Semantic Result Formats extensions. |
Latest revision as of 10: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:
Contents
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:
capital | land area (1000 km²) | population (millions) | highest mountain | height (m above SL) | |
---|---|---|---|---|---|
Austria | Vienna | 83.9 | 8.3 | Großglockner | 3797 |
Bulgaria | Sofia | 111 | 8.5 | Musala | 2925 |
Cyprus | Nicosia | 9.3 | 0.8 | Mount Olympus | 1952 |
Denmark | Copenhagen | 43.1 | 5.5 | Møllehøj | 179 |
France | Paris | 544 | 65.4 | Mont Blanc | 4808 |
Germany | Berlin | 357 | 81.8 | Zugspitze | 2962 |
Greece | Athens | 132 | 11.3 | Olympus | 2919 |
Ireland | Dublin | 70.3 | 4.5 | Carrauntoohil | 1038 |
Italy | Rome | 301 | 60.2 | Mont Blanc | 4808 |
Luxembourg | Luxembourg | 2.6 | 0.5 | Kneiff | 560 |
Poland | Warsaw | 313 | 38.1 | Rysy | 2499 |
Switzerland | Bern | 41.3 | 7.8 | Monte Rosa | 4634 |
United Kingdom | London | 243 | 62 | Ben Nevis | 1343 |
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.