Open Transport Map

Open Transport Map

Examples of SPARQL queries to Open Transport Map

Unpaved First Class Road Links

 
prefix otm: <http://opentransportmap.info/rdf#>
select ?p
where {
?p ?a <http://inspire.ec.europa.eu/enumeration/FunctionalRoadClassValue/firstClass>.
?p ?b <http://inspire.ec.europa.eu/codelist/RoadSurfaceCategoryValue/unpaved>}
 

Road Links with capacity = 6000

 
prefix otm: <http://opentransportmap.info/rdf#>
select ?p ?c
where {
?p otm:capacity ?c.
filter (?c = "6000")}
 

Road Links marked as SingleCarriageWay

 
prefix otm: <http://www.w3.org/2002/07/owl#>
select ?p
where {?p ?a <http://inspire.ec.europa.eu/codelist/FormOfWayValue/singleCarriageway>}