prefixes: rr: http://www.w3.org/ns/r2rml# foaf: http://xmlns.com/foaf/0.1/ xsd: http://www.w3.org/2001/XMLSchema# rdfs: http://www.w3.org/2000/01/rdf-schema# dc: http://purl.org/dc/elements/1.1/ rev: http://purl.org/stuff/rev# gtfs: http://vocab.gtfs.org/terms# geo: http://www.w3.org/2003/01/geo/wgs84_pos# schema: http://schema.org/ dct: http://purl.org/dc/terms/ rml: http://semweb.mmlab.be/ns/rml# ql: http://semweb.mmlab.be/ns/ql# rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# mappings: stops: sources: - [./data/gtfs-csv-01/STOPS.csv~csv] s: http://transport.linkeddata.es/madrid/metro/stops/$(stop_id) po: - [a,gtfs:Stop] - p: gtfs:parentStation o: - mapping: stops2 condition: function: equal parameters: - [str1, $(parent_station)] - [str2, $(stop_id)] stops2: sources: - [./data/gtfs-csv-01/STOPS.csv~csv] s: http://transport.linkeddata.es/madrid/metro/stops/$(stop_id) po: - [a,gtfs:Stop]