Jump to content

VisualizationExamples

From tripwiki

What Semantic MediaWiki can show from the data of BariLjubljana2026 beyond tables and lists: maps, charts, a timeline, a calendar, a tag cloud and an explorable table. Every result below is a live query over the same Leg and Loc data as the statistics; the query is shown under its result to copy and adapt. The maps need the Maps extension, the other formats Semantic Result Formats.

Map: all locations, clustered

Maps extension, format leaflet; clusters show where the trip was dense

Loading map...
{{#ask: [[Concept:Loc]] |?Loc latlon |?Loc type |format=leaflet |cluster=on |height=450 |zoom=6 |centre=43.8,14.8 |limit=200}}

Map: where we slept

the same query with a selection: hotels and apartments

Loading map...
{{#ask: [[Concept:Loc]] <q>[[Loc type::hotel]] OR [[Loc type::apartment]]</q> |?Loc latlon |format=leaflet |height=400 |zoom=6 |centre=43.8,14.8 |limit=200}}

Chart: legs by transport

Semantic Result Formats, jqplotchart pie, values counted with distribution

{{#ask: [[-Has subobject::~BariLjubljana2026*]] [[isA::Leg]] |mainlabel=- |?Leg transport |format=jqplotchart |charttype=pie |distribution=yes |chartlegend=east |datalabels=label |height=350 |limit=500}}

Chart: km of the bike legs

jqplotchart bar over the measured distances of the bike legs longer than 20 km

{{#ask: [[-Has subobject::~BariLjubljana2026*]] [[isA::Leg]] [[Leg transport::bike]] [[Leg distance::>20]] |mainlabel=- |?Leg to |?Leg distance |format=jqplotchart |charttype=bar |height=400 |datalabels=value |limit=500}}

Timeline: the legs

format timeline over the date of each leg

{{#ask: [[-Has subobject::~BariLjubljana2026*]] [[isA::Leg]] |mainlabel=- |?Leg to |?Leg date |format=timeline |timelinesize=300px |timelinebands=DAY,WEEK |limit=500}}

Calendar: the legs

format eventcalendar over the date of each leg

{{#ask: [[-Has subobject::~BariLjubljana2026*]] [[isA::Leg]] [[Leg stay::+]] |mainlabel=- |?Leg to=title |?Leg date=start |format=eventcalendar |defaultview=month |limit=500}}

Tag cloud: location types

format tagcloud, the size follows the frequency

apartment bus stop church city gate hotel path POI port shop sight square station town
{{#ask: [[Concept:Loc]] |?Loc type |format=tagcloud |limit=200}}

Table to explore: locations

format datatables, sortable and filterable in the browser

 Loc nameLoc typeLoc countryLoc latlon
AlberobelloAlberobellotownIT40° 47' 2.76" N, 17° 14' 15.00" E
BariBaricityIT41° 7' 31.08" N, 16° 52' 0.12" E
Basilica di Sant'AntonioBasilica di Sant'AntoniochurchIT45° 24' 5.04" N, 11° 52' 49.80" E
BluTerra homeBluTerra homehotelIT43° 10' 8.76" N, 13° 47' 51.00" E
BuranoBuranoPOIIT45° 29' 8.16" N, 12° 25' 3.00" E
CASA ENZACASA ENZAhotelIT40° 43' 55.92" N, 17° 34' 42.96" E
CastellanetaCastellanetacityIT40° 37' 59.88" N, 16° 55' 59.88" E
CattolicaCattolicatownIT43° 57' 30.24" N, 12° 44' 18.96" E
Dimore Altea BariDimore Altea BarihotelIT41° 6' 54.36" N, 16° 52' 3.36" E
Famila GiovinazzoFamila GiovinazzoPOIIT41° 11' 19.68" N, 16° 39' 27.72" E
Fondamente NoveFondamente NoveportIT45° 26' 33.36" N, 12° 20' 28.68" E
FronteMare GuestHouseFronteMare GuestHousehotelIT40° 57' 36.00" N, 17° 17' 5.28" E
GiovinazzoGiovinazzotownIT41° 10' 59.88" N, 16° 40' 0.12" E
Le Dimore di Giò 515Le Dimore di Giò 515hotelIT42° 20' 53.88" N, 14° 24' 11.88" E
Lido Santa Maria ElisabettaLido Santa Maria ElisabettaportIT45° 25' 3.00" N, 12° 22' 3.72" E
Lido spiaggia liberaLido spiaggia liberaPOIIT45° 25' 9.48" N, 12° 22' 49.44" E
LjubljanaLjubljanacitySI46° 3' 5.04" N, 14° 30' 21.96" E
Ljubljana railway stationLjubljana railway stationstationSI46° 3' 32.04" N, 14° 30' 47.16" E
Lungargine Codotto MaroneseLungargine Enea Codotto e Luigi MaronesepathIT45° 23' 7.08" N, 11° 52' 57.72" E
MassafraMassafracityIT40° 34' 59.88" N, 17° 7' 0.12" E
MonopoliMonopolicityIT40° 57' 0.00" N, 17° 18' 0.00" E
{{#ask: [[Concept:Loc]] |?Loc name=name |?Loc type=type |?Loc country=country |?Loc latlon=coordinates |format=datatables |limit=200}}

The same for other data

Any data with places and dates can be shown this way, e.g. occupations by place and decade on a heatmap as asked on discourse.genealogy.net. The preconditions are the ones named there: places with coordinates, e.g. from GOV, and normalized terms, e.g. from OhdAB. The Maps extension clusters markers; a real heatmap layer is not part of it.