This service offers easy access to data via pre-defined queries.
You may be able to input one or more variables into a query, these are shown in the format :input.

For full information, please see the usage page.

There are 13 queries available –

Regions

Regions for which we have data

method :/services/queries/regions/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Regions (with sensors)

Regions for which we have occupancy data

method :/services/queries/regions/sensors-only/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Car Park Locations

Returns locations of all car parks

method :/services/queries/carparks/locations/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Car Park Locations (sensors only)

Returns locations of all car parks with sensors

method :/services/queries/carparks/locations/sensors-only/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Car Parks in region (list)

Returns list of all car parks within specified region

method :/services/queries/carparks/in-region/:region/list/

example :/services/queries/carparks/in-region/Guildford/list/

result type :Index

formats :html, json, ld+json, rdf+xml, rdf+json, turtle, ntriples, plain, csv

Car Parks in region (locations)

Returns locations of all car parks within specified region

method :/services/queries/carparks/in-region/:region/locations/

example :/services/queries/carparks/in-region/Guildford/locations/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Car Parks in region (details)

Returns details of all car parks within specified region

method :/services/queries/carparks/in-region/:region/details/

example :/services/queries/carparks/in-region/Guildford/details/

result type :Details

formats :html, json, ld+json, rdf+xml, rdf+json, ntriples, turtle, csv

Current Live Occupancy

Returns info indicating regarding current occupancy of each car park / lot

method :/services/queries/carparks/occupancy/latest/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Current Live Occupancy in Region

Returns info indicating regarding current occupancy of each car park / lot in the given :region

method :/services/queries/carparks/occupancy/latest/:region/

example :/services/queries/carparks/occupancy/latest/Guildford/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Overall Live Occupancy (by region)

Returns occupancy of all car parks / lots, aggregated by region

method :/services/queries/carparks/occupancy/by-region/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Overall Live Occupancy (by space type)

Returns occupanct of car parks / lots, aggregated by space type

method :/services/queries/carparks/occupancy/by-type/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json

Guildford on-street sensors

Returns details of all on-street sensors in Guildford

method :/services/queries/carparks/guildford-sensors/

result type :Details

formats :html, json, ld+json, rdf+xml, rdf+json, ntriples, turtle, csv

Guildford on-street sensor locations

Returns locations of all on-street sensors in Guildford

method :/services/queries/carparks/guildford-sensors/location/

result type :VariableBindings

formats :html, csv, json, ld+json, sparql-results+xml, sparql-results+json