QueryResultFromAnExternalRepository
From Semantic MediaWiki - Sandbox
{{#ask: [[Category:City]] [[Population::+]] |?=Name |?Population |?Area |?Average rainy days |source=smworg |mainlabel=- |limit=10 }}
Results displayed on this page are queried using the external smworg source.
Name | Population | Area | Average rainy days |
---|---|---|---|
Cherkasy | 269,836 | 69 | |
Karlsruhe | 294,761 | 124 |
See also the configuration setting for the smworg source in the respective section.
Math (sum)
{{#ask: [[Category:City]] [[Population::+]] |?Population |mainlabel=- |limit=5 |format=sum |source=smworg }}
Population (total of the first 5): 564,597
#show
{{#show: Porto|?Population|source=smworg}} {{#show: Porto|?Area|source=smworg}}
Porto has a population of that covers a area.
Sort example
{{#ask: [[Category:City]] [[Population::+]] |?=Name |?Population |source=smworg |mainlabel=- |limit=3 |sort=Population |order=asc }}
Name | Population |
---|---|
Cherkasy | 269,836 |
Karlsruhe | 294,761 |
{{#ask: [[Category:City]] [[Population::+]] |?=Name |?Population |source=smworg |mainlabel=- |limit=3 |sort=Population |order=desc }}
Name | Population |
---|---|
Karlsruhe | 294,761 |
Cherkasy | 269,836 |