Demo VisualData 1.0 / Query cities

Query cities: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
Line 51: Line 51:


^^
^^
{{#visualdataquery: [[city::+]][[population::> 3000000]]
|schema=City
|?country
|?city
|?population
|template?country=Link to country
|template?city=Link to city
|pagetitle=false
|order=population desc
|format=table
|limit=100
}}





Revision as of 21:54, 9 September 2024

form is loading...

All cities:

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


[[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
LondonUnited KingdomLondon8982000
New YorkUnited StatesNew York8468000
Prague Prague4000000
MadridSpainMadrid3223000
AthensGreeceAthens3155000


See also


support & questions: support at topway.it

Download the latest version!