Home › vbb

Stops of the vbb HAFAS server (Verkehrsverbund Berlin-Brandenburg (VBB))

HAFAS has no request that lists every stop, so this collection names no members: look a stop up by its id, or find it by name (search?q=) or around a point (nearby). Its stops are named by their HAFAS number (vocab/hafas#id, 900100003), never by DHID: outside VBB a DHID cannot be turned into a number the server accepts. A stop's DHID is the literal vocab/hafas#ids / vocab/hafas#ifopt. Realtime predictions cover Berlin and Brandenburg.

GET; status 200, 301, 304, 406; headers Cache-Control, ETag, Last-Modified, Vary

Templates

Stops of the vbb server within r metres of a point. Nearest first, with the straight-line distance in metres. nearby{.format}{?lat,lon,r}

http://schema.org/geoRadius Radius in metres; default 1000, at most 25000.

Representation as a suffix (.ttl, .nt, .rdf, .jsonld, .html; .json for the upstream server's own answer verbatim; .geojson for the matches as a FeatureCollection whose feature id is each stop's URI); omit it to negotiate with the Accept header.

http://www.w3.org/2003/01/geo/wgs84_pos#lat Latitude, WGS84 degrees.

http://www.w3.org/2003/01/geo/wgs84_pos#long Longitude, WGS84 degrees.

Example: nearby?lat=52.5215&lon=13.4113

GET returns vocab#StopSearch; status 200, 304, 400, 404, 406, 502, 503; headers Cache-Control, ETag, Last-Modified, Vary

Stops of the vbb server whose name matches q, in the server's order. search{.format}{?q}

Representation as a suffix (.ttl, .nt, .rdf, .jsonld, .html; .json for the upstream server's own answer verbatim; .geojson for the matches as a FeatureCollection whose feature id is each stop's URI); omit it to negotiate with the Accept header.

hydra:freetextQuery A stop name, at most 100 characters.

Example: search?q=Alexanderplatz

GET returns vocab#StopSearch; status 200, 304, 400, 404, 406, 502, 503; headers Cache-Control, ETag, Last-Modified, Vary

One stop or station, by its HAFAS number. stop/{+id}{.format}

vocab/hafas#id The stop's HAFAS number (900100003), the value of its vocab/hafas#id. Not a DHID (a 404 here) and never a name: names go to search?q=.

Representation as a suffix (.ttl, .nt, .rdf, .jsonld, .html; .json for the upstream server's own answer verbatim; .geojson for the stop as a GeoJSON Feature whose id is its URI); omit it to negotiate with the Accept header (application/geo+json for the Feature).

Example: stop/900100003

GET; status 200, 304, 400, 404, 406, 502, 503; headers Cache-Control, ETag, Last-Modified, Vary

vbb/

dcterms:publisher
https://www.vbb.de/
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
ldp:BasicContainer
hydra:Collection
rdfs:comment
HAFAS has no request that lists every stop, so this collection names no members: look a stop up by its id, or find it by name (search?q=) or around a point (nearby). Its stops are named by their HAFAS number (vocab/hafas#id, 900100003), never by DHID: outside VBB a DHID cannot be turned into a number the server accepts. A stop's DHID is the literal vocab/hafas#ids / vocab/hafas#ifopt. Realtime predictions cover Berlin and Brandenburg. @en
rdfs:label
Stops of the vbb HAFAS server (Verkehrsverbund Berlin-Brandenburg (VBB)) @en
hydra:operation
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Operation
hydra:method
GET
hydra:possibleStatus
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
304 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
406 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
200 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
301 ^^xsd:integer
hydra:returnsHeader
Vary
Last-Modified
Cache-Control
ETag
hydra:search
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplate
rdfs:comment
Stops of the vbb server within r metres of a point. Nearest first, with the straight-line distance in metres.
hydra:mapping
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
Representation as a suffix (.ttl, .nt, .rdf, .jsonld, .html; .json for the upstream server's own answer verbatim; .geojson for the matches as a FeatureCollection whose feature id is each stop's URI); omit it to negotiate with the Accept header.
hydra:required
false ^^xsd:boolean
hydra:variable
format
sh:pattern
^(ttl|nt|rdf|jsonld|json|geojson|html)$
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
Radius in metres; default 1000, at most 25000.
hydra:property
http://schema.org/geoRadius
hydra:required
false ^^xsd:boolean
hydra:variable
r
sh:pattern
^[1-9][0-9]*$
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
Longitude, WGS84 degrees.
skos:example
13.4113
hydra:property
http://www.w3.org/2003/01/geo/wgs84_pos#long
hydra:required
true ^^xsd:boolean
hydra:variable
lon
sh:pattern
^-?[0-9]{1,3}(\.[0-9]+)?$
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
Latitude, WGS84 degrees.
skos:example
52.5215
hydra:property
http://www.w3.org/2003/01/geo/wgs84_pos#lat
hydra:required
true ^^xsd:boolean
hydra:variable
lat
sh:pattern
^-?[0-9]{1,2}(\.[0-9]+)?$
hydra:operation
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Operation
hydra:method
GET
hydra:possibleStatus
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
502 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
406 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
503 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
304 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
404 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
200 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
400 ^^xsd:integer
hydra:returns
vocab#StopSearch
hydra:returnsHeader
Cache-Control
ETag
Last-Modified
Vary
hydra:template
nearby{.format}{?lat,lon,r}
hydra:variableRepresentation
hydra:BasicRepresentation
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplate
rdfs:comment
Stops of the vbb server whose name matches q, in the server's order.
hydra:mapping
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
Representation as a suffix (.ttl, .nt, .rdf, .jsonld, .html; .json for the upstream server's own answer verbatim; .geojson for the matches as a FeatureCollection whose feature id is each stop's URI); omit it to negotiate with the Accept header.
hydra:required
false ^^xsd:boolean
hydra:variable
format
sh:pattern
^(ttl|nt|rdf|jsonld|json|geojson|html)$
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
A stop name, at most 100 characters.
skos:example
Alexanderplatz
hydra:property
hydra:freetextQuery
hydra:required
true ^^xsd:boolean
hydra:variable
q
sh:pattern
^.{1,100}$
hydra:operation
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Operation
hydra:method
GET
hydra:possibleStatus
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
503 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
404 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
304 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
502 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
406 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
400 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
200 ^^xsd:integer
hydra:returns
vocab#StopSearch
hydra:returnsHeader
Cache-Control
ETag
Vary
Last-Modified
hydra:template
search{.format}{?q}
hydra:variableRepresentation
hydra:BasicRepresentation
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplate
rdfs:comment
One stop or station, by its HAFAS number.
hydra:mapping
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
The stop's HAFAS number (900100003), the value of its vocab/hafas#id. Not a DHID (a 404 here) and never a name: names go to search?q=.
skos:example
900100003
hydra:property
vocab/hafas#id
hydra:required
true ^^xsd:boolean
hydra:variable
id
sh:pattern
^[0-9]{1,12}$
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:IriTemplateMapping
rdfs:comment
Representation as a suffix (.ttl, .nt, .rdf, .jsonld, .html; .json for the upstream server's own answer verbatim; .geojson for the stop as a GeoJSON Feature whose id is its URI); omit it to negotiate with the Accept header (application/geo+json for the Feature).
hydra:required
false ^^xsd:boolean
hydra:variable
format
sh:pattern
^(ttl|nt|rdf|jsonld|json|geojson|html)$
hydra:operation
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Operation
hydra:method
GET
hydra:possibleStatus
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
304 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
404 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
406 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
503 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
502 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
400 ^^xsd:integer
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
hydra:Status
hydra:statusCode
200 ^^xsd:integer
hydra:returnsHeader
Cache-Control
Last-Modified
Vary
ETag
hydra:template
stop/{+id}{.format}
hydra:variableRepresentation
hydra:BasicRepresentation

Data from Verkehrsverbund Berlin-Brandenburg (VBB), via its EFA server https://v6.vbb.transport.rest/, fetched on request: a live view, not a copy. Verkehrsverbund Berlin-Brandenburg (VBB) declares no licence for this interface; name it as the source.