My second external query
De Semantic MediaWiki - Sandbox
- Configuration
$smwgQuerySources = [
'semanticmediawikiorg' => [
'\SMW\Query\RemoteRequest',
'url' => 'https://www.semantic-mediawiki.org/w/index.php',
'cache' => 3600
]
];
- Syntax
{{#ask:
[[Category:City]]
[[Population::+]]
|?=Name
|?Population
|?Area
|?Average rainy days
|?Creation date
|source=semanticmediawikiorg
|mainlabel=-
|limit=10
}}
- Result
The result is fetched from the semanticmediawikiorg remote source and it is likely for generated content to contain information that is not available from within the current wiki.
| Name | Population | Area | Average rainy days | Creation date |
|---|---|---|---|---|
| Amsterdam | 783,364 | 234 | ||
| Berlin | 3,520,061 | 106.3 | ||
| Cologne | 1,080,394 | 405.02 km² | 132.5 | |
| Frankfurt | 679,664 | 248.31 km² | 108.9 | |
| Karlsruhe | 294,761 | 173.46 km² | 124 | |
| London | 7,825,200 | 145 | ||
| Munich | 1,353,186 | 310.43 km² | 129.4 | |
| New York City | 8,175,000 | |||
| Paris | 2,234,105 | 111.5 | ||
| Porto | 237.584 | 140 |
- See also