prefixes: gbfs: "http://example.com/terms#" ex: "http://example.com/" geo: "http://www.w3.org/2003/01/geo/wgs84_pos#" myfun: "http://example.com/functions#" sources: station: access: data.json referenceFormulation: jsonpath iterator: $[*].fields mappings: # System system_info: graphs: - function: myfun:parseDate parameters: - [myfun:valueParameter, ex:stations$(number)?last_updated=] - [myfun:valueParameter2, "2018-03-07T23:27:44+01:00"] sources: station s: ex:stations/$(number) po: - [geo:lat, "$(position[0])", xsd:double] - [geo:long, "$(position[1])", xsd:double] - [gbfs:capacity, $(bike_stands), xsd:integer] - [gbfs:name, $(name)] - [gbfs:station_id, $(number)] - [gbfs:num_bikes_available, $(available_bikes), xsd:integer] - [gbfs:num_docks_available, $(available_bike_stands), xsd:integer] - [gbfs:address, $(address)] # Todo: banking # Todo: bonus