My first external query

From Semantic MediaWiki - Sandbox

Configuration
$smwgQuerySources = [
	'semantic-mw' => [
		'SMWExternalAskQueryLookup'
		]
	];
$seqlgExternalRepositoryEndpoints = [
	'semantic-mw' => [
		'https://www.semantic-mediawiki.org/w/index.php/$1',
		'https://www.semantic-mediawiki.org/w/api.php',
		true
		]
	];
Syntax
{{#ask:
 [[Category:City]]
 [[Population::+]]
 |?=Name
 |?Population
 |?Area
 |?Average rainy days
 |source=semantic-mw
 |mainlabel=-
 |limit=10
}}
Result
NamePopulationAreaAverage rainy days
Cherkasy269,83669
Karlsruhe294,761124
See also
Cookies help us deliver our services. By using our services, you agree to our use of cookies.