Demo VisualData 1.0 / Query cities

Query cities: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 31: Line 31:
|?population
|?population
|format=table
|format=table
|order=population asc
|limit=100
|limit=100
}}
}}
Line 57: Line 58:
|template?city=Link to city
|template?city=Link to city
|pagetitle=false
|pagetitle=false
|order=population asc
|format=table
|format=table
|limit=100
|limit=100
}}
}}

Revision as of 18:54, 5 February 2024

form is loading...

All citiies:

page titlecitycountrypopulation
RegensburgRegensburgGermany150000
ShifangshifangChina420000
RomeRomeItaly2873000
AthensAthensGreece3155000
MadridMadridSpain3223000
PraguePragueCzech Republic4000000
New YorkNew YorkUnited States8468000
LondonLondonUnited Kingdom8982000


[[city::+]][[population::> 3000000]]


The following table uses (in the first column) the printout template Template:Link to country to perform a join with the "Country article" schema.

The column "city" is the actual subject of the query, whose link is still retrieved using a template, but without an additional query.

falsecountrycitypopulation
AthensGreeceAthens3155000
MadridSpainMadrid3223000
Prague Prague4000000
New YorkUnited StatesNew York8468000
LondonUnited KingdomLondon8982000