From 31ce23b0fc85f06ffe405e3215a91b857e9a758a Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Wed, 25 Nov 2020 11:58:56 +0100 Subject: [PATCH 1/6] annotation adjustment --- mappings/vehicles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mappings/vehicles.yml b/mappings/vehicles.yml index dbdc606..86f122c 100644 --- a/mappings/vehicles.yml +++ b/mappings/vehicles.yml @@ -95,7 +95,7 @@ mappings: - [a, era:Vehicle] - [era:vehicleNumber, $(Wagon Number)] - [era:vehicleKeeper, "http://era.europa.eu/keepers#$(Keeper)~iri"] - - p: era:vehicleType # Faked data used to fit this predicate + - p: era:vehicleType # Fake data used to fit this predicate for demo purposes o: "http://era.europa.eu/implementation#VT_$(ERATVReference)~iri" condition: function: idlab-fn:notEqual From 61c7adc70eaa9dda9b4ff422a0539bbd1a815bde Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Mon, 25 Jan 2021 19:09:28 +0100 Subject: [PATCH 2/6] Add core mappings for national line ids --- mappings/line-national-ids.yml | 42 + mappings/skos-concepts.yml | 14 - mappings/sol-tracks.yml | 3 +- rml/line-national-ids_rml.ttl | 68 + rml/skos-concepts_rml.ttl | 3720 ++++++++++++++++---------------- rml/sol-tracks_rml.ttl | 3 +- 6 files changed, 1955 insertions(+), 1895 deletions(-) create mode 100644 mappings/line-national-ids.yml create mode 100644 rml/line-national-ids_rml.ttl diff --git a/mappings/line-national-ids.yml b/mappings/line-national-ids.yml new file mode 100644 index 0000000..dc5242d --- /dev/null +++ b/mappings/line-national-ids.yml @@ -0,0 +1,42 @@ +prefixes: + idlab-fn: "http://example.com/idlab/function/" + grel: "http://users.ugent.be/~bjdmeest/function/grel.ttl#" + eu-country: "http://publications.europa.eu/resource/authority/country/" + rdfs: "http://www.w3.org/2000/01/rdf-schema#" + era: "http://era.europa.eu/ns#" + xsd: "http://www.w3.org/2001/XMLSchema#" +variables: + connection: + access: &host //10.10.160.21:1433 + type: &typeMSSQL mssql + credentials: &credentials + username: SA + password: ChooChoo2020 + queryFormulation: &queryFormulation sql2008 + referenceFormulation: &referenceFormulation csv + +mappings: + line-national-ids: + sources: + - access: *host + type: *typeMSSQL + credentials: *credentials + queryFormulation: *queryFormulation + referenceFormulation: *referenceFormulation + query: SELECT DISTINCT UICLines.UICCode, MemberStates.Code FROM RINF.dbo.UICLines, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE UICLines.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID; + s: http://era.europa.eu/implementation#LNI_$(UICCode) + po: + - [a, era:LineNationalId] + - [rdfs:label, $(UICCode)] + - p: era:inCountry + o: + - mapping: eu-country + condition: + function: equal + parameters: + - [str1, $(Code)] + - [str2, $(code)] + eu-country: + sources: + - ["data/countries.csv~csv"] + s: $(eu) \ No newline at end of file diff --git a/mappings/skos-concepts.yml b/mappings/skos-concepts.yml index 6d9d38b..c33d95b 100644 --- a/mappings/skos-concepts.yml +++ b/mappings/skos-concepts.yml @@ -5,7 +5,6 @@ prefixes: idlab-fn: "http://example.com/idlab/function/" grel: "http://users.ugent.be/~bjdmeest/function/grel.ttl#" era: "http://era.europa.eu/ns#" - era-lni: "http://era.europa.eu/concepts/line-national-ids#" era-lc: "http://era.europa.eu/concepts/load-capabilities#" era-gaugings: "http://era.europa.eu/concepts/gaugings#" era-ap: "http://era.europa.eu/concepts/axle-positions#" @@ -37,19 +36,6 @@ variables: referenceFormulation: &referenceFormulation csv mappings: - line-national-ids: - sources: - - access: *host - type: *typeMSSQL - credentials: *credentials - queryFormulation: *queryFormulation - referenceFormulation: *referenceFormulation - query: SELECT DISTINCT UICLines.UICCode FROM RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.UICLines WHERE SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SectionOfLines.UICLineID = UICLines.ID AND SectionOfLines.VersionID = UICLines.VersionID; - s: http://era.europa.eu/concepts/line-national-ids#$(UICCode) - po: - - [a, era-lni:LineNationalId] - - [skos:prefLabel, $(UICCode)] - load-capability: sources: - access: *host diff --git a/mappings/sol-tracks.yml b/mappings/sol-tracks.yml index dc49a66..4633247 100644 --- a/mappings/sol-tracks.yml +++ b/mappings/sol-tracks.yml @@ -5,7 +5,6 @@ prefixes: rdfs: "http://www.w3.org/2000/01/rdf-schema#" eu-country: "http://publications.europa.eu/resource/authority/country/" era: "http://era.europa.eu/ns#" - era-lni: "http://era.europa.eu/concepts/line-national-ids#" era-lc: "http://era.europa.eu/concepts/load-capabilities#" era-gaugings: "http://era.europa.eu/concepts/gaugings#" era-tds: "http://era.europa.eu/concepts/train-detection#" @@ -42,7 +41,7 @@ mappings: po: - [a, era:Track] - [rdfs:label, $(UUID)] - - [era:lineNationalId, era-lni:$(UICCode)~iri] + - [era:lineNationalId, http://era.europa.eu/implementation#LNI_$(UICCode)~iri] - [era:trackLength, $(Length), xsd:double] - [era:hasAbstraction, http://era.europa.eu/abstraction#ML_$(ID)_$(VersionID)_$(TrackID)~iri] - p: era:inCountry diff --git a/rml/line-national-ids_rml.ttl b/rml/line-national-ids_rml.ttl new file mode 100644 index 0000000..9624e8f --- /dev/null +++ b/rml/line-national-ids_rml.ttl @@ -0,0 +1,68 @@ +@prefix rr: . +@prefix rdf: . +@prefix rdfs: . +@prefix fnml: . +@prefix fno: . +@prefix d2rq: . +@prefix rml: . +@prefix ql: . +@prefix : . +@prefix idlab-fn: . +@prefix grel: . +@prefix eu-country: . +@prefix era: . +@prefix xsd: . + +:map_line-national-ids_0 rml:logicalSource :source_0. +:source_0 a rml:LogicalSource; + rml:source :database_0; + rml:query "SELECT DISTINCT UICLines.UICCode, MemberStates.Code FROM RINF.dbo.UICLines, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE UICLines.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID;". +:database_0 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_0 rml:referenceFormulation ql:CSV. +:map_line-national-ids_0 a rr:TriplesMap; + rdfs:label "line-national-ids". +:s_0 a rr:SubjectMap. +:map_line-national-ids_0 rr:subjectMap :s_0. +:s_0 rr:template "http://era.europa.eu/implementation#LNI_{UICCode}". +:pom_0 a rr:PredicateObjectMap. +:map_line-national-ids_0 rr:predicateObjectMap :pom_0. +:pm_0 a rr:PredicateMap. +:pom_0 rr:predicateMap :pm_0. +:pm_0 rr:constant rdf:type. +:pom_0 rr:objectMap :om_0. +:om_0 a rr:ObjectMap; + rr:constant "http://era.europa.eu/ns#LineNationalId"; + rr:termType rr:IRI. +:pom_1 a rr:PredicateObjectMap. +:map_line-national-ids_0 rr:predicateObjectMap :pom_1. +:pm_1 a rr:PredicateMap. +:pom_1 rr:predicateMap :pm_1. +:pm_1 rr:constant rdfs:label. +:pom_1 rr:objectMap :om_1. +:om_1 a rr:ObjectMap; + rml:reference "UICCode"; + rr:termType rr:Literal. +:pom_2 a rr:PredicateObjectMap. +:map_line-national-ids_0 rr:predicateObjectMap :pom_2. +:pm_2 a rr:PredicateMap. +:pom_2 rr:predicateMap :pm_2. +:pm_2 rr:constant era:inCountry. +:pom_2 rr:objectMap :om_2. +:map_eu-country_0 rml:logicalSource :source_1. +:source_1 a rml:LogicalSource; + rml:source "data/countries.csv"; + rml:referenceFormulation ql:CSV. +:map_eu-country_0 a rr:TriplesMap; + rdfs:label "eu-country". +:s_1 a rr:SubjectMap. +:map_eu-country_0 rr:subjectMap :s_1. +:s_1 rml:reference "eu". +:om_2 a rr:ObjectMap; + rr:parentTriplesMap :map_eu-country_0; + rr:joinCondition :jc_0. +:jc_0 rr:child "Code"; + rr:parent "code". diff --git a/rml/skos-concepts_rml.ttl b/rml/skos-concepts_rml.ttl index c337ca3..a71a268 100644 --- a/rml/skos-concepts_rml.ttl +++ b/rml/skos-concepts_rml.ttl @@ -12,7 +12,6 @@ @prefix idlab-fn: . @prefix grel: . @prefix era: . -@prefix era-lni: . @prefix era-lc: . @prefix era-gaugings: . @prefix era-ap: . @@ -34,827 +33,827 @@ @prefix era-tpls: . @prefix era-lrs: . -:map_line-national-ids_0 rml:logicalSource :source_0. +:map_load-capability_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source :database_0; - rml:query "SELECT DISTINCT UICLines.UICCode FROM RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.UICLines WHERE SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SectionOfLines.UICLineID = UICLines.ID AND SectionOfLines.VersionID = UICLines.VersionID;". + rml:query "SELECT DISTINCT CONCAT(LookupValues.[Value], '-' , TrackParameters.Value) AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". :database_0 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_0 rml:referenceFormulation ql:CSV. -:map_line-national-ids_0 a rr:TriplesMap; - rdfs:label "line-national-ids". +:map_load-capability_0 a rr:TriplesMap; + rdfs:label "load-capability". :s_0 a rr:SubjectMap. -:map_line-national-ids_0 rr:subjectMap :s_0. -:s_0 rr:template "http://era.europa.eu/concepts/line-national-ids#{UICCode}". +:map_load-capability_0 rr:subjectMap :s_0. +:s_0 rr:template "http://era.europa.eu/concepts/load-capabilities#{ParameterValue}". :pom_0 a rr:PredicateObjectMap. -:map_line-national-ids_0 rr:predicateObjectMap :pom_0. +:map_load-capability_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. :pom_0 rr:predicateMap :pm_0. :pm_0 rr:constant rdf:type. :pom_0 rr:objectMap :om_0. :om_0 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/line-national-ids#LineNationalId"; + rr:constant "http://era.europa.eu/concepts/load-capabilities#LoadCapability"; rr:termType rr:IRI. :pom_1 a rr:PredicateObjectMap. -:map_line-national-ids_0 rr:predicateObjectMap :pom_1. +:map_load-capability_0 rr:predicateObjectMap :pom_1. :pm_1 a rr:PredicateMap. :pom_1 rr:predicateMap :pm_1. :pm_1 rr:constant skos:prefLabel. :pom_1 rr:objectMap :om_1. :om_1 a rr:ObjectMap; - rml:reference "UICCode"; + rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_load-capability_0 rml:logicalSource :source_1. +:map_gauging-profile-rinf_0 rml:logicalSource :source_1. :source_1 a rml:LogicalSource; rml:source :database_1; - rml:query "SELECT DISTINCT CONCAT(LookupValues.[Value], '-' , TrackParameters.Value) AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT LookupValues.[Value] FROM RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE Parameters.[Index] IN ('1.1.1.1.3.1.1') AND Parameters.ID = LookupValues.ParameterId;". :database_1 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_1 rml:referenceFormulation ql:CSV. -:map_load-capability_0 a rr:TriplesMap; - rdfs:label "load-capability". +:map_gauging-profile-rinf_0 a rr:TriplesMap; + rdfs:label "gauging-profile-rinf". :s_1 a rr:SubjectMap. -:map_load-capability_0 rr:subjectMap :s_1. -:s_1 rr:template "http://era.europa.eu/concepts/load-capabilities#{ParameterValue}". +:map_gauging-profile-rinf_0 rr:subjectMap :s_1. +:s_1 rr:template "http://era.europa.eu/concepts/gaugings#{Value}". :pom_2 a rr:PredicateObjectMap. -:map_load-capability_0 rr:predicateObjectMap :pom_2. +:map_gauging-profile-rinf_0 rr:predicateObjectMap :pom_2. :pm_2 a rr:PredicateMap. :pom_2 rr:predicateMap :pm_2. :pm_2 rr:constant rdf:type. :pom_2 rr:objectMap :om_2. :om_2 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/load-capabilities#LoadCapability"; + rr:constant "http://era.europa.eu/concepts/gaugings#GaugingProfile"; rr:termType rr:IRI. :pom_3 a rr:PredicateObjectMap. -:map_load-capability_0 rr:predicateObjectMap :pom_3. +:map_gauging-profile-rinf_0 rr:predicateObjectMap :pom_3. :pm_3 a rr:PredicateMap. :pom_3 rr:predicateMap :pm_3. :pm_3 rr:constant skos:prefLabel. :pom_3 rr:objectMap :om_3. :om_3 a rr:ObjectMap; - rml:reference "ParameterValue"; + rml:reference "Value"; rr:termType rr:Literal. -:map_gauging-profile-rinf_0 rml:logicalSource :source_2. +:map_gauging-profile-eratv_0 rml:logicalSource :source_2. :source_2 a rml:LogicalSource; rml:source :database_2; - rml:query "SELECT LookupValues.[Value] FROM RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE Parameters.[Index] IN ('1.1.1.1.3.1.1') AND Parameters.ID = LookupValues.ParameterId;". + rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.2.1'));". :database_2 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_2 rml:referenceFormulation ql:CSV. -:map_gauging-profile-rinf_0 a rr:TriplesMap; - rdfs:label "gauging-profile-rinf". +:map_gauging-profile-eratv_0 a rr:TriplesMap; + rdfs:label "gauging-profile-eratv". :s_2 a rr:SubjectMap. -:map_gauging-profile-rinf_0 rr:subjectMap :s_2. -:s_2 rr:template "http://era.europa.eu/concepts/gaugings#{Value}". +:map_gauging-profile-eratv_0 rr:subjectMap :s_2. +:s_2 rr:template "http://era.europa.eu/concepts/gaugings#{ParameterURI}". :pom_4 a rr:PredicateObjectMap. -:map_gauging-profile-rinf_0 rr:predicateObjectMap :pom_4. +:map_gauging-profile-eratv_0 rr:predicateObjectMap :pom_4. :pm_4 a rr:PredicateMap. :pom_4 rr:predicateMap :pm_4. :pm_4 rr:constant rdf:type. :pom_4 rr:objectMap :om_4. -:om_4 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/gaugings#GaugingProfile"; - rr:termType rr:IRI. -:pom_5 a rr:PredicateObjectMap. -:map_gauging-profile-rinf_0 rr:predicateObjectMap :pom_5. -:pm_5 a rr:PredicateMap. -:pom_5 rr:predicateMap :pm_5. -:pm_5 rr:constant skos:prefLabel. -:pom_5 rr:objectMap :om_5. -:om_5 a rr:ObjectMap; - rml:reference "Value"; - rr:termType rr:Literal. -:map_gauging-profile-eratv_0 rml:logicalSource :source_3. -:source_3 a rml:LogicalSource; - rml:source :database_3; - rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.2.1'));". -:database_3 a d2rq:Database; - d2rq:jdbcDSN "//10.10.160.21:1433"; - d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; - d2rq:username "SA"; - d2rq:password "ChooChoo2020". -:source_3 rml:referenceFormulation ql:CSV. -:map_gauging-profile-eratv_0 a rr:TriplesMap; - rdfs:label "gauging-profile-eratv". -:s_3 a rr:SubjectMap. -:map_gauging-profile-eratv_0 rr:subjectMap :s_3. -:s_3 rr:template "http://era.europa.eu/concepts/gaugings#{ParameterURI}". -:pom_6 a rr:PredicateObjectMap. -:map_gauging-profile-eratv_0 rr:predicateObjectMap :pom_6. -:pm_6 a rr:PredicateMap. -:pom_6 rr:predicateMap :pm_6. -:pm_6 rr:constant rdf:type. -:pom_6 rr:objectMap :om_6. -:om_6 a fnml:FunctionTermMap; +:om_4 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_0. -:fn_0 rml:logicalSource :source_3; +:fn_0 rml:logicalSource :source_2; rr:predicateObjectMap :pomexec_0. :pomexec_0 rr:predicateMap :pmexec_0. :pmexec_0 rr:constant fno:executes. :pomexec_0 rr:objectMap :omexec_0. :omexec_0 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_0 rr:predicateObjectMap :pom_7. -:pom_7 a rr:PredicateObjectMap; - rr:predicateMap :pm_7. -:pm_7 a rr:PredicateMap; +:fn_0 rr:predicateObjectMap :pom_5. +:pom_5 a rr:PredicateObjectMap; + rr:predicateMap :pm_5. +:pm_5 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_7 rr:objectMap :om_7. -:om_7 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_5 rr:objectMap :om_5. +:om_5 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_1. -:fn_1 rml:logicalSource :source_3; +:fn_1 rml:logicalSource :source_2; rr:predicateObjectMap :pomexec_1. :pomexec_1 rr:predicateMap :pmexec_1. :pmexec_1 rr:constant fno:executes. :pomexec_1 rr:objectMap :omexec_1. :omexec_1 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_1 rr:predicateObjectMap :pom_8. -:pom_8 a rr:PredicateObjectMap; - rr:predicateMap :pm_8. -:pm_8 a rr:PredicateMap; +:fn_1 rr:predicateObjectMap :pom_6. +:pom_6 a rr:PredicateObjectMap; + rr:predicateMap :pm_6. +:pm_6 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_8 rr:objectMap :om_8. -:om_8 a rr:ObjectMap; +:pom_6 rr:objectMap :om_6. +:om_6 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_1 rr:predicateObjectMap :pom_9. -:pom_9 a rr:PredicateObjectMap; - rr:predicateMap :pm_9. -:pm_9 a rr:PredicateMap; +:fn_1 rr:predicateObjectMap :pom_7. +:pom_7 a rr:PredicateObjectMap; + rr:predicateMap :pm_7. +:pm_7 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_9 rr:objectMap :om_9. -:om_9 a rr:ObjectMap; +:pom_7 rr:objectMap :om_7. +:om_7 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_0 rr:predicateObjectMap :pom_10. -:pom_10 a rr:PredicateObjectMap; - rr:predicateMap :pm_10. -:pm_10 a rr:PredicateMap; +:fn_0 rr:predicateObjectMap :pom_8. +:pom_8 a rr:PredicateObjectMap; + rr:predicateMap :pm_8. +:pm_8 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_10 rr:objectMap :om_10. -:om_10 a rr:ObjectMap; +:pom_8 rr:objectMap :om_8. +:om_8 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/gaugings#GaugingProfile"; rr:termType rr:IRI. -:pom_11 a rr:PredicateObjectMap. -:map_gauging-profile-eratv_0 rr:predicateObjectMap :pom_11. -:pm_11 a rr:PredicateMap. -:pom_11 rr:predicateMap :pm_11. -:pm_11 rr:constant skos:prefLabel. -:pom_11 rr:objectMap :om_11. -:om_11 a fnml:FunctionTermMap; +:pom_9 a rr:PredicateObjectMap. +:map_gauging-profile-eratv_0 rr:predicateObjectMap :pom_9. +:pm_9 a rr:PredicateMap. +:pom_9 rr:predicateMap :pm_9. +:pm_9 rr:constant skos:prefLabel. +:pom_9 rr:objectMap :om_9. +:om_9 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_2. -:fn_2 rml:logicalSource :source_3; +:fn_2 rml:logicalSource :source_2; rr:predicateObjectMap :pomexec_2. :pomexec_2 rr:predicateMap :pmexec_2. :pmexec_2 rr:constant fno:executes. :pomexec_2 rr:objectMap :omexec_2. :omexec_2 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_2 rr:predicateObjectMap :pom_12. -:pom_12 a rr:PredicateObjectMap; - rr:predicateMap :pm_12. -:pm_12 a rr:PredicateMap; +:fn_2 rr:predicateObjectMap :pom_10. +:pom_10 a rr:PredicateObjectMap; + rr:predicateMap :pm_10. +:pm_10 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_12 rr:objectMap :om_12. -:om_12 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_10 rr:objectMap :om_10. +:om_10 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_3. -:fn_3 rml:logicalSource :source_3; +:fn_3 rml:logicalSource :source_2; rr:predicateObjectMap :pomexec_3. :pomexec_3 rr:predicateMap :pmexec_3. :pmexec_3 rr:constant fno:executes. :pomexec_3 rr:objectMap :omexec_3. :omexec_3 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_3 rr:predicateObjectMap :pom_13. -:pom_13 a rr:PredicateObjectMap; - rr:predicateMap :pm_13. -:pm_13 a rr:PredicateMap; +:fn_3 rr:predicateObjectMap :pom_11. +:pom_11 a rr:PredicateObjectMap; + rr:predicateMap :pm_11. +:pm_11 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_13 rr:objectMap :om_13. -:om_13 a rr:ObjectMap; +:pom_11 rr:objectMap :om_11. +:om_11 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_3 rr:predicateObjectMap :pom_14. -:pom_14 a rr:PredicateObjectMap; - rr:predicateMap :pm_14. -:pm_14 a rr:PredicateMap; +:fn_3 rr:predicateObjectMap :pom_12. +:pom_12 a rr:PredicateObjectMap; + rr:predicateMap :pm_12. +:pm_12 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_14 rr:objectMap :om_14. -:om_14 a rr:ObjectMap; +:pom_12 rr:objectMap :om_12. +:om_12 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_2 rr:predicateObjectMap :pom_15. -:pom_15 a rr:PredicateObjectMap; - rr:predicateMap :pm_15. -:pm_15 a rr:PredicateMap; +:fn_2 rr:predicateObjectMap :pom_13. +:pom_13 a rr:PredicateObjectMap; + rr:predicateMap :pm_13. +:pm_13 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_15 rr:objectMap :om_15. -:om_15 a rr:ObjectMap; +:pom_13 rr:objectMap :om_13. +:om_13 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-gauging-profile-eratv_0 rml:logicalSource :source_4. -:source_4 a rml:LogicalSource; - rml:source :database_4; +:map_other-gauging-profile-eratv_0 rml:logicalSource :source_3. +:source_3 a rml:LogicalSource; + rml:source :database_3; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.2.1'));". -:database_4 a d2rq:Database; +:database_3 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_4 rml:referenceFormulation ql:CSV. +:source_3 rml:referenceFormulation ql:CSV. :map_other-gauging-profile-eratv_0 a rr:TriplesMap; rdfs:label "other-gauging-profile-eratv". -:s_4 a rr:SubjectMap. -:map_other-gauging-profile-eratv_0 rr:subjectMap :s_4. -:s_4 rr:template "http://era.europa.eu/concepts/gaugings#{OtherURI}". -:pom_16 a rr:PredicateObjectMap. -:map_other-gauging-profile-eratv_0 rr:predicateObjectMap :pom_16. -:pm_16 a rr:PredicateMap. -:pom_16 rr:predicateMap :pm_16. -:pm_16 rr:constant rdf:type. -:pom_16 rr:objectMap :om_16. -:om_16 a fnml:FunctionTermMap; +:s_3 a rr:SubjectMap. +:map_other-gauging-profile-eratv_0 rr:subjectMap :s_3. +:s_3 rr:template "http://era.europa.eu/concepts/gaugings#{OtherURI}". +:pom_14 a rr:PredicateObjectMap. +:map_other-gauging-profile-eratv_0 rr:predicateObjectMap :pom_14. +:pm_14 a rr:PredicateMap. +:pom_14 rr:predicateMap :pm_14. +:pm_14 rr:constant rdf:type. +:pom_14 rr:objectMap :om_14. +:om_14 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_4. -:fn_4 rml:logicalSource :source_4; +:fn_4 rml:logicalSource :source_3; rr:predicateObjectMap :pomexec_4. :pomexec_4 rr:predicateMap :pmexec_4. :pmexec_4 rr:constant fno:executes. :pomexec_4 rr:objectMap :omexec_4. :omexec_4 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_4 rr:predicateObjectMap :pom_17. -:pom_17 a rr:PredicateObjectMap; - rr:predicateMap :pm_17. -:pm_17 a rr:PredicateMap; +:fn_4 rr:predicateObjectMap :pom_15. +:pom_15 a rr:PredicateObjectMap; + rr:predicateMap :pm_15. +:pm_15 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_17 rr:objectMap :om_17. -:om_17 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_15 rr:objectMap :om_15. +:om_15 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_5. -:fn_5 rml:logicalSource :source_4; +:fn_5 rml:logicalSource :source_3; rr:predicateObjectMap :pomexec_5. :pomexec_5 rr:predicateMap :pmexec_5. :pmexec_5 rr:constant fno:executes. :pomexec_5 rr:objectMap :omexec_5. :omexec_5 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_5 rr:predicateObjectMap :pom_18. -:pom_18 a rr:PredicateObjectMap; - rr:predicateMap :pm_18. -:pm_18 a rr:PredicateMap; +:fn_5 rr:predicateObjectMap :pom_16. +:pom_16 a rr:PredicateObjectMap; + rr:predicateMap :pm_16. +:pm_16 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_18 rr:objectMap :om_18. -:om_18 a rr:ObjectMap; +:pom_16 rr:objectMap :om_16. +:om_16 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_5 rr:predicateObjectMap :pom_19. -:pom_19 a rr:PredicateObjectMap; - rr:predicateMap :pm_19. -:pm_19 a rr:PredicateMap; +:fn_5 rr:predicateObjectMap :pom_17. +:pom_17 a rr:PredicateObjectMap; + rr:predicateMap :pm_17. +:pm_17 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_19 rr:objectMap :om_19. -:om_19 a rr:ObjectMap; +:pom_17 rr:objectMap :om_17. +:om_17 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_4 rr:predicateObjectMap :pom_20. -:pom_20 a rr:PredicateObjectMap; - rr:predicateMap :pm_20. -:pm_20 a rr:PredicateMap; +:fn_4 rr:predicateObjectMap :pom_18. +:pom_18 a rr:PredicateObjectMap; + rr:predicateMap :pm_18. +:pm_18 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_20 rr:objectMap :om_20. -:om_20 a rr:ObjectMap; +:pom_18 rr:objectMap :om_18. +:om_18 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/gaugings#GaugingProfile"; rr:termType rr:IRI. -:pom_21 a rr:PredicateObjectMap. -:map_other-gauging-profile-eratv_0 rr:predicateObjectMap :pom_21. -:pm_21 a rr:PredicateMap. -:pom_21 rr:predicateMap :pm_21. -:pm_21 rr:constant skos:prefLabel. -:pom_21 rr:objectMap :om_21. -:om_21 a fnml:FunctionTermMap; +:pom_19 a rr:PredicateObjectMap. +:map_other-gauging-profile-eratv_0 rr:predicateObjectMap :pom_19. +:pm_19 a rr:PredicateMap. +:pom_19 rr:predicateMap :pm_19. +:pm_19 rr:constant skos:prefLabel. +:pom_19 rr:objectMap :om_19. +:om_19 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_6. -:fn_6 rml:logicalSource :source_4; +:fn_6 rml:logicalSource :source_3; rr:predicateObjectMap :pomexec_6. :pomexec_6 rr:predicateMap :pmexec_6. :pmexec_6 rr:constant fno:executes. :pomexec_6 rr:objectMap :omexec_6. :omexec_6 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_6 rr:predicateObjectMap :pom_22. -:pom_22 a rr:PredicateObjectMap; - rr:predicateMap :pm_22. -:pm_22 a rr:PredicateMap; +:fn_6 rr:predicateObjectMap :pom_20. +:pom_20 a rr:PredicateObjectMap; + rr:predicateMap :pm_20. +:pm_20 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_22 rr:objectMap :om_22. -:om_22 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_20 rr:objectMap :om_20. +:om_20 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_7. -:fn_7 rml:logicalSource :source_4; +:fn_7 rml:logicalSource :source_3; rr:predicateObjectMap :pomexec_7. :pomexec_7 rr:predicateMap :pmexec_7. :pmexec_7 rr:constant fno:executes. :pomexec_7 rr:objectMap :omexec_7. :omexec_7 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_7 rr:predicateObjectMap :pom_23. +:fn_7 rr:predicateObjectMap :pom_21. +:pom_21 a rr:PredicateObjectMap; + rr:predicateMap :pm_21. +:pm_21 a rr:PredicateMap; + rr:constant grel:valueParameter. +:pom_21 rr:objectMap :om_21. +:om_21 a rr:ObjectMap; + rml:reference "OtherValue"; + rr:termType rr:Literal. +:fn_7 rr:predicateObjectMap :pom_22. +:pom_22 a rr:PredicateObjectMap; + rr:predicateMap :pm_22. +:pm_22 a rr:PredicateMap; + rr:constant grel:valueParameter2. +:pom_22 rr:objectMap :om_22. +:om_22 a rr:ObjectMap; + rr:constant ""; + rr:termType rr:Literal. +:fn_6 rr:predicateObjectMap :pom_23. :pom_23 a rr:PredicateObjectMap; rr:predicateMap :pm_23. :pm_23 a rr:PredicateMap; - rr:constant grel:valueParameter. + rr:constant idlab-fn:str. :pom_23 rr:objectMap :om_23. :om_23 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_7 rr:predicateObjectMap :pom_24. -:pom_24 a rr:PredicateObjectMap; - rr:predicateMap :pm_24. -:pm_24 a rr:PredicateMap; - rr:constant grel:valueParameter2. +:map_axle-positions_0 rml:logicalSource :source_4. +:source_4 a rml:LogicalSource; + rml:source :database_4; + rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.5.3.4'));". +:database_4 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_4 rml:referenceFormulation ql:CSV. +:map_axle-positions_0 a rr:TriplesMap; + rdfs:label "axle-positions". +:s_4 a rr:SubjectMap. +:map_axle-positions_0 rr:subjectMap :s_4. +:s_4 rr:template "http://era.europa.eu/concepts/axle-positions#{ParameterURI}". +:pom_24 a rr:PredicateObjectMap. +:map_axle-positions_0 rr:predicateObjectMap :pom_24. +:pm_24 a rr:PredicateMap. +:pom_24 rr:predicateMap :pm_24. +:pm_24 rr:constant rdf:type. :pom_24 rr:objectMap :om_24. :om_24 a rr:ObjectMap; - rr:constant ""; - rr:termType rr:Literal. -:fn_6 rr:predicateObjectMap :pom_25. -:pom_25 a rr:PredicateObjectMap; - rr:predicateMap :pm_25. -:pm_25 a rr:PredicateMap; - rr:constant idlab-fn:str. + rr:constant "http://era.europa.eu/concepts/axle-positions#AxlePosition"; + rr:termType rr:IRI. +:pom_25 a rr:PredicateObjectMap. +:map_axle-positions_0 rr:predicateObjectMap :pom_25. +:pm_25 a rr:PredicateMap. +:pom_25 rr:predicateMap :pm_25. +:pm_25 rr:constant skos:prefLabel. :pom_25 rr:objectMap :om_25. :om_25 a rr:ObjectMap; - rml:reference "OtherValue"; + rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_axle-positions_0 rml:logicalSource :source_5. +:map_train-detection-system_0 rml:logicalSource :source_5. :source_5 a rml:LogicalSource; rml:source :database_5; - rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.5.3.4'));". + rml:query "SELECT LookupValues.[Value] AS Label, REPLACE(LookupValues.[Value], ' ', '_') AS Value FROM RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE Parameters.[Index] IN ('1.1.1.3.7.1.1') AND Parameters.ID = LookupValues.ParameterId;". :database_5 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_5 rml:referenceFormulation ql:CSV. -:map_axle-positions_0 a rr:TriplesMap; - rdfs:label "axle-positions". +:map_train-detection-system_0 a rr:TriplesMap; + rdfs:label "train-detection-system". :s_5 a rr:SubjectMap. -:map_axle-positions_0 rr:subjectMap :s_5. -:s_5 rr:template "http://era.europa.eu/concepts/axle-positions#{ParameterURI}". +:map_train-detection-system_0 rr:subjectMap :s_5. +:s_5 rr:template "http://era.europa.eu/concepts/train-detection#{Value}". :pom_26 a rr:PredicateObjectMap. -:map_axle-positions_0 rr:predicateObjectMap :pom_26. +:map_train-detection-system_0 rr:predicateObjectMap :pom_26. :pm_26 a rr:PredicateMap. :pom_26 rr:predicateMap :pm_26. :pm_26 rr:constant rdf:type. :pom_26 rr:objectMap :om_26. :om_26 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/axle-positions#AxlePosition"; + rr:constant "http://era.europa.eu/concepts/train-detection#TrainDetectionSystem"; rr:termType rr:IRI. :pom_27 a rr:PredicateObjectMap. -:map_axle-positions_0 rr:predicateObjectMap :pom_27. +:map_train-detection-system_0 rr:predicateObjectMap :pom_27. :pm_27 a rr:PredicateMap. :pom_27 rr:predicateMap :pm_27. :pm_27 rr:constant skos:prefLabel. :pom_27 rr:objectMap :om_27. :om_27 a rr:ObjectMap; - rml:reference "ParameterValue"; + rml:reference "Label"; rr:termType rr:Literal. -:map_train-detection-system_0 rml:logicalSource :source_6. +:map_axle-bearing-monitoring_0 rml:logicalSource :source_6. :source_6 a rml:LogicalSource; rml:source :database_6; - rml:query "SELECT LookupValues.[Value] AS Label, REPLACE(LookupValues.[Value], ' ', '_') AS Value FROM RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE Parameters.[Index] IN ('1.1.1.3.7.1.1') AND Parameters.ID = LookupValues.ParameterId;". + rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.9.2'));". :database_6 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_6 rml:referenceFormulation ql:CSV. -:map_train-detection-system_0 a rr:TriplesMap; - rdfs:label "train-detection-system". +:map_axle-bearing-monitoring_0 a rr:TriplesMap; + rdfs:label "axle-bearing-monitoring". :s_6 a rr:SubjectMap. -:map_train-detection-system_0 rr:subjectMap :s_6. -:s_6 rr:template "http://era.europa.eu/concepts/train-detection#{Value}". +:map_axle-bearing-monitoring_0 rr:subjectMap :s_6. +:s_6 rr:template "http://era.europa.eu/concepts/axle-monitoring#{ParameterURI}". :pom_28 a rr:PredicateObjectMap. -:map_train-detection-system_0 rr:predicateObjectMap :pom_28. +:map_axle-bearing-monitoring_0 rr:predicateObjectMap :pom_28. :pm_28 a rr:PredicateMap. :pom_28 rr:predicateMap :pm_28. :pm_28 rr:constant rdf:type. :pom_28 rr:objectMap :om_28. -:om_28 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/train-detection#TrainDetectionSystem"; - rr:termType rr:IRI. -:pom_29 a rr:PredicateObjectMap. -:map_train-detection-system_0 rr:predicateObjectMap :pom_29. -:pm_29 a rr:PredicateMap. -:pom_29 rr:predicateMap :pm_29. -:pm_29 rr:constant skos:prefLabel. -:pom_29 rr:objectMap :om_29. -:om_29 a rr:ObjectMap; - rml:reference "Label"; - rr:termType rr:Literal. -:map_axle-bearing-monitoring_0 rml:logicalSource :source_7. -:source_7 a rml:LogicalSource; - rml:source :database_7; - rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.9.2'));". -:database_7 a d2rq:Database; - d2rq:jdbcDSN "//10.10.160.21:1433"; - d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; - d2rq:username "SA"; - d2rq:password "ChooChoo2020". -:source_7 rml:referenceFormulation ql:CSV. -:map_axle-bearing-monitoring_0 a rr:TriplesMap; - rdfs:label "axle-bearing-monitoring". -:s_7 a rr:SubjectMap. -:map_axle-bearing-monitoring_0 rr:subjectMap :s_7. -:s_7 rr:template "http://era.europa.eu/concepts/axle-monitoring#{ParameterURI}". -:pom_30 a rr:PredicateObjectMap. -:map_axle-bearing-monitoring_0 rr:predicateObjectMap :pom_30. -:pm_30 a rr:PredicateMap. -:pom_30 rr:predicateMap :pm_30. -:pm_30 rr:constant rdf:type. -:pom_30 rr:objectMap :om_30. -:om_30 a fnml:FunctionTermMap; +:om_28 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_8. -:fn_8 rml:logicalSource :source_7; +:fn_8 rml:logicalSource :source_6; rr:predicateObjectMap :pomexec_8. :pomexec_8 rr:predicateMap :pmexec_8. :pmexec_8 rr:constant fno:executes. :pomexec_8 rr:objectMap :omexec_8. :omexec_8 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_8 rr:predicateObjectMap :pom_31. -:pom_31 a rr:PredicateObjectMap; - rr:predicateMap :pm_31. -:pm_31 a rr:PredicateMap; +:fn_8 rr:predicateObjectMap :pom_29. +:pom_29 a rr:PredicateObjectMap; + rr:predicateMap :pm_29. +:pm_29 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_31 rr:objectMap :om_31. -:om_31 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_29 rr:objectMap :om_29. +:om_29 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_9. -:fn_9 rml:logicalSource :source_7; +:fn_9 rml:logicalSource :source_6; rr:predicateObjectMap :pomexec_9. :pomexec_9 rr:predicateMap :pmexec_9. :pmexec_9 rr:constant fno:executes. :pomexec_9 rr:objectMap :omexec_9. :omexec_9 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_9 rr:predicateObjectMap :pom_32. -:pom_32 a rr:PredicateObjectMap; - rr:predicateMap :pm_32. -:pm_32 a rr:PredicateMap; +:fn_9 rr:predicateObjectMap :pom_30. +:pom_30 a rr:PredicateObjectMap; + rr:predicateMap :pm_30. +:pm_30 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_32 rr:objectMap :om_32. -:om_32 a rr:ObjectMap; +:pom_30 rr:objectMap :om_30. +:om_30 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_9 rr:predicateObjectMap :pom_33. -:pom_33 a rr:PredicateObjectMap; - rr:predicateMap :pm_33. -:pm_33 a rr:PredicateMap; +:fn_9 rr:predicateObjectMap :pom_31. +:pom_31 a rr:PredicateObjectMap; + rr:predicateMap :pm_31. +:pm_31 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_33 rr:objectMap :om_33. -:om_33 a rr:ObjectMap; +:pom_31 rr:objectMap :om_31. +:om_31 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_8 rr:predicateObjectMap :pom_34. -:pom_34 a rr:PredicateObjectMap; - rr:predicateMap :pm_34. -:pm_34 a rr:PredicateMap; +:fn_8 rr:predicateObjectMap :pom_32. +:pom_32 a rr:PredicateObjectMap; + rr:predicateMap :pm_32. +:pm_32 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_34 rr:objectMap :om_34. -:om_34 a rr:ObjectMap; +:pom_32 rr:objectMap :om_32. +:om_32 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/axle-monitoring#AxleBearingMonitoring"; rr:termType rr:IRI. -:pom_35 a rr:PredicateObjectMap. -:map_axle-bearing-monitoring_0 rr:predicateObjectMap :pom_35. -:pm_35 a rr:PredicateMap. -:pom_35 rr:predicateMap :pm_35. -:pm_35 rr:constant skos:prefLabel. -:pom_35 rr:objectMap :om_35. -:om_35 a fnml:FunctionTermMap; +:pom_33 a rr:PredicateObjectMap. +:map_axle-bearing-monitoring_0 rr:predicateObjectMap :pom_33. +:pm_33 a rr:PredicateMap. +:pom_33 rr:predicateMap :pm_33. +:pm_33 rr:constant skos:prefLabel. +:pom_33 rr:objectMap :om_33. +:om_33 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_10. -:fn_10 rml:logicalSource :source_7; +:fn_10 rml:logicalSource :source_6; rr:predicateObjectMap :pomexec_10. :pomexec_10 rr:predicateMap :pmexec_10. :pmexec_10 rr:constant fno:executes. :pomexec_10 rr:objectMap :omexec_10. :omexec_10 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_10 rr:predicateObjectMap :pom_36. -:pom_36 a rr:PredicateObjectMap; - rr:predicateMap :pm_36. -:pm_36 a rr:PredicateMap; +:fn_10 rr:predicateObjectMap :pom_34. +:pom_34 a rr:PredicateObjectMap; + rr:predicateMap :pm_34. +:pm_34 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_36 rr:objectMap :om_36. -:om_36 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_34 rr:objectMap :om_34. +:om_34 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_11. -:fn_11 rml:logicalSource :source_7; +:fn_11 rml:logicalSource :source_6; rr:predicateObjectMap :pomexec_11. :pomexec_11 rr:predicateMap :pmexec_11. :pmexec_11 rr:constant fno:executes. :pomexec_11 rr:objectMap :omexec_11. :omexec_11 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_11 rr:predicateObjectMap :pom_37. -:pom_37 a rr:PredicateObjectMap; - rr:predicateMap :pm_37. -:pm_37 a rr:PredicateMap; +:fn_11 rr:predicateObjectMap :pom_35. +:pom_35 a rr:PredicateObjectMap; + rr:predicateMap :pm_35. +:pm_35 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_37 rr:objectMap :om_37. -:om_37 a rr:ObjectMap; +:pom_35 rr:objectMap :om_35. +:om_35 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_11 rr:predicateObjectMap :pom_38. -:pom_38 a rr:PredicateObjectMap; - rr:predicateMap :pm_38. -:pm_38 a rr:PredicateMap; +:fn_11 rr:predicateObjectMap :pom_36. +:pom_36 a rr:PredicateObjectMap; + rr:predicateMap :pm_36. +:pm_36 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_38 rr:objectMap :om_38. -:om_38 a rr:ObjectMap; +:pom_36 rr:objectMap :om_36. +:om_36 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_10 rr:predicateObjectMap :pom_39. -:pom_39 a rr:PredicateObjectMap; - rr:predicateMap :pm_39. -:pm_39 a rr:PredicateMap; +:fn_10 rr:predicateObjectMap :pom_37. +:pom_37 a rr:PredicateObjectMap; + rr:predicateMap :pm_37. +:pm_37 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_39 rr:objectMap :om_39. -:om_39 a rr:ObjectMap; +:pom_37 rr:objectMap :om_37. +:om_37 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-axle-bearing-monitoring_0 rml:logicalSource :source_8. -:source_8 a rml:LogicalSource; - rml:source :database_8; +:map_other-axle-bearing-monitoring_0 rml:logicalSource :source_7. +:source_7 a rml:LogicalSource; + rml:source :database_7; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.9.2'));". -:database_8 a d2rq:Database; +:database_7 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_8 rml:referenceFormulation ql:CSV. +:source_7 rml:referenceFormulation ql:CSV. :map_other-axle-bearing-monitoring_0 a rr:TriplesMap; rdfs:label "other-axle-bearing-monitoring". -:s_8 a rr:SubjectMap. -:map_other-axle-bearing-monitoring_0 rr:subjectMap :s_8. -:s_8 rr:template "http://era.europa.eu/concepts/axle-monitoring#{OtherURI}". -:pom_40 a rr:PredicateObjectMap. -:map_other-axle-bearing-monitoring_0 rr:predicateObjectMap :pom_40. -:pm_40 a rr:PredicateMap. -:pom_40 rr:predicateMap :pm_40. -:pm_40 rr:constant rdf:type. -:pom_40 rr:objectMap :om_40. -:om_40 a rr:ObjectMap; +:s_7 a rr:SubjectMap. +:map_other-axle-bearing-monitoring_0 rr:subjectMap :s_7. +:s_7 rr:template "http://era.europa.eu/concepts/axle-monitoring#{OtherURI}". +:pom_38 a rr:PredicateObjectMap. +:map_other-axle-bearing-monitoring_0 rr:predicateObjectMap :pom_38. +:pm_38 a rr:PredicateMap. +:pom_38 rr:predicateMap :pm_38. +:pm_38 rr:constant rdf:type. +:pom_38 rr:objectMap :om_38. +:om_38 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/axle-monitoring#AxleBearingMonitoring"; rr:termType rr:IRI. -:pom_41 a rr:PredicateObjectMap. -:map_other-axle-bearing-monitoring_0 rr:predicateObjectMap :pom_41. -:pm_41 a rr:PredicateMap. -:pom_41 rr:predicateMap :pm_41. -:pm_41 rr:constant skos:prefLabel. -:pom_41 rr:objectMap :om_41. -:om_41 a fnml:FunctionTermMap; +:pom_39 a rr:PredicateObjectMap. +:map_other-axle-bearing-monitoring_0 rr:predicateObjectMap :pom_39. +:pm_39 a rr:PredicateMap. +:pom_39 rr:predicateMap :pm_39. +:pm_39 rr:constant skos:prefLabel. +:pom_39 rr:objectMap :om_39. +:om_39 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_12. -:fn_12 rml:logicalSource :source_8; +:fn_12 rml:logicalSource :source_7; rr:predicateObjectMap :pomexec_12. :pomexec_12 rr:predicateMap :pmexec_12. :pmexec_12 rr:constant fno:executes. :pomexec_12 rr:objectMap :omexec_12. :omexec_12 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_12 rr:predicateObjectMap :pom_42. -:pom_42 a rr:PredicateObjectMap; - rr:predicateMap :pm_42. -:pm_42 a rr:PredicateMap; +:fn_12 rr:predicateObjectMap :pom_40. +:pom_40 a rr:PredicateObjectMap; + rr:predicateMap :pm_40. +:pm_40 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_42 rr:objectMap :om_42. -:om_42 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_40 rr:objectMap :om_40. +:om_40 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_13. -:fn_13 rml:logicalSource :source_8; +:fn_13 rml:logicalSource :source_7; rr:predicateObjectMap :pomexec_13. :pomexec_13 rr:predicateMap :pmexec_13. :pmexec_13 rr:constant fno:executes. :pomexec_13 rr:objectMap :omexec_13. :omexec_13 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_13 rr:predicateObjectMap :pom_43. -:pom_43 a rr:PredicateObjectMap; - rr:predicateMap :pm_43. -:pm_43 a rr:PredicateMap; +:fn_13 rr:predicateObjectMap :pom_41. +:pom_41 a rr:PredicateObjectMap; + rr:predicateMap :pm_41. +:pm_41 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_43 rr:objectMap :om_43. -:om_43 a rr:ObjectMap; +:pom_41 rr:objectMap :om_41. +:om_41 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_13 rr:predicateObjectMap :pom_44. -:pom_44 a rr:PredicateObjectMap; - rr:predicateMap :pm_44. -:pm_44 a rr:PredicateMap; +:fn_13 rr:predicateObjectMap :pom_42. +:pom_42 a rr:PredicateObjectMap; + rr:predicateMap :pm_42. +:pm_42 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_44 rr:objectMap :om_44. -:om_44 a rr:ObjectMap; +:pom_42 rr:objectMap :om_42. +:om_42 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_12 rr:predicateObjectMap :pom_45. -:pom_45 a rr:PredicateObjectMap; - rr:predicateMap :pm_45. -:pm_45 a rr:PredicateMap; +:fn_12 rr:predicateObjectMap :pom_43. +:pom_43 a rr:PredicateObjectMap; + rr:predicateMap :pm_43. +:pm_43 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_45 rr:objectMap :om_45. -:om_45 a rr:ObjectMap; +:pom_43 rr:objectMap :om_43. +:om_43 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:map_max-speed-cant-deficiency_0 rml:logicalSource :source_9. -:source_9 a rml:LogicalSource; - rml:source :database_9; +:map_max-speed-cant-deficiency_0 rml:logicalSource :source_8. +:source_8 a rml:LogicalSource; + rml:source :database_8; rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.6.4'));". -:database_9 a d2rq:Database; +:database_8 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_9 rml:referenceFormulation ql:CSV. +:source_8 rml:referenceFormulation ql:CSV. :map_max-speed-cant-deficiency_0 a rr:TriplesMap; rdfs:label "max-speed-cant-deficiency". -:s_9 a rr:SubjectMap. -:map_max-speed-cant-deficiency_0 rr:subjectMap :s_9. -:s_9 rr:template "http://era.europa.eu/concepts/max-speed-cant-deficiency#{ParameterURI}". -:pom_46 a rr:PredicateObjectMap. -:map_max-speed-cant-deficiency_0 rr:predicateObjectMap :pom_46. -:pm_46 a rr:PredicateMap. -:pom_46 rr:predicateMap :pm_46. -:pm_46 rr:constant rdf:type. -:pom_46 rr:objectMap :om_46. -:om_46 a rr:ObjectMap; +:s_8 a rr:SubjectMap. +:map_max-speed-cant-deficiency_0 rr:subjectMap :s_8. +:s_8 rr:template "http://era.europa.eu/concepts/max-speed-cant-deficiency#{ParameterURI}". +:pom_44 a rr:PredicateObjectMap. +:map_max-speed-cant-deficiency_0 rr:predicateObjectMap :pom_44. +:pm_44 a rr:PredicateMap. +:pom_44 rr:predicateMap :pm_44. +:pm_44 rr:constant rdf:type. +:pom_44 rr:objectMap :om_44. +:om_44 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/max-speed-cant-deficiency#MaxSpeedCantDeficiency"; rr:termType rr:IRI. -:pom_47 a rr:PredicateObjectMap. -:map_max-speed-cant-deficiency_0 rr:predicateObjectMap :pom_47. -:pm_47 a rr:PredicateMap. -:pom_47 rr:predicateMap :pm_47. -:pm_47 rr:constant skos:prefLabel. -:pom_47 rr:objectMap :om_47. -:om_47 a rr:ObjectMap; +:pom_45 a rr:PredicateObjectMap. +:map_max-speed-cant-deficiency_0 rr:predicateObjectMap :pom_45. +:pm_45 a rr:PredicateMap. +:pom_45 rr:predicateMap :pm_45. +:pm_45 rr:constant skos:prefLabel. +:pom_45 rr:objectMap :om_45. +:om_45 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_rail-inclinations-eratv_0 rml:logicalSource :source_10. -:source_10 a rml:LogicalSource; - rml:source :database_10; +:map_rail-inclinations-eratv_0 rml:logicalSource :source_9. +:source_9 a rml:LogicalSource; + rml:source :database_9; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.6.5'));". -:database_10 a d2rq:Database; +:database_9 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_10 rml:referenceFormulation ql:CSV. +:source_9 rml:referenceFormulation ql:CSV. :map_rail-inclinations-eratv_0 a rr:TriplesMap; rdfs:label "rail-inclinations-eratv". -:s_10 a rr:SubjectMap. -:map_rail-inclinations-eratv_0 rr:subjectMap :s_10. -:s_10 rr:template "http://era.europa.eu/concepts/rail-inclinations#{ParameterURI}". -:pom_48 a rr:PredicateObjectMap. -:map_rail-inclinations-eratv_0 rr:predicateObjectMap :pom_48. -:pm_48 a rr:PredicateMap. -:pom_48 rr:predicateMap :pm_48. -:pm_48 rr:constant rdf:type. -:pom_48 rr:objectMap :om_48. -:om_48 a fnml:FunctionTermMap; +:s_9 a rr:SubjectMap. +:map_rail-inclinations-eratv_0 rr:subjectMap :s_9. +:s_9 rr:template "http://era.europa.eu/concepts/rail-inclinations#{ParameterURI}". +:pom_46 a rr:PredicateObjectMap. +:map_rail-inclinations-eratv_0 rr:predicateObjectMap :pom_46. +:pm_46 a rr:PredicateMap. +:pom_46 rr:predicateMap :pm_46. +:pm_46 rr:constant rdf:type. +:pom_46 rr:objectMap :om_46. +:om_46 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_14. -:fn_14 rml:logicalSource :source_10; +:fn_14 rml:logicalSource :source_9; rr:predicateObjectMap :pomexec_14. :pomexec_14 rr:predicateMap :pmexec_14. :pmexec_14 rr:constant fno:executes. :pomexec_14 rr:objectMap :omexec_14. :omexec_14 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_14 rr:predicateObjectMap :pom_49. -:pom_49 a rr:PredicateObjectMap; - rr:predicateMap :pm_49. -:pm_49 a rr:PredicateMap; +:fn_14 rr:predicateObjectMap :pom_47. +:pom_47 a rr:PredicateObjectMap; + rr:predicateMap :pm_47. +:pm_47 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_49 rr:objectMap :om_49. -:om_49 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_47 rr:objectMap :om_47. +:om_47 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_15. -:fn_15 rml:logicalSource :source_10; +:fn_15 rml:logicalSource :source_9; rr:predicateObjectMap :pomexec_15. :pomexec_15 rr:predicateMap :pmexec_15. :pmexec_15 rr:constant fno:executes. :pomexec_15 rr:objectMap :omexec_15. :omexec_15 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_15 rr:predicateObjectMap :pom_50. -:pom_50 a rr:PredicateObjectMap; - rr:predicateMap :pm_50. -:pm_50 a rr:PredicateMap; +:fn_15 rr:predicateObjectMap :pom_48. +:pom_48 a rr:PredicateObjectMap; + rr:predicateMap :pm_48. +:pm_48 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_50 rr:objectMap :om_50. -:om_50 a rr:ObjectMap; +:pom_48 rr:objectMap :om_48. +:om_48 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_15 rr:predicateObjectMap :pom_51. -:pom_51 a rr:PredicateObjectMap; - rr:predicateMap :pm_51. -:pm_51 a rr:PredicateMap; +:fn_15 rr:predicateObjectMap :pom_49. +:pom_49 a rr:PredicateObjectMap; + rr:predicateMap :pm_49. +:pm_49 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_51 rr:objectMap :om_51. -:om_51 a rr:ObjectMap; +:pom_49 rr:objectMap :om_49. +:om_49 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_14 rr:predicateObjectMap :pom_52. -:pom_52 a rr:PredicateObjectMap; - rr:predicateMap :pm_52. -:pm_52 a rr:PredicateMap; +:fn_14 rr:predicateObjectMap :pom_50. +:pom_50 a rr:PredicateObjectMap; + rr:predicateMap :pm_50. +:pm_50 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_52 rr:objectMap :om_52. -:om_52 a rr:ObjectMap; +:pom_50 rr:objectMap :om_50. +:om_50 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/rail-inclinations#RailInclination"; rr:termType rr:IRI. -:pom_53 a rr:PredicateObjectMap. -:map_rail-inclinations-eratv_0 rr:predicateObjectMap :pom_53. -:pm_53 a rr:PredicateMap. -:pom_53 rr:predicateMap :pm_53. -:pm_53 rr:constant skos:prefLabel. -:pom_53 rr:objectMap :om_53. -:om_53 a fnml:FunctionTermMap; +:pom_51 a rr:PredicateObjectMap. +:map_rail-inclinations-eratv_0 rr:predicateObjectMap :pom_51. +:pm_51 a rr:PredicateMap. +:pom_51 rr:predicateMap :pm_51. +:pm_51 rr:constant skos:prefLabel. +:pom_51 rr:objectMap :om_51. +:om_51 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_16. -:fn_16 rml:logicalSource :source_10; +:fn_16 rml:logicalSource :source_9; rr:predicateObjectMap :pomexec_16. :pomexec_16 rr:predicateMap :pmexec_16. :pmexec_16 rr:constant fno:executes. :pomexec_16 rr:objectMap :omexec_16. :omexec_16 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_16 rr:predicateObjectMap :pom_54. -:pom_54 a rr:PredicateObjectMap; - rr:predicateMap :pm_54. -:pm_54 a rr:PredicateMap; +:fn_16 rr:predicateObjectMap :pom_52. +:pom_52 a rr:PredicateObjectMap; + rr:predicateMap :pm_52. +:pm_52 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_54 rr:objectMap :om_54. -:om_54 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_52 rr:objectMap :om_52. +:om_52 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_17. -:fn_17 rml:logicalSource :source_10; +:fn_17 rml:logicalSource :source_9; rr:predicateObjectMap :pomexec_17. :pomexec_17 rr:predicateMap :pmexec_17. :pmexec_17 rr:constant fno:executes. :pomexec_17 rr:objectMap :omexec_17. :omexec_17 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_17 rr:predicateObjectMap :pom_55. +:fn_17 rr:predicateObjectMap :pom_53. +:pom_53 a rr:PredicateObjectMap; + rr:predicateMap :pm_53. +:pm_53 a rr:PredicateMap; + rr:constant grel:valueParameter. +:pom_53 rr:objectMap :om_53. +:om_53 a rr:ObjectMap; + rml:reference "OtherValue"; + rr:termType rr:Literal. +:fn_17 rr:predicateObjectMap :pom_54. +:pom_54 a rr:PredicateObjectMap; + rr:predicateMap :pm_54. +:pm_54 a rr:PredicateMap; + rr:constant grel:valueParameter2. +:pom_54 rr:objectMap :om_54. +:om_54 a rr:ObjectMap; + rr:constant ""; + rr:termType rr:Literal. +:fn_16 rr:predicateObjectMap :pom_55. :pom_55 a rr:PredicateObjectMap; rr:predicateMap :pm_55. :pm_55 a rr:PredicateMap; - rr:constant grel:valueParameter. + rr:constant idlab-fn:str. :pom_55 rr:objectMap :om_55. :om_55 a rr:ObjectMap; - rml:reference "OtherValue"; + rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_17 rr:predicateObjectMap :pom_56. -:pom_56 a rr:PredicateObjectMap; - rr:predicateMap :pm_56. -:pm_56 a rr:PredicateMap; - rr:constant grel:valueParameter2. +:map_rail-inclinations-rinf_0 rml:logicalSource :source_10. +:source_10 a rml:LogicalSource; + rml:source :database_10; + rml:query "SELECT DISTINCT TrackParameters.Value AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". +:database_10 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_10 rml:referenceFormulation ql:CSV. +:map_rail-inclinations-rinf_0 a rr:TriplesMap; + rdfs:label "rail-inclinations-rinf". +:s_10 a rr:SubjectMap. +:map_rail-inclinations-rinf_0 rr:subjectMap :s_10. +:s_10 rr:template "http://era.europa.eu/concepts/rail-inclinations#1%2F{ParameterValue}". +:pom_56 a rr:PredicateObjectMap. +:map_rail-inclinations-rinf_0 rr:predicateObjectMap :pom_56. +:pm_56 a rr:PredicateMap. +:pom_56 rr:predicateMap :pm_56. +:pm_56 rr:constant rdf:type. :pom_56 rr:objectMap :om_56. :om_56 a rr:ObjectMap; - rr:constant ""; - rr:termType rr:Literal. -:fn_16 rr:predicateObjectMap :pom_57. -:pom_57 a rr:PredicateObjectMap; - rr:predicateMap :pm_57. -:pm_57 a rr:PredicateMap; - rr:constant idlab-fn:str. + rr:constant "http://era.europa.eu/concepts/rail-inclinations#RailInclination"; + rr:termType rr:IRI. +:pom_57 a rr:PredicateObjectMap. +:map_rail-inclinations-rinf_0 rr:predicateObjectMap :pom_57. +:pm_57 a rr:PredicateMap. +:pom_57 rr:predicateMap :pm_57. +:pm_57 rr:constant skos:prefLabel. :pom_57 rr:objectMap :om_57. :om_57 a rr:ObjectMap; - rml:reference "ParameterValue"; + rr:template "1/{ParameterValue}"; rr:termType rr:Literal. -:map_rail-inclinations-rinf_0 rml:logicalSource :source_11. +:map_other-rail-inclinations_0 rml:logicalSource :source_11. :source_11 a rml:LogicalSource; rml:source :database_11; - rml:query "SELECT DISTINCT TrackParameters.Value AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.6.5'));". :database_11 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_11 rml:referenceFormulation ql:CSV. -:map_rail-inclinations-rinf_0 a rr:TriplesMap; - rdfs:label "rail-inclinations-rinf". +:map_other-rail-inclinations_0 a rr:TriplesMap; + rdfs:label "other-rail-inclinations". :s_11 a rr:SubjectMap. -:map_rail-inclinations-rinf_0 rr:subjectMap :s_11. -:s_11 rr:template "http://era.europa.eu/concepts/rail-inclinations#1%2F{ParameterValue}". +:map_other-rail-inclinations_0 rr:subjectMap :s_11. +:s_11 rr:template "http://era.europa.eu/concepts/rail-inclinations#{OtherURI}". :pom_58 a rr:PredicateObjectMap. -:map_rail-inclinations-rinf_0 rr:predicateObjectMap :pom_58. +:map_other-rail-inclinations_0 rr:predicateObjectMap :pom_58. :pm_58 a rr:PredicateMap. :pom_58 rr:predicateMap :pm_58. :pm_58 rr:constant rdf:type. @@ -863,335 +862,335 @@ rr:constant "http://era.europa.eu/concepts/rail-inclinations#RailInclination"; rr:termType rr:IRI. :pom_59 a rr:PredicateObjectMap. -:map_rail-inclinations-rinf_0 rr:predicateObjectMap :pom_59. +:map_other-rail-inclinations_0 rr:predicateObjectMap :pom_59. :pm_59 a rr:PredicateMap. :pom_59 rr:predicateMap :pm_59. :pm_59 rr:constant skos:prefLabel. :pom_59 rr:objectMap :om_59. -:om_59 a rr:ObjectMap; - rr:template "1/{ParameterValue}"; - rr:termType rr:Literal. -:map_other-rail-inclinations_0 rml:logicalSource :source_12. -:source_12 a rml:LogicalSource; - rml:source :database_12; - rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.6.5'));". -:database_12 a d2rq:Database; - d2rq:jdbcDSN "//10.10.160.21:1433"; - d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; - d2rq:username "SA"; - d2rq:password "ChooChoo2020". -:source_12 rml:referenceFormulation ql:CSV. -:map_other-rail-inclinations_0 a rr:TriplesMap; - rdfs:label "other-rail-inclinations". -:s_12 a rr:SubjectMap. -:map_other-rail-inclinations_0 rr:subjectMap :s_12. -:s_12 rr:template "http://era.europa.eu/concepts/rail-inclinations#{OtherURI}". -:pom_60 a rr:PredicateObjectMap. -:map_other-rail-inclinations_0 rr:predicateObjectMap :pom_60. -:pm_60 a rr:PredicateMap. -:pom_60 rr:predicateMap :pm_60. -:pm_60 rr:constant rdf:type. -:pom_60 rr:objectMap :om_60. -:om_60 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/rail-inclinations#RailInclination"; - rr:termType rr:IRI. -:pom_61 a rr:PredicateObjectMap. -:map_other-rail-inclinations_0 rr:predicateObjectMap :pom_61. -:pm_61 a rr:PredicateMap. -:pom_61 rr:predicateMap :pm_61. -:pm_61 rr:constant skos:prefLabel. -:pom_61 rr:objectMap :om_61. -:om_61 a fnml:FunctionTermMap; +:om_59 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_18. -:fn_18 rml:logicalSource :source_12; +:fn_18 rml:logicalSource :source_11; rr:predicateObjectMap :pomexec_18. :pomexec_18 rr:predicateMap :pmexec_18. :pmexec_18 rr:constant fno:executes. :pomexec_18 rr:objectMap :omexec_18. :omexec_18 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_18 rr:predicateObjectMap :pom_62. -:pom_62 a rr:PredicateObjectMap; - rr:predicateMap :pm_62. -:pm_62 a rr:PredicateMap; +:fn_18 rr:predicateObjectMap :pom_60. +:pom_60 a rr:PredicateObjectMap; + rr:predicateMap :pm_60. +:pm_60 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_62 rr:objectMap :om_62. -:om_62 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_60 rr:objectMap :om_60. +:om_60 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_19. -:fn_19 rml:logicalSource :source_12; +:fn_19 rml:logicalSource :source_11; rr:predicateObjectMap :pomexec_19. :pomexec_19 rr:predicateMap :pmexec_19. :pmexec_19 rr:constant fno:executes. :pomexec_19 rr:objectMap :omexec_19. :omexec_19 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_19 rr:predicateObjectMap :pom_63. -:pom_63 a rr:PredicateObjectMap; - rr:predicateMap :pm_63. -:pm_63 a rr:PredicateMap; +:fn_19 rr:predicateObjectMap :pom_61. +:pom_61 a rr:PredicateObjectMap; + rr:predicateMap :pm_61. +:pm_61 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_63 rr:objectMap :om_63. -:om_63 a rr:ObjectMap; +:pom_61 rr:objectMap :om_61. +:om_61 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_19 rr:predicateObjectMap :pom_64. -:pom_64 a rr:PredicateObjectMap; - rr:predicateMap :pm_64. -:pm_64 a rr:PredicateMap; +:fn_19 rr:predicateObjectMap :pom_62. +:pom_62 a rr:PredicateObjectMap; + rr:predicateMap :pm_62. +:pm_62 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_64 rr:objectMap :om_64. -:om_64 a rr:ObjectMap; +:pom_62 rr:objectMap :om_62. +:om_62 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_18 rr:predicateObjectMap :pom_65. -:pom_65 a rr:PredicateObjectMap; - rr:predicateMap :pm_65. -:pm_65 a rr:PredicateMap; +:fn_18 rr:predicateObjectMap :pom_63. +:pom_63 a rr:PredicateObjectMap; + rr:predicateMap :pm_63. +:pm_63 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_65 rr:objectMap :om_65. -:om_65 a rr:ObjectMap; +:pom_63 rr:objectMap :om_63. +:om_63 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:map_gauge-changeover-facilities-eratv_0 rml:logicalSource :source_13. -:source_13 a rml:LogicalSource; - rml:source :database_13; +:map_gauge-changeover-facilities-eratv_0 rml:logicalSource :source_12. +:source_12 a rml:LogicalSource; + rml:source :database_12; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.1.11'));". -:database_13 a d2rq:Database; +:database_12 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_13 rml:referenceFormulation ql:CSV. +:source_12 rml:referenceFormulation ql:CSV. :map_gauge-changeover-facilities-eratv_0 a rr:TriplesMap; rdfs:label "gauge-changeover-facilities-eratv". -:s_13 a rr:SubjectMap. -:map_gauge-changeover-facilities-eratv_0 rr:subjectMap :s_13. -:s_13 rr:template "http://era.europa.eu/concepts/gauge-changeover-facilities#{ParameterURI}". -:pom_66 a rr:PredicateObjectMap. -:map_gauge-changeover-facilities-eratv_0 rr:predicateObjectMap :pom_66. -:pm_66 a rr:PredicateMap. -:pom_66 rr:predicateMap :pm_66. -:pm_66 rr:constant rdf:type. -:pom_66 rr:objectMap :om_66. -:om_66 a fnml:FunctionTermMap; +:s_12 a rr:SubjectMap. +:map_gauge-changeover-facilities-eratv_0 rr:subjectMap :s_12. +:s_12 rr:template "http://era.europa.eu/concepts/gauge-changeover-facilities#{ParameterURI}". +:pom_64 a rr:PredicateObjectMap. +:map_gauge-changeover-facilities-eratv_0 rr:predicateObjectMap :pom_64. +:pm_64 a rr:PredicateMap. +:pom_64 rr:predicateMap :pm_64. +:pm_64 rr:constant rdf:type. +:pom_64 rr:objectMap :om_64. +:om_64 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_20. -:fn_20 rml:logicalSource :source_13; +:fn_20 rml:logicalSource :source_12; rr:predicateObjectMap :pomexec_20. :pomexec_20 rr:predicateMap :pmexec_20. :pmexec_20 rr:constant fno:executes. :pomexec_20 rr:objectMap :omexec_20. :omexec_20 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_20 rr:predicateObjectMap :pom_67. -:pom_67 a rr:PredicateObjectMap; - rr:predicateMap :pm_67. -:pm_67 a rr:PredicateMap; +:fn_20 rr:predicateObjectMap :pom_65. +:pom_65 a rr:PredicateObjectMap; + rr:predicateMap :pm_65. +:pm_65 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_67 rr:objectMap :om_67. -:om_67 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_65 rr:objectMap :om_65. +:om_65 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_21. -:fn_21 rml:logicalSource :source_13; +:fn_21 rml:logicalSource :source_12; rr:predicateObjectMap :pomexec_21. :pomexec_21 rr:predicateMap :pmexec_21. :pmexec_21 rr:constant fno:executes. :pomexec_21 rr:objectMap :omexec_21. :omexec_21 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_21 rr:predicateObjectMap :pom_68. -:pom_68 a rr:PredicateObjectMap; - rr:predicateMap :pm_68. -:pm_68 a rr:PredicateMap; +:fn_21 rr:predicateObjectMap :pom_66. +:pom_66 a rr:PredicateObjectMap; + rr:predicateMap :pm_66. +:pm_66 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_68 rr:objectMap :om_68. -:om_68 a rr:ObjectMap; +:pom_66 rr:objectMap :om_66. +:om_66 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_21 rr:predicateObjectMap :pom_69. -:pom_69 a rr:PredicateObjectMap; - rr:predicateMap :pm_69. -:pm_69 a rr:PredicateMap; +:fn_21 rr:predicateObjectMap :pom_67. +:pom_67 a rr:PredicateObjectMap; + rr:predicateMap :pm_67. +:pm_67 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_69 rr:objectMap :om_69. -:om_69 a rr:ObjectMap; +:pom_67 rr:objectMap :om_67. +:om_67 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_20 rr:predicateObjectMap :pom_70. -:pom_70 a rr:PredicateObjectMap; - rr:predicateMap :pm_70. -:pm_70 a rr:PredicateMap; +:fn_20 rr:predicateObjectMap :pom_68. +:pom_68 a rr:PredicateObjectMap; + rr:predicateMap :pm_68. +:pm_68 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_70 rr:objectMap :om_70. -:om_70 a rr:ObjectMap; +:pom_68 rr:objectMap :om_68. +:om_68 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/gauge-changeover-facilities#GaugeChangeoverFacility"; rr:termType rr:IRI. -:pom_71 a rr:PredicateObjectMap. -:map_gauge-changeover-facilities-eratv_0 rr:predicateObjectMap :pom_71. -:pm_71 a rr:PredicateMap. -:pom_71 rr:predicateMap :pm_71. -:pm_71 rr:constant skos:prefLabel. -:pom_71 rr:objectMap :om_71. -:om_71 a fnml:FunctionTermMap; +:pom_69 a rr:PredicateObjectMap. +:map_gauge-changeover-facilities-eratv_0 rr:predicateObjectMap :pom_69. +:pm_69 a rr:PredicateMap. +:pom_69 rr:predicateMap :pm_69. +:pm_69 rr:constant skos:prefLabel. +:pom_69 rr:objectMap :om_69. +:om_69 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_22. -:fn_22 rml:logicalSource :source_13; +:fn_22 rml:logicalSource :source_12; rr:predicateObjectMap :pomexec_22. :pomexec_22 rr:predicateMap :pmexec_22. :pmexec_22 rr:constant fno:executes. :pomexec_22 rr:objectMap :omexec_22. :omexec_22 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_22 rr:predicateObjectMap :pom_72. -:pom_72 a rr:PredicateObjectMap; - rr:predicateMap :pm_72. -:pm_72 a rr:PredicateMap; +:fn_22 rr:predicateObjectMap :pom_70. +:pom_70 a rr:PredicateObjectMap; + rr:predicateMap :pm_70. +:pm_70 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_72 rr:objectMap :om_72. -:om_72 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_70 rr:objectMap :om_70. +:om_70 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_23. -:fn_23 rml:logicalSource :source_13; +:fn_23 rml:logicalSource :source_12; rr:predicateObjectMap :pomexec_23. :pomexec_23 rr:predicateMap :pmexec_23. :pmexec_23 rr:constant fno:executes. :pomexec_23 rr:objectMap :omexec_23. :omexec_23 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_23 rr:predicateObjectMap :pom_73. -:pom_73 a rr:PredicateObjectMap; - rr:predicateMap :pm_73. -:pm_73 a rr:PredicateMap; +:fn_23 rr:predicateObjectMap :pom_71. +:pom_71 a rr:PredicateObjectMap; + rr:predicateMap :pm_71. +:pm_71 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_73 rr:objectMap :om_73. -:om_73 a rr:ObjectMap; +:pom_71 rr:objectMap :om_71. +:om_71 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_23 rr:predicateObjectMap :pom_74. -:pom_74 a rr:PredicateObjectMap; - rr:predicateMap :pm_74. -:pm_74 a rr:PredicateMap; +:fn_23 rr:predicateObjectMap :pom_72. +:pom_72 a rr:PredicateObjectMap; + rr:predicateMap :pm_72. +:pm_72 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_74 rr:objectMap :om_74. -:om_74 a rr:ObjectMap; +:pom_72 rr:objectMap :om_72. +:om_72 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_22 rr:predicateObjectMap :pom_75. -:pom_75 a rr:PredicateObjectMap; - rr:predicateMap :pm_75. -:pm_75 a rr:PredicateMap; +:fn_22 rr:predicateObjectMap :pom_73. +:pom_73 a rr:PredicateObjectMap; + rr:predicateMap :pm_73. +:pm_73 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_75 rr:objectMap :om_75. -:om_75 a rr:ObjectMap; +:pom_73 rr:objectMap :om_73. +:om_73 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-gauge-changeover-facilities_0 rml:logicalSource :source_14. -:source_14 a rml:LogicalSource; - rml:source :database_14; +:map_other-gauge-changeover-facilities_0 rml:logicalSource :source_13. +:source_13 a rml:LogicalSource; + rml:source :database_13; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.1.11'));". -:database_14 a d2rq:Database; +:database_13 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_14 rml:referenceFormulation ql:CSV. +:source_13 rml:referenceFormulation ql:CSV. :map_other-gauge-changeover-facilities_0 a rr:TriplesMap; rdfs:label "other-gauge-changeover-facilities". -:s_14 a rr:SubjectMap. -:map_other-gauge-changeover-facilities_0 rr:subjectMap :s_14. -:s_14 rr:template "http://era.europa.eu/concepts/gauge-changeover-facilities#{OtherURI}". -:pom_76 a rr:PredicateObjectMap. -:map_other-gauge-changeover-facilities_0 rr:predicateObjectMap :pom_76. -:pm_76 a rr:PredicateMap. -:pom_76 rr:predicateMap :pm_76. -:pm_76 rr:constant rdf:type. -:pom_76 rr:objectMap :om_76. -:om_76 a rr:ObjectMap; +:s_13 a rr:SubjectMap. +:map_other-gauge-changeover-facilities_0 rr:subjectMap :s_13. +:s_13 rr:template "http://era.europa.eu/concepts/gauge-changeover-facilities#{OtherURI}". +:pom_74 a rr:PredicateObjectMap. +:map_other-gauge-changeover-facilities_0 rr:predicateObjectMap :pom_74. +:pm_74 a rr:PredicateMap. +:pom_74 rr:predicateMap :pm_74. +:pm_74 rr:constant rdf:type. +:pom_74 rr:objectMap :om_74. +:om_74 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/gauge-changeover-facilities#GaugeChangeoverFacility"; rr:termType rr:IRI. -:pom_77 a rr:PredicateObjectMap. -:map_other-gauge-changeover-facilities_0 rr:predicateObjectMap :pom_77. -:pm_77 a rr:PredicateMap. -:pom_77 rr:predicateMap :pm_77. -:pm_77 rr:constant skos:prefLabel. -:pom_77 rr:objectMap :om_77. -:om_77 a fnml:FunctionTermMap; +:pom_75 a rr:PredicateObjectMap. +:map_other-gauge-changeover-facilities_0 rr:predicateObjectMap :pom_75. +:pm_75 a rr:PredicateMap. +:pom_75 rr:predicateMap :pm_75. +:pm_75 rr:constant skos:prefLabel. +:pom_75 rr:objectMap :om_75. +:om_75 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_24. -:fn_24 rml:logicalSource :source_14; +:fn_24 rml:logicalSource :source_13; rr:predicateObjectMap :pomexec_24. :pomexec_24 rr:predicateMap :pmexec_24. :pmexec_24 rr:constant fno:executes. :pomexec_24 rr:objectMap :omexec_24. :omexec_24 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_24 rr:predicateObjectMap :pom_78. -:pom_78 a rr:PredicateObjectMap; - rr:predicateMap :pm_78. -:pm_78 a rr:PredicateMap; +:fn_24 rr:predicateObjectMap :pom_76. +:pom_76 a rr:PredicateObjectMap; + rr:predicateMap :pm_76. +:pm_76 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_78 rr:objectMap :om_78. -:om_78 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_76 rr:objectMap :om_76. +:om_76 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_25. -:fn_25 rml:logicalSource :source_14; +:fn_25 rml:logicalSource :source_13; rr:predicateObjectMap :pomexec_25. :pomexec_25 rr:predicateMap :pmexec_25. :pmexec_25 rr:constant fno:executes. :pomexec_25 rr:objectMap :omexec_25. :omexec_25 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_25 rr:predicateObjectMap :pom_79. +:fn_25 rr:predicateObjectMap :pom_77. +:pom_77 a rr:PredicateObjectMap; + rr:predicateMap :pm_77. +:pm_77 a rr:PredicateMap; + rr:constant grel:valueParameter. +:pom_77 rr:objectMap :om_77. +:om_77 a rr:ObjectMap; + rml:reference "OtherValue"; + rr:termType rr:Literal. +:fn_25 rr:predicateObjectMap :pom_78. +:pom_78 a rr:PredicateObjectMap; + rr:predicateMap :pm_78. +:pm_78 a rr:PredicateMap; + rr:constant grel:valueParameter2. +:pom_78 rr:objectMap :om_78. +:om_78 a rr:ObjectMap; + rr:constant ""; + rr:termType rr:Literal. +:fn_24 rr:predicateObjectMap :pom_79. :pom_79 a rr:PredicateObjectMap; rr:predicateMap :pm_79. :pm_79 a rr:PredicateMap; - rr:constant grel:valueParameter. + rr:constant idlab-fn:str. :pom_79 rr:objectMap :om_79. :om_79 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_25 rr:predicateObjectMap :pom_80. -:pom_80 a rr:PredicateObjectMap; - rr:predicateMap :pm_80. -:pm_80 a rr:PredicateMap; - rr:constant grel:valueParameter2. +:map_emergency-braking-profiles_0 rml:logicalSource :source_14. +:source_14 a rml:LogicalSource; + rml:source :database_14; + rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.7.5'));". +:database_14 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_14 rml:referenceFormulation ql:CSV. +:map_emergency-braking-profiles_0 a rr:TriplesMap; + rdfs:label "emergency-braking-profiles". +:s_14 a rr:SubjectMap. +:map_emergency-braking-profiles_0 rr:subjectMap :s_14. +:s_14 rr:template "http://era.europa.eu/concepts/emergency-braking-profiles#{ParameterURI}". +:pom_80 a rr:PredicateObjectMap. +:map_emergency-braking-profiles_0 rr:predicateObjectMap :pom_80. +:pm_80 a rr:PredicateMap. +:pom_80 rr:predicateMap :pm_80. +:pm_80 rr:constant rdf:type. :pom_80 rr:objectMap :om_80. :om_80 a rr:ObjectMap; - rr:constant ""; - rr:termType rr:Literal. -:fn_24 rr:predicateObjectMap :pom_81. -:pom_81 a rr:PredicateObjectMap; - rr:predicateMap :pm_81. -:pm_81 a rr:PredicateMap; - rr:constant idlab-fn:str. + rr:constant "http://era.europa.eu/concepts/emergency-braking-profiles#EmergencyBrakingProfile"; + rr:termType rr:IRI. +:pom_81 a rr:PredicateObjectMap. +:map_emergency-braking-profiles_0 rr:predicateObjectMap :pom_81. +:pm_81 a rr:PredicateMap. +:pom_81 rr:predicateMap :pm_81. +:pm_81 rr:constant skos:prefLabel. :pom_81 rr:objectMap :om_81. :om_81 a rr:ObjectMap; - rml:reference "OtherValue"; + rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_emergency-braking-profiles_0 rml:logicalSource :source_15. +:map_brake-weight-percentages_0 rml:logicalSource :source_15. :source_15 a rml:LogicalSource; rml:source :database_15; - rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.7.5'));". + rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.7.6'));". :database_15 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_15 rml:referenceFormulation ql:CSV. -:map_emergency-braking-profiles_0 a rr:TriplesMap; - rdfs:label "emergency-braking-profiles". +:map_brake-weight-percentages_0 a rr:TriplesMap; + rdfs:label "brake-weight-percentages". :s_15 a rr:SubjectMap. -:map_emergency-braking-profiles_0 rr:subjectMap :s_15. -:s_15 rr:template "http://era.europa.eu/concepts/emergency-braking-profiles#{ParameterURI}". +:map_brake-weight-percentages_0 rr:subjectMap :s_15. +:s_15 rr:template "http://era.europa.eu/concepts/brake-weight-percentages#{ParameterURI}". :pom_82 a rr:PredicateObjectMap. -:map_emergency-braking-profiles_0 rr:predicateObjectMap :pom_82. +:map_brake-weight-percentages_0 rr:predicateObjectMap :pom_82. :pm_82 a rr:PredicateMap. :pom_82 rr:predicateMap :pm_82. :pm_82 rr:constant rdf:type. :pom_82 rr:objectMap :om_82. :om_82 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/emergency-braking-profiles#EmergencyBrakingProfile"; + rr:constant "http://era.europa.eu/concepts/brake-weight-percentages#BrakeWeightPercentage"; rr:termType rr:IRI. :pom_83 a rr:PredicateObjectMap. -:map_emergency-braking-profiles_0 rr:predicateObjectMap :pom_83. +:map_brake-weight-percentages_0 rr:predicateObjectMap :pom_83. :pm_83 a rr:PredicateMap. :pom_83 rr:predicateMap :pm_83. :pm_83 rr:constant skos:prefLabel. @@ -1199,32 +1198,32 @@ :om_83 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_brake-weight-percentages_0 rml:logicalSource :source_16. +:map_thermal-capacity-tsi_0 rml:logicalSource :source_16. :source_16 a rml:LogicalSource; rml:source :database_16; - rml:query "SELECT DISTINCT RegistrationParameters.Value AS ParameterValue, REPLACE(RegistrationParameters.Value, ' ', '_') AS ParameterURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.7.6'));". + rml:query "SELECT DISTINCT CONCAT(CONCAT(RegistrationParameters.Value, RegistrationParameters.OtherValue), (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)) AS ParameterValue, REPLACE(CONCAT(CONCAT(RegistrationParameters.Value, RegistrationParameters.OtherValue), (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)), ' ', '_') AS UriName FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.7.2.1.1'));". :database_16 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_16 rml:referenceFormulation ql:CSV. -:map_brake-weight-percentages_0 a rr:TriplesMap; - rdfs:label "brake-weight-percentages". +:map_thermal-capacity-tsi_0 a rr:TriplesMap; + rdfs:label "thermal-capacity-tsi". :s_16 a rr:SubjectMap. -:map_brake-weight-percentages_0 rr:subjectMap :s_16. -:s_16 rr:template "http://era.europa.eu/concepts/brake-weight-percentages#{ParameterURI}". +:map_thermal-capacity-tsi_0 rr:subjectMap :s_16. +:s_16 rr:template "http://era.europa.eu/concepts/thermal-capacity#{UriName}". :pom_84 a rr:PredicateObjectMap. -:map_brake-weight-percentages_0 rr:predicateObjectMap :pom_84. +:map_thermal-capacity-tsi_0 rr:predicateObjectMap :pom_84. :pm_84 a rr:PredicateMap. :pom_84 rr:predicateMap :pm_84. :pm_84 rr:constant rdf:type. :pom_84 rr:objectMap :om_84. :om_84 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/brake-weight-percentages#BrakeWeightPercentage"; + rr:constant "http://era.europa.eu/concepts/thermal-capacity#ThermalCapacityTSIReference"; rr:termType rr:IRI. :pom_85 a rr:PredicateObjectMap. -:map_brake-weight-percentages_0 rr:predicateObjectMap :pom_85. +:map_thermal-capacity-tsi_0 rr:predicateObjectMap :pom_85. :pm_85 a rr:PredicateMap. :pom_85 rr:predicateMap :pm_85. :pm_85 rr:constant skos:prefLabel. @@ -1232,1429 +1231,1429 @@ :om_85 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_thermal-capacity-tsi_0 rml:logicalSource :source_17. +:map_snow-ice-hail-conditions_0 rml:logicalSource :source_17. :source_17 a rml:LogicalSource; rml:source :database_17; - rml:query "SELECT DISTINCT CONCAT(CONCAT(RegistrationParameters.Value, RegistrationParameters.OtherValue), (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)) AS ParameterValue, REPLACE(CONCAT(CONCAT(RegistrationParameters.Value, RegistrationParameters.OtherValue), (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)), ' ', '_') AS UriName FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.7.2.1.1'));". + rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.3.3'));". :database_17 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_17 rml:referenceFormulation ql:CSV. -:map_thermal-capacity-tsi_0 a rr:TriplesMap; - rdfs:label "thermal-capacity-tsi". +:map_snow-ice-hail-conditions_0 a rr:TriplesMap; + rdfs:label "snow-ice-hail-conditions". :s_17 a rr:SubjectMap. -:map_thermal-capacity-tsi_0 rr:subjectMap :s_17. -:s_17 rr:template "http://era.europa.eu/concepts/thermal-capacity#{UriName}". +:map_snow-ice-hail-conditions_0 rr:subjectMap :s_17. +:s_17 rr:template "http://era.europa.eu/concepts/ice-conditions#{ParameterURI}". :pom_86 a rr:PredicateObjectMap. -:map_thermal-capacity-tsi_0 rr:predicateObjectMap :pom_86. +:map_snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_86. :pm_86 a rr:PredicateMap. :pom_86 rr:predicateMap :pm_86. :pm_86 rr:constant rdf:type. :pom_86 rr:objectMap :om_86. -:om_86 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/thermal-capacity#ThermalCapacityTSIReference"; - rr:termType rr:IRI. -:pom_87 a rr:PredicateObjectMap. -:map_thermal-capacity-tsi_0 rr:predicateObjectMap :pom_87. -:pm_87 a rr:PredicateMap. -:pom_87 rr:predicateMap :pm_87. -:pm_87 rr:constant skos:prefLabel. -:pom_87 rr:objectMap :om_87. -:om_87 a rr:ObjectMap; - rml:reference "ParameterValue"; - rr:termType rr:Literal. -:map_snow-ice-hail-conditions_0 rml:logicalSource :source_18. -:source_18 a rml:LogicalSource; - rml:source :database_18; - rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.3.3'));". -:database_18 a d2rq:Database; - d2rq:jdbcDSN "//10.10.160.21:1433"; - d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; - d2rq:username "SA"; - d2rq:password "ChooChoo2020". -:source_18 rml:referenceFormulation ql:CSV. -:map_snow-ice-hail-conditions_0 a rr:TriplesMap; - rdfs:label "snow-ice-hail-conditions". -:s_18 a rr:SubjectMap. -:map_snow-ice-hail-conditions_0 rr:subjectMap :s_18. -:s_18 rr:template "http://era.europa.eu/concepts/ice-conditions#{ParameterURI}". -:pom_88 a rr:PredicateObjectMap. -:map_snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_88. -:pm_88 a rr:PredicateMap. -:pom_88 rr:predicateMap :pm_88. -:pm_88 rr:constant rdf:type. -:pom_88 rr:objectMap :om_88. -:om_88 a fnml:FunctionTermMap; +:om_86 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_26. -:fn_26 rml:logicalSource :source_18; +:fn_26 rml:logicalSource :source_17; rr:predicateObjectMap :pomexec_26. :pomexec_26 rr:predicateMap :pmexec_26. :pmexec_26 rr:constant fno:executes. :pomexec_26 rr:objectMap :omexec_26. :omexec_26 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_26 rr:predicateObjectMap :pom_89. -:pom_89 a rr:PredicateObjectMap; - rr:predicateMap :pm_89. -:pm_89 a rr:PredicateMap; +:fn_26 rr:predicateObjectMap :pom_87. +:pom_87 a rr:PredicateObjectMap; + rr:predicateMap :pm_87. +:pm_87 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_89 rr:objectMap :om_89. -:om_89 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_87 rr:objectMap :om_87. +:om_87 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_27. -:fn_27 rml:logicalSource :source_18; +:fn_27 rml:logicalSource :source_17; rr:predicateObjectMap :pomexec_27. :pomexec_27 rr:predicateMap :pmexec_27. :pmexec_27 rr:constant fno:executes. :pomexec_27 rr:objectMap :omexec_27. :omexec_27 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_27 rr:predicateObjectMap :pom_90. -:pom_90 a rr:PredicateObjectMap; - rr:predicateMap :pm_90. -:pm_90 a rr:PredicateMap; +:fn_27 rr:predicateObjectMap :pom_88. +:pom_88 a rr:PredicateObjectMap; + rr:predicateMap :pm_88. +:pm_88 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_90 rr:objectMap :om_90. -:om_90 a rr:ObjectMap; +:pom_88 rr:objectMap :om_88. +:om_88 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_27 rr:predicateObjectMap :pom_91. -:pom_91 a rr:PredicateObjectMap; - rr:predicateMap :pm_91. -:pm_91 a rr:PredicateMap; +:fn_27 rr:predicateObjectMap :pom_89. +:pom_89 a rr:PredicateObjectMap; + rr:predicateMap :pm_89. +:pm_89 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_91 rr:objectMap :om_91. -:om_91 a rr:ObjectMap; +:pom_89 rr:objectMap :om_89. +:om_89 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_26 rr:predicateObjectMap :pom_92. -:pom_92 a rr:PredicateObjectMap; - rr:predicateMap :pm_92. -:pm_92 a rr:PredicateMap; +:fn_26 rr:predicateObjectMap :pom_90. +:pom_90 a rr:PredicateObjectMap; + rr:predicateMap :pm_90. +:pm_90 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_92 rr:objectMap :om_92. -:om_92 a rr:ObjectMap; +:pom_90 rr:objectMap :om_90. +:om_90 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/ice-conditions#IceCondition"; rr:termType rr:IRI. -:pom_93 a rr:PredicateObjectMap. -:map_snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_93. -:pm_93 a rr:PredicateMap. -:pom_93 rr:predicateMap :pm_93. -:pm_93 rr:constant skos:prefLabel. -:pom_93 rr:objectMap :om_93. -:om_93 a fnml:FunctionTermMap; +:pom_91 a rr:PredicateObjectMap. +:map_snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_91. +:pm_91 a rr:PredicateMap. +:pom_91 rr:predicateMap :pm_91. +:pm_91 rr:constant skos:prefLabel. +:pom_91 rr:objectMap :om_91. +:om_91 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_28. -:fn_28 rml:logicalSource :source_18; +:fn_28 rml:logicalSource :source_17; rr:predicateObjectMap :pomexec_28. :pomexec_28 rr:predicateMap :pmexec_28. :pmexec_28 rr:constant fno:executes. :pomexec_28 rr:objectMap :omexec_28. :omexec_28 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_28 rr:predicateObjectMap :pom_94. -:pom_94 a rr:PredicateObjectMap; - rr:predicateMap :pm_94. -:pm_94 a rr:PredicateMap; +:fn_28 rr:predicateObjectMap :pom_92. +:pom_92 a rr:PredicateObjectMap; + rr:predicateMap :pm_92. +:pm_92 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_94 rr:objectMap :om_94. -:om_94 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_92 rr:objectMap :om_92. +:om_92 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_29. -:fn_29 rml:logicalSource :source_18; +:fn_29 rml:logicalSource :source_17; rr:predicateObjectMap :pomexec_29. :pomexec_29 rr:predicateMap :pmexec_29. :pmexec_29 rr:constant fno:executes. :pomexec_29 rr:objectMap :omexec_29. :omexec_29 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_29 rr:predicateObjectMap :pom_95. -:pom_95 a rr:PredicateObjectMap; - rr:predicateMap :pm_95. -:pm_95 a rr:PredicateMap; +:fn_29 rr:predicateObjectMap :pom_93. +:pom_93 a rr:PredicateObjectMap; + rr:predicateMap :pm_93. +:pm_93 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_95 rr:objectMap :om_95. -:om_95 a rr:ObjectMap; +:pom_93 rr:objectMap :om_93. +:om_93 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_29 rr:predicateObjectMap :pom_96. -:pom_96 a rr:PredicateObjectMap; - rr:predicateMap :pm_96. -:pm_96 a rr:PredicateMap; +:fn_29 rr:predicateObjectMap :pom_94. +:pom_94 a rr:PredicateObjectMap; + rr:predicateMap :pm_94. +:pm_94 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_96 rr:objectMap :om_96. -:om_96 a rr:ObjectMap; +:pom_94 rr:objectMap :om_94. +:om_94 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_28 rr:predicateObjectMap :pom_97. -:pom_97 a rr:PredicateObjectMap; - rr:predicateMap :pm_97. -:pm_97 a rr:PredicateMap; +:fn_28 rr:predicateObjectMap :pom_95. +:pom_95 a rr:PredicateObjectMap; + rr:predicateMap :pm_95. +:pm_95 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_97 rr:objectMap :om_97. -:om_97 a rr:ObjectMap; +:pom_95 rr:objectMap :om_95. +:om_95 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-snow-ice-hail-conditions_0 rml:logicalSource :source_19. -:source_19 a rml:LogicalSource; - rml:source :database_19; +:map_other-snow-ice-hail-conditions_0 rml:logicalSource :source_18. +:source_18 a rml:LogicalSource; + rml:source :database_18; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.3.3'));". -:database_19 a d2rq:Database; +:database_18 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_19 rml:referenceFormulation ql:CSV. +:source_18 rml:referenceFormulation ql:CSV. :map_other-snow-ice-hail-conditions_0 a rr:TriplesMap; rdfs:label "other-snow-ice-hail-conditions". -:s_19 a rr:SubjectMap. -:map_other-snow-ice-hail-conditions_0 rr:subjectMap :s_19. -:s_19 rr:template "http://era.europa.eu/concepts/ice-conditions#{OtherURI}". -:pom_98 a rr:PredicateObjectMap. -:map_other-snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_98. -:pm_98 a rr:PredicateMap. -:pom_98 rr:predicateMap :pm_98. -:pm_98 rr:constant rdf:type. -:pom_98 rr:objectMap :om_98. -:om_98 a rr:ObjectMap; +:s_18 a rr:SubjectMap. +:map_other-snow-ice-hail-conditions_0 rr:subjectMap :s_18. +:s_18 rr:template "http://era.europa.eu/concepts/ice-conditions#{OtherURI}". +:pom_96 a rr:PredicateObjectMap. +:map_other-snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_96. +:pm_96 a rr:PredicateMap. +:pom_96 rr:predicateMap :pm_96. +:pm_96 rr:constant rdf:type. +:pom_96 rr:objectMap :om_96. +:om_96 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/ice-conditions#IceCondition"; rr:termType rr:IRI. -:pom_99 a rr:PredicateObjectMap. -:map_other-snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_99. -:pm_99 a rr:PredicateMap. -:pom_99 rr:predicateMap :pm_99. -:pm_99 rr:constant skos:prefLabel. -:pom_99 rr:objectMap :om_99. -:om_99 a fnml:FunctionTermMap; +:pom_97 a rr:PredicateObjectMap. +:map_other-snow-ice-hail-conditions_0 rr:predicateObjectMap :pom_97. +:pm_97 a rr:PredicateMap. +:pom_97 rr:predicateMap :pm_97. +:pm_97 rr:constant skos:prefLabel. +:pom_97 rr:objectMap :om_97. +:om_97 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_30. -:fn_30 rml:logicalSource :source_19; +:fn_30 rml:logicalSource :source_18; rr:predicateObjectMap :pomexec_30. :pomexec_30 rr:predicateMap :pmexec_30. :pmexec_30 rr:constant fno:executes. :pomexec_30 rr:objectMap :omexec_30. :omexec_30 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_30 rr:predicateObjectMap :pom_100. -:pom_100 a rr:PredicateObjectMap; - rr:predicateMap :pm_100. -:pm_100 a rr:PredicateMap; +:fn_30 rr:predicateObjectMap :pom_98. +:pom_98 a rr:PredicateObjectMap; + rr:predicateMap :pm_98. +:pm_98 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_100 rr:objectMap :om_100. -:om_100 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_98 rr:objectMap :om_98. +:om_98 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_31. -:fn_31 rml:logicalSource :source_19; +:fn_31 rml:logicalSource :source_18; rr:predicateObjectMap :pomexec_31. :pomexec_31 rr:predicateMap :pmexec_31. :pmexec_31 rr:constant fno:executes. :pomexec_31 rr:objectMap :omexec_31. :omexec_31 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_31 rr:predicateObjectMap :pom_101. -:pom_101 a rr:PredicateObjectMap; - rr:predicateMap :pm_101. -:pm_101 a rr:PredicateMap; +:fn_31 rr:predicateObjectMap :pom_99. +:pom_99 a rr:PredicateObjectMap; + rr:predicateMap :pm_99. +:pm_99 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_101 rr:objectMap :om_101. -:om_101 a rr:ObjectMap; +:pom_99 rr:objectMap :om_99. +:om_99 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_31 rr:predicateObjectMap :pom_102. -:pom_102 a rr:PredicateObjectMap; - rr:predicateMap :pm_102. -:pm_102 a rr:PredicateMap; +:fn_31 rr:predicateObjectMap :pom_100. +:pom_100 a rr:PredicateObjectMap; + rr:predicateMap :pm_100. +:pm_100 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_102 rr:objectMap :om_102. -:om_102 a rr:ObjectMap; +:pom_100 rr:objectMap :om_100. +:om_100 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_30 rr:predicateObjectMap :pom_103. -:pom_103 a rr:PredicateObjectMap; - rr:predicateMap :pm_103. -:pm_103 a rr:PredicateMap; +:fn_30 rr:predicateObjectMap :pom_101. +:pom_101 a rr:PredicateObjectMap; + rr:predicateMap :pm_101. +:pm_101 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_103 rr:objectMap :om_103. -:om_103 a rr:ObjectMap; +:pom_101 rr:objectMap :om_101. +:om_101 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:map_contact-line-systems_0 rml:logicalSource :source_20. -:source_20 a rml:LogicalSource; - rml:source :database_20; +:map_contact-line-systems_0 rml:logicalSource :source_19. +:source_19 a rml:LogicalSource; + rml:source :database_19; rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". -:database_20 a d2rq:Database; +:database_19 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_20 rml:referenceFormulation ql:CSV. +:source_19 rml:referenceFormulation ql:CSV. :map_contact-line-systems_0 a rr:TriplesMap; rdfs:label "contact-line-systems". -:s_20 a rr:SubjectMap. -:map_contact-line-systems_0 rr:subjectMap :s_20. -:s_20 rr:template "http://era.europa.eu/concepts/contact-line-systems#{UriName}". -:pom_104 a rr:PredicateObjectMap. -:map_contact-line-systems_0 rr:predicateObjectMap :pom_104. -:pm_104 a rr:PredicateMap. -:pom_104 rr:predicateMap :pm_104. -:pm_104 rr:constant rdf:type. -:pom_104 rr:objectMap :om_104. -:om_104 a rr:ObjectMap; +:s_19 a rr:SubjectMap. +:map_contact-line-systems_0 rr:subjectMap :s_19. +:s_19 rr:template "http://era.europa.eu/concepts/contact-line-systems#{UriName}". +:pom_102 a rr:PredicateObjectMap. +:map_contact-line-systems_0 rr:predicateObjectMap :pom_102. +:pm_102 a rr:PredicateMap. +:pom_102 rr:predicateMap :pm_102. +:pm_102 rr:constant rdf:type. +:pom_102 rr:objectMap :om_102. +:om_102 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/contact-line-systems#ContactLineSystem"; rr:termType rr:IRI. -:pom_105 a rr:PredicateObjectMap. -:map_contact-line-systems_0 rr:predicateObjectMap :pom_105. -:pm_105 a rr:PredicateMap. -:pom_105 rr:predicateMap :pm_105. -:pm_105 rr:constant skos:prefLabel. -:pom_105 rr:objectMap :om_105. -:om_105 a rr:ObjectMap; +:pom_103 a rr:PredicateObjectMap. +:map_contact-line-systems_0 rr:predicateObjectMap :pom_103. +:pm_103 a rr:PredicateMap. +:pom_103 rr:predicateMap :pm_103. +:pm_103 rr:constant skos:prefLabel. +:pom_103 rr:objectMap :om_103. +:om_103 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_energy-supply-systems-eratv_0 rml:logicalSource :source_21. -:source_21 a rml:LogicalSource; - rml:source :database_21; +:map_energy-supply-systems-eratv_0 rml:logicalSource :source_20. +:source_20 a rml:LogicalSource; + rml:source :database_20; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.10.1'));". -:database_21 a d2rq:Database; +:database_20 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_21 rml:referenceFormulation ql:CSV. +:source_20 rml:referenceFormulation ql:CSV. :map_energy-supply-systems-eratv_0 a rr:TriplesMap; rdfs:label "energy-supply-systems-eratv". -:s_21 a rr:SubjectMap. -:map_energy-supply-systems-eratv_0 rr:subjectMap :s_21. -:s_21 rr:template "http://era.europa.eu/concepts/energy-supply-systems#{ParameterURI}". -:pom_106 a rr:PredicateObjectMap. -:map_energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_106. -:pm_106 a rr:PredicateMap. -:pom_106 rr:predicateMap :pm_106. -:pm_106 rr:constant rdf:type. -:pom_106 rr:objectMap :om_106. -:om_106 a fnml:FunctionTermMap; +:s_20 a rr:SubjectMap. +:map_energy-supply-systems-eratv_0 rr:subjectMap :s_20. +:s_20 rr:template "http://era.europa.eu/concepts/energy-supply-systems#{ParameterURI}". +:pom_104 a rr:PredicateObjectMap. +:map_energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_104. +:pm_104 a rr:PredicateMap. +:pom_104 rr:predicateMap :pm_104. +:pm_104 rr:constant rdf:type. +:pom_104 rr:objectMap :om_104. +:om_104 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_32. -:fn_32 rml:logicalSource :source_21; +:fn_32 rml:logicalSource :source_20; rr:predicateObjectMap :pomexec_32. :pomexec_32 rr:predicateMap :pmexec_32. :pmexec_32 rr:constant fno:executes. :pomexec_32 rr:objectMap :omexec_32. :omexec_32 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_32 rr:predicateObjectMap :pom_107. -:pom_107 a rr:PredicateObjectMap; - rr:predicateMap :pm_107. -:pm_107 a rr:PredicateMap; +:fn_32 rr:predicateObjectMap :pom_105. +:pom_105 a rr:PredicateObjectMap; + rr:predicateMap :pm_105. +:pm_105 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_107 rr:objectMap :om_107. -:om_107 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_105 rr:objectMap :om_105. +:om_105 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_33. -:fn_33 rml:logicalSource :source_21; +:fn_33 rml:logicalSource :source_20; rr:predicateObjectMap :pomexec_33. :pomexec_33 rr:predicateMap :pmexec_33. :pmexec_33 rr:constant fno:executes. :pomexec_33 rr:objectMap :omexec_33. :omexec_33 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_33 rr:predicateObjectMap :pom_108. -:pom_108 a rr:PredicateObjectMap; - rr:predicateMap :pm_108. -:pm_108 a rr:PredicateMap; +:fn_33 rr:predicateObjectMap :pom_106. +:pom_106 a rr:PredicateObjectMap; + rr:predicateMap :pm_106. +:pm_106 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_108 rr:objectMap :om_108. -:om_108 a rr:ObjectMap; +:pom_106 rr:objectMap :om_106. +:om_106 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_33 rr:predicateObjectMap :pom_109. -:pom_109 a rr:PredicateObjectMap; - rr:predicateMap :pm_109. -:pm_109 a rr:PredicateMap; +:fn_33 rr:predicateObjectMap :pom_107. +:pom_107 a rr:PredicateObjectMap; + rr:predicateMap :pm_107. +:pm_107 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_109 rr:objectMap :om_109. -:om_109 a rr:ObjectMap; +:pom_107 rr:objectMap :om_107. +:om_107 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_32 rr:predicateObjectMap :pom_110. -:pom_110 a rr:PredicateObjectMap; - rr:predicateMap :pm_110. -:pm_110 a rr:PredicateMap; - rr:constant idlab-fn:str. -:pom_110 rr:objectMap :om_110. -:om_110 a rr:ObjectMap; +:fn_32 rr:predicateObjectMap :pom_108. +:pom_108 a rr:PredicateObjectMap; + rr:predicateMap :pm_108. +:pm_108 a rr:PredicateMap; + rr:constant idlab-fn:str. +:pom_108 rr:objectMap :om_108. +:om_108 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/energy-supply-systems#EnergySupplySystem"; rr:termType rr:IRI. -:pom_111 a rr:PredicateObjectMap. -:map_energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_111. -:pm_111 a rr:PredicateMap. -:pom_111 rr:predicateMap :pm_111. -:pm_111 rr:constant skos:prefLabel. -:pom_111 rr:objectMap :om_111. -:om_111 a fnml:FunctionTermMap; +:pom_109 a rr:PredicateObjectMap. +:map_energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_109. +:pm_109 a rr:PredicateMap. +:pom_109 rr:predicateMap :pm_109. +:pm_109 rr:constant skos:prefLabel. +:pom_109 rr:objectMap :om_109. +:om_109 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_34. -:fn_34 rml:logicalSource :source_21; +:fn_34 rml:logicalSource :source_20; rr:predicateObjectMap :pomexec_34. :pomexec_34 rr:predicateMap :pmexec_34. :pmexec_34 rr:constant fno:executes. :pomexec_34 rr:objectMap :omexec_34. :omexec_34 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_34 rr:predicateObjectMap :pom_112. -:pom_112 a rr:PredicateObjectMap; - rr:predicateMap :pm_112. -:pm_112 a rr:PredicateMap; +:fn_34 rr:predicateObjectMap :pom_110. +:pom_110 a rr:PredicateObjectMap; + rr:predicateMap :pm_110. +:pm_110 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_112 rr:objectMap :om_112. -:om_112 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_110 rr:objectMap :om_110. +:om_110 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_35. -:fn_35 rml:logicalSource :source_21; +:fn_35 rml:logicalSource :source_20; rr:predicateObjectMap :pomexec_35. :pomexec_35 rr:predicateMap :pmexec_35. :pmexec_35 rr:constant fno:executes. :pomexec_35 rr:objectMap :omexec_35. :omexec_35 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_35 rr:predicateObjectMap :pom_113. -:pom_113 a rr:PredicateObjectMap; - rr:predicateMap :pm_113. -:pm_113 a rr:PredicateMap; +:fn_35 rr:predicateObjectMap :pom_111. +:pom_111 a rr:PredicateObjectMap; + rr:predicateMap :pm_111. +:pm_111 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_113 rr:objectMap :om_113. -:om_113 a rr:ObjectMap; +:pom_111 rr:objectMap :om_111. +:om_111 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_35 rr:predicateObjectMap :pom_114. -:pom_114 a rr:PredicateObjectMap; - rr:predicateMap :pm_114. -:pm_114 a rr:PredicateMap; +:fn_35 rr:predicateObjectMap :pom_112. +:pom_112 a rr:PredicateObjectMap; + rr:predicateMap :pm_112. +:pm_112 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_114 rr:objectMap :om_114. -:om_114 a rr:ObjectMap; +:pom_112 rr:objectMap :om_112. +:om_112 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_34 rr:predicateObjectMap :pom_115. -:pom_115 a rr:PredicateObjectMap; - rr:predicateMap :pm_115. -:pm_115 a rr:PredicateMap; +:fn_34 rr:predicateObjectMap :pom_113. +:pom_113 a rr:PredicateObjectMap; + rr:predicateMap :pm_113. +:pm_113 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_115 rr:objectMap :om_115. -:om_115 a rr:ObjectMap; +:pom_113 rr:objectMap :om_113. +:om_113 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_energy-supply-systems-rinf_0 rml:logicalSource :source_22. -:source_22 a rml:LogicalSource; - rml:source :database_22; +:map_energy-supply-systems-rinf_0 rml:logicalSource :source_21. +:source_21 a rml:LogicalSource; + rml:source :database_21; rml:query "SELECT DISTINCT (SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID) AS ParameterValue, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". -:database_22 a d2rq:Database; +:database_21 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_22 rml:referenceFormulation ql:CSV. +:source_21 rml:referenceFormulation ql:CSV. :map_energy-supply-systems-rinf_0 a rr:TriplesMap; rdfs:label "energy-supply-systems-rinf". -:s_22 a rr:SubjectMap. -:map_energy-supply-systems-rinf_0 rr:subjectMap :s_22. -:s_22 rr:template "http://era.europa.eu/concepts/energy-supply-systems#{ParameterURI}". -:pom_116 a rr:PredicateObjectMap. -:map_energy-supply-systems-rinf_0 rr:predicateObjectMap :pom_116. -:pm_116 a rr:PredicateMap. -:pom_116 rr:predicateMap :pm_116. -:pm_116 rr:constant rdf:type. -:pom_116 rr:objectMap :om_116. -:om_116 a fnml:FunctionTermMap; +:s_21 a rr:SubjectMap. +:map_energy-supply-systems-rinf_0 rr:subjectMap :s_21. +:s_21 rr:template "http://era.europa.eu/concepts/energy-supply-systems#{ParameterURI}". +:pom_114 a rr:PredicateObjectMap. +:map_energy-supply-systems-rinf_0 rr:predicateObjectMap :pom_114. +:pm_114 a rr:PredicateMap. +:pom_114 rr:predicateMap :pm_114. +:pm_114 rr:constant rdf:type. +:pom_114 rr:objectMap :om_114. +:om_114 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_36. -:fn_36 rml:logicalSource :source_22; +:fn_36 rml:logicalSource :source_21; rr:predicateObjectMap :pomexec_36. :pomexec_36 rr:predicateMap :pmexec_36. :pmexec_36 rr:constant fno:executes. :pomexec_36 rr:objectMap :omexec_36. :omexec_36 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_36 rr:predicateObjectMap :pom_117. -:pom_117 a rr:PredicateObjectMap; - rr:predicateMap :pm_117. -:pm_117 a rr:PredicateMap; +:fn_36 rr:predicateObjectMap :pom_115. +:pom_115 a rr:PredicateObjectMap; + rr:predicateMap :pm_115. +:pm_115 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_117 rr:objectMap :om_117. -:om_117 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_115 rr:objectMap :om_115. +:om_115 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_37. -:fn_37 rml:logicalSource :source_22; +:fn_37 rml:logicalSource :source_21; rr:predicateObjectMap :pomexec_37. :pomexec_37 rr:predicateMap :pmexec_37. :pmexec_37 rr:constant fno:executes. :pomexec_37 rr:objectMap :omexec_37. :omexec_37 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_37 rr:predicateObjectMap :pom_118. -:pom_118 a rr:PredicateObjectMap; - rr:predicateMap :pm_118. -:pm_118 a rr:PredicateMap; +:fn_37 rr:predicateObjectMap :pom_116. +:pom_116 a rr:PredicateObjectMap; + rr:predicateMap :pm_116. +:pm_116 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_118 rr:objectMap :om_118. -:om_118 a rr:ObjectMap; +:pom_116 rr:objectMap :om_116. +:om_116 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_37 rr:predicateObjectMap :pom_119. -:pom_119 a rr:PredicateObjectMap; - rr:predicateMap :pm_119. -:pm_119 a rr:PredicateMap; +:fn_37 rr:predicateObjectMap :pom_117. +:pom_117 a rr:PredicateObjectMap; + rr:predicateMap :pm_117. +:pm_117 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_119 rr:objectMap :om_119. -:om_119 a rr:ObjectMap; +:pom_117 rr:objectMap :om_117. +:om_117 a rr:ObjectMap; rr:constant "other"; rr:termType rr:Literal. -:fn_36 rr:predicateObjectMap :pom_120. -:pom_120 a rr:PredicateObjectMap; - rr:predicateMap :pm_120. -:pm_120 a rr:PredicateMap; +:fn_36 rr:predicateObjectMap :pom_118. +:pom_118 a rr:PredicateObjectMap; + rr:predicateMap :pm_118. +:pm_118 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_120 rr:objectMap :om_120. -:om_120 a rr:ObjectMap; +:pom_118 rr:objectMap :om_118. +:om_118 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/energy-supply-systems#EnergySupplySystem"; rr:termType rr:IRI. -:pom_121 a rr:PredicateObjectMap. -:map_energy-supply-systems-rinf_0 rr:predicateObjectMap :pom_121. -:pm_121 a rr:PredicateMap. -:pom_121 rr:predicateMap :pm_121. -:pm_121 rr:constant skos:prefLabel. -:pom_121 rr:objectMap :om_121. -:om_121 a fnml:FunctionTermMap; +:pom_119 a rr:PredicateObjectMap. +:map_energy-supply-systems-rinf_0 rr:predicateObjectMap :pom_119. +:pm_119 a rr:PredicateMap. +:pom_119 rr:predicateMap :pm_119. +:pm_119 rr:constant skos:prefLabel. +:pom_119 rr:objectMap :om_119. +:om_119 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_38. -:fn_38 rml:logicalSource :source_22; +:fn_38 rml:logicalSource :source_21; rr:predicateObjectMap :pomexec_38. :pomexec_38 rr:predicateMap :pmexec_38. :pmexec_38 rr:constant fno:executes. :pomexec_38 rr:objectMap :omexec_38. :omexec_38 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_38 rr:predicateObjectMap :pom_122. -:pom_122 a rr:PredicateObjectMap; - rr:predicateMap :pm_122. -:pm_122 a rr:PredicateMap; +:fn_38 rr:predicateObjectMap :pom_120. +:pom_120 a rr:PredicateObjectMap; + rr:predicateMap :pm_120. +:pm_120 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_122 rr:objectMap :om_122. -:om_122 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_120 rr:objectMap :om_120. +:om_120 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_39. -:fn_39 rml:logicalSource :source_22; +:fn_39 rml:logicalSource :source_21; rr:predicateObjectMap :pomexec_39. :pomexec_39 rr:predicateMap :pmexec_39. :pmexec_39 rr:constant fno:executes. :pomexec_39 rr:objectMap :omexec_39. :omexec_39 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_39 rr:predicateObjectMap :pom_123. -:pom_123 a rr:PredicateObjectMap; - rr:predicateMap :pm_123. -:pm_123 a rr:PredicateMap; +:fn_39 rr:predicateObjectMap :pom_121. +:pom_121 a rr:PredicateObjectMap; + rr:predicateMap :pm_121. +:pm_121 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_123 rr:objectMap :om_123. -:om_123 a rr:ObjectMap; +:pom_121 rr:objectMap :om_121. +:om_121 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_39 rr:predicateObjectMap :pom_124. -:pom_124 a rr:PredicateObjectMap; - rr:predicateMap :pm_124. -:pm_124 a rr:PredicateMap; +:fn_39 rr:predicateObjectMap :pom_122. +:pom_122 a rr:PredicateObjectMap; + rr:predicateMap :pm_122. +:pm_122 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_124 rr:objectMap :om_124. -:om_124 a rr:ObjectMap; +:pom_122 rr:objectMap :om_122. +:om_122 a rr:ObjectMap; rr:constant "other"; rr:termType rr:Literal. -:fn_38 rr:predicateObjectMap :pom_125. -:pom_125 a rr:PredicateObjectMap; - rr:predicateMap :pm_125. -:pm_125 a rr:PredicateMap; +:fn_38 rr:predicateObjectMap :pom_123. +:pom_123 a rr:PredicateObjectMap; + rr:predicateMap :pm_123. +:pm_123 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_125 rr:objectMap :om_125. -:om_125 a rr:ObjectMap; +:pom_123 rr:objectMap :om_123. +:om_123 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-energy-supply-systems-eratv_0 rml:logicalSource :source_23. -:source_23 a rml:LogicalSource; - rml:source :database_23; +:map_other-energy-supply-systems-eratv_0 rml:logicalSource :source_22. +:source_22 a rml:LogicalSource; + rml:source :database_22; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.10.1'));". -:database_23 a d2rq:Database; +:database_22 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_23 rml:referenceFormulation ql:CSV. +:source_22 rml:referenceFormulation ql:CSV. :map_other-energy-supply-systems-eratv_0 a rr:TriplesMap; rdfs:label "other-energy-supply-systems-eratv". -:s_23 a rr:SubjectMap. -:map_other-energy-supply-systems-eratv_0 rr:subjectMap :s_23. -:s_23 rr:template "http://era.europa.eu/concepts/energy-supply-systems#{OtherURI}". -:pom_126 a rr:PredicateObjectMap. -:map_other-energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_126. -:pm_126 a rr:PredicateMap. -:pom_126 rr:predicateMap :pm_126. -:pm_126 rr:constant rdf:type. -:pom_126 rr:objectMap :om_126. -:om_126 a rr:ObjectMap; +:s_22 a rr:SubjectMap. +:map_other-energy-supply-systems-eratv_0 rr:subjectMap :s_22. +:s_22 rr:template "http://era.europa.eu/concepts/energy-supply-systems#{OtherURI}". +:pom_124 a rr:PredicateObjectMap. +:map_other-energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_124. +:pm_124 a rr:PredicateMap. +:pom_124 rr:predicateMap :pm_124. +:pm_124 rr:constant rdf:type. +:pom_124 rr:objectMap :om_124. +:om_124 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/energy-supply-systems#EnergySupplySystem"; rr:termType rr:IRI. -:pom_127 a rr:PredicateObjectMap. -:map_other-energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_127. -:pm_127 a rr:PredicateMap. -:pom_127 rr:predicateMap :pm_127. -:pm_127 rr:constant skos:prefLabel. -:pom_127 rr:objectMap :om_127. -:om_127 a fnml:FunctionTermMap; +:pom_125 a rr:PredicateObjectMap. +:map_other-energy-supply-systems-eratv_0 rr:predicateObjectMap :pom_125. +:pm_125 a rr:PredicateMap. +:pom_125 rr:predicateMap :pm_125. +:pm_125 rr:constant skos:prefLabel. +:pom_125 rr:objectMap :om_125. +:om_125 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_40. -:fn_40 rml:logicalSource :source_23; +:fn_40 rml:logicalSource :source_22; rr:predicateObjectMap :pomexec_40. :pomexec_40 rr:predicateMap :pmexec_40. :pmexec_40 rr:constant fno:executes. :pomexec_40 rr:objectMap :omexec_40. :omexec_40 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_40 rr:predicateObjectMap :pom_128. -:pom_128 a rr:PredicateObjectMap; - rr:predicateMap :pm_128. -:pm_128 a rr:PredicateMap; +:fn_40 rr:predicateObjectMap :pom_126. +:pom_126 a rr:PredicateObjectMap; + rr:predicateMap :pm_126. +:pm_126 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_128 rr:objectMap :om_128. -:om_128 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_126 rr:objectMap :om_126. +:om_126 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_41. -:fn_41 rml:logicalSource :source_23; +:fn_41 rml:logicalSource :source_22; rr:predicateObjectMap :pomexec_41. :pomexec_41 rr:predicateMap :pmexec_41. :pmexec_41 rr:constant fno:executes. :pomexec_41 rr:objectMap :omexec_41. :omexec_41 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_41 rr:predicateObjectMap :pom_129. -:pom_129 a rr:PredicateObjectMap; - rr:predicateMap :pm_129. -:pm_129 a rr:PredicateMap; +:fn_41 rr:predicateObjectMap :pom_127. +:pom_127 a rr:PredicateObjectMap; + rr:predicateMap :pm_127. +:pm_127 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_129 rr:objectMap :om_129. -:om_129 a rr:ObjectMap; +:pom_127 rr:objectMap :om_127. +:om_127 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_41 rr:predicateObjectMap :pom_130. -:pom_130 a rr:PredicateObjectMap; - rr:predicateMap :pm_130. -:pm_130 a rr:PredicateMap; +:fn_41 rr:predicateObjectMap :pom_128. +:pom_128 a rr:PredicateObjectMap; + rr:predicateMap :pm_128. +:pm_128 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_130 rr:objectMap :om_130. -:om_130 a rr:ObjectMap; +:pom_128 rr:objectMap :om_128. +:om_128 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_40 rr:predicateObjectMap :pom_131. -:pom_131 a rr:PredicateObjectMap; - rr:predicateMap :pm_131. -:pm_131 a rr:PredicateMap; +:fn_40 rr:predicateObjectMap :pom_129. +:pom_129 a rr:PredicateObjectMap; + rr:predicateMap :pm_129. +:pm_129 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_131 rr:objectMap :om_131. -:om_131 a rr:ObjectMap; +:pom_129 rr:objectMap :om_129. +:om_129 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:map_tsi-pantograph-heads_0 rml:logicalSource :source_24. -:source_24 a rml:LogicalSource; - rml:source :database_24; +:map_tsi-pantograph-heads_0 rml:logicalSource :source_23. +:source_23 a rml:LogicalSource; + rml:source :database_23; rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". -:database_24 a d2rq:Database; +:database_23 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_24 rml:referenceFormulation ql:CSV. +:source_23 rml:referenceFormulation ql:CSV. :map_tsi-pantograph-heads_0 a rr:TriplesMap; rdfs:label "tsi-pantograph-heads". -:s_24 a rr:SubjectMap. -:map_tsi-pantograph-heads_0 rr:subjectMap :s_24. -:s_24 rr:template "http://era.europa.eu/concepts/pantograph-heads#{UriName}". +:s_23 a rr:SubjectMap. +:map_tsi-pantograph-heads_0 rr:subjectMap :s_23. +:s_23 rr:template "http://era.europa.eu/concepts/pantograph-heads#{UriName}". +:pom_130 a rr:PredicateObjectMap. +:map_tsi-pantograph-heads_0 rr:predicateObjectMap :pom_130. +:pm_130 a rr:PredicateMap. +:pom_130 rr:predicateMap :pm_130. +:pm_130 rr:constant rdf:type. +:pom_130 rr:objectMap :om_130. +:om_130 a rr:ObjectMap; + rr:constant "http://era.europa.eu/concepts/pantograph-heads#PantographHead"; + rr:termType rr:IRI. +:pom_131 a rr:PredicateObjectMap. +:map_tsi-pantograph-heads_0 rr:predicateObjectMap :pom_131. +:pm_131 a rr:PredicateMap. +:pom_131 rr:predicateMap :pm_131. +:pm_131 rr:constant skos:prefLabel. +:pom_131 rr:objectMap :om_131. +:om_131 a rr:ObjectMap; + rml:reference "ParameterValue"; + rr:termType rr:Literal. :pom_132 a rr:PredicateObjectMap. :map_tsi-pantograph-heads_0 rr:predicateObjectMap :pom_132. :pm_132 a rr:PredicateMap. :pom_132 rr:predicateMap :pm_132. -:pm_132 rr:constant rdf:type. +:pm_132 rr:constant era:tsiCompliant. :pom_132 rr:objectMap :om_132. :om_132 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/pantograph-heads#PantographHead"; - rr:termType rr:IRI. -:pom_133 a rr:PredicateObjectMap. -:map_tsi-pantograph-heads_0 rr:predicateObjectMap :pom_133. -:pm_133 a rr:PredicateMap. -:pom_133 rr:predicateMap :pm_133. -:pm_133 rr:constant skos:prefLabel. -:pom_133 rr:objectMap :om_133. -:om_133 a rr:ObjectMap; - rml:reference "ParameterValue"; - rr:termType rr:Literal. -:pom_134 a rr:PredicateObjectMap. -:map_tsi-pantograph-heads_0 rr:predicateObjectMap :pom_134. -:pm_134 a rr:PredicateMap. -:pom_134 rr:predicateMap :pm_134. -:pm_134 rr:constant era:tsiCompliant. -:pom_134 rr:objectMap :om_134. -:om_134 a rr:ObjectMap; rr:constant "true"; rr:termType rr:Literal; rr:datatype xsd:boolean. -:map_other-pantograph-heads-rinf_0 rml:logicalSource :source_25. -:source_25 a rml:LogicalSource; - rml:source :database_25; +:map_other-pantograph-heads-rinf_0 rml:logicalSource :source_24. +:source_24 a rml:LogicalSource; + rml:source :database_24; rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". -:database_25 a d2rq:Database; +:database_24 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_25 rml:referenceFormulation ql:CSV. +:source_24 rml:referenceFormulation ql:CSV. :map_other-pantograph-heads-rinf_0 a rr:TriplesMap; rdfs:label "other-pantograph-heads-rinf". -:s_25 a rr:SubjectMap. -:map_other-pantograph-heads-rinf_0 rr:subjectMap :s_25. -:s_25 rr:template "http://era.europa.eu/concepts/pantograph-heads#{UriName}". +:s_24 a rr:SubjectMap. +:map_other-pantograph-heads-rinf_0 rr:subjectMap :s_24. +:s_24 rr:template "http://era.europa.eu/concepts/pantograph-heads#{UriName}". +:pom_133 a rr:PredicateObjectMap. +:map_other-pantograph-heads-rinf_0 rr:predicateObjectMap :pom_133. +:pm_133 a rr:PredicateMap. +:pom_133 rr:predicateMap :pm_133. +:pm_133 rr:constant rdf:type. +:pom_133 rr:objectMap :om_133. +:om_133 a rr:ObjectMap; + rr:constant "http://era.europa.eu/concepts/pantograph-heads#PantographHead"; + rr:termType rr:IRI. +:pom_134 a rr:PredicateObjectMap. +:map_other-pantograph-heads-rinf_0 rr:predicateObjectMap :pom_134. +:pm_134 a rr:PredicateMap. +:pom_134 rr:predicateMap :pm_134. +:pm_134 rr:constant skos:prefLabel. +:pom_134 rr:objectMap :om_134. +:om_134 a rr:ObjectMap; + rml:reference "ParameterValue"; + rr:termType rr:Literal. :pom_135 a rr:PredicateObjectMap. :map_other-pantograph-heads-rinf_0 rr:predicateObjectMap :pom_135. :pm_135 a rr:PredicateMap. :pom_135 rr:predicateMap :pm_135. -:pm_135 rr:constant rdf:type. +:pm_135 rr:constant era:tsiCompliant. :pom_135 rr:objectMap :om_135. :om_135 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/pantograph-heads#PantographHead"; - rr:termType rr:IRI. -:pom_136 a rr:PredicateObjectMap. -:map_other-pantograph-heads-rinf_0 rr:predicateObjectMap :pom_136. -:pm_136 a rr:PredicateMap. -:pom_136 rr:predicateMap :pm_136. -:pm_136 rr:constant skos:prefLabel. -:pom_136 rr:objectMap :om_136. -:om_136 a rr:ObjectMap; - rml:reference "ParameterValue"; - rr:termType rr:Literal. -:pom_137 a rr:PredicateObjectMap. -:map_other-pantograph-heads-rinf_0 rr:predicateObjectMap :pom_137. -:pm_137 a rr:PredicateMap. -:pom_137 rr:predicateMap :pm_137. -:pm_137 rr:constant era:tsiCompliant. -:pom_137 rr:objectMap :om_137. -:om_137 a rr:ObjectMap; rr:constant "false"; rr:termType rr:Literal; rr:datatype xsd:boolean. -:map_contact-strip-materials-eratv_0 rml:logicalSource :source_26. -:source_26 a rml:LogicalSource; - rml:source :database_26; +:map_contact-strip-materials-eratv_0 rml:logicalSource :source_25. +:source_25 a rml:LogicalSource; + rml:source :database_25; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE(LOWER((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.10.10'));". -:database_26 a d2rq:Database; +:database_25 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_26 rml:referenceFormulation ql:CSV. +:source_25 rml:referenceFormulation ql:CSV. :map_contact-strip-materials-eratv_0 a rr:TriplesMap; rdfs:label "contact-strip-materials-eratv". -:s_26 a rr:SubjectMap. -:map_contact-strip-materials-eratv_0 rr:subjectMap :s_26. -:s_26 rr:template "http://era.europa.eu/concepts/contact-strip-materials#{ParameterURI}". -:pom_138 a rr:PredicateObjectMap. -:map_contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_138. -:pm_138 a rr:PredicateMap. -:pom_138 rr:predicateMap :pm_138. -:pm_138 rr:constant rdf:type. -:pom_138 rr:objectMap :om_138. -:om_138 a fnml:FunctionTermMap; +:s_25 a rr:SubjectMap. +:map_contact-strip-materials-eratv_0 rr:subjectMap :s_25. +:s_25 rr:template "http://era.europa.eu/concepts/contact-strip-materials#{ParameterURI}". +:pom_136 a rr:PredicateObjectMap. +:map_contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_136. +:pm_136 a rr:PredicateMap. +:pom_136 rr:predicateMap :pm_136. +:pm_136 rr:constant rdf:type. +:pom_136 rr:objectMap :om_136. +:om_136 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_42. -:fn_42 rml:logicalSource :source_26; +:fn_42 rml:logicalSource :source_25; rr:predicateObjectMap :pomexec_42. :pomexec_42 rr:predicateMap :pmexec_42. :pmexec_42 rr:constant fno:executes. :pomexec_42 rr:objectMap :omexec_42. :omexec_42 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_42 rr:predicateObjectMap :pom_139. -:pom_139 a rr:PredicateObjectMap; - rr:predicateMap :pm_139. -:pm_139 a rr:PredicateMap; +:fn_42 rr:predicateObjectMap :pom_137. +:pom_137 a rr:PredicateObjectMap; + rr:predicateMap :pm_137. +:pm_137 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_139 rr:objectMap :om_139. -:om_139 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_137 rr:objectMap :om_137. +:om_137 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_43. -:fn_43 rml:logicalSource :source_26; +:fn_43 rml:logicalSource :source_25; rr:predicateObjectMap :pomexec_43. :pomexec_43 rr:predicateMap :pmexec_43. :pmexec_43 rr:constant fno:executes. :pomexec_43 rr:objectMap :omexec_43. :omexec_43 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_43 rr:predicateObjectMap :pom_140. -:pom_140 a rr:PredicateObjectMap; - rr:predicateMap :pm_140. -:pm_140 a rr:PredicateMap; +:fn_43 rr:predicateObjectMap :pom_138. +:pom_138 a rr:PredicateObjectMap; + rr:predicateMap :pm_138. +:pm_138 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_140 rr:objectMap :om_140. -:om_140 a rr:ObjectMap; +:pom_138 rr:objectMap :om_138. +:om_138 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_43 rr:predicateObjectMap :pom_141. -:pom_141 a rr:PredicateObjectMap; - rr:predicateMap :pm_141. -:pm_141 a rr:PredicateMap; +:fn_43 rr:predicateObjectMap :pom_139. +:pom_139 a rr:PredicateObjectMap; + rr:predicateMap :pm_139. +:pm_139 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_141 rr:objectMap :om_141. -:om_141 a rr:ObjectMap; +:pom_139 rr:objectMap :om_139. +:om_139 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_42 rr:predicateObjectMap :pom_142. -:pom_142 a rr:PredicateObjectMap; - rr:predicateMap :pm_142. -:pm_142 a rr:PredicateMap; +:fn_42 rr:predicateObjectMap :pom_140. +:pom_140 a rr:PredicateObjectMap; + rr:predicateMap :pm_140. +:pm_140 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_142 rr:objectMap :om_142. -:om_142 a rr:ObjectMap; +:pom_140 rr:objectMap :om_140. +:om_140 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/contact-strip-materials#ContactStripMaterial"; rr:termType rr:IRI. -:pom_143 a rr:PredicateObjectMap. -:map_contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_143. -:pm_143 a rr:PredicateMap. -:pom_143 rr:predicateMap :pm_143. -:pm_143 rr:constant skos:prefLabel. -:pom_143 rr:objectMap :om_143. -:om_143 a fnml:FunctionTermMap; +:pom_141 a rr:PredicateObjectMap. +:map_contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_141. +:pm_141 a rr:PredicateMap. +:pom_141 rr:predicateMap :pm_141. +:pm_141 rr:constant skos:prefLabel. +:pom_141 rr:objectMap :om_141. +:om_141 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_44. -:fn_44 rml:logicalSource :source_26; +:fn_44 rml:logicalSource :source_25; rr:predicateObjectMap :pomexec_44. :pomexec_44 rr:predicateMap :pmexec_44. :pmexec_44 rr:constant fno:executes. :pomexec_44 rr:objectMap :omexec_44. :omexec_44 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_44 rr:predicateObjectMap :pom_144. -:pom_144 a rr:PredicateObjectMap; - rr:predicateMap :pm_144. -:pm_144 a rr:PredicateMap; +:fn_44 rr:predicateObjectMap :pom_142. +:pom_142 a rr:PredicateObjectMap; + rr:predicateMap :pm_142. +:pm_142 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_144 rr:objectMap :om_144. -:om_144 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_142 rr:objectMap :om_142. +:om_142 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_45. -:fn_45 rml:logicalSource :source_26; +:fn_45 rml:logicalSource :source_25; rr:predicateObjectMap :pomexec_45. :pomexec_45 rr:predicateMap :pmexec_45. :pmexec_45 rr:constant fno:executes. :pomexec_45 rr:objectMap :omexec_45. :omexec_45 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_45 rr:predicateObjectMap :pom_145. -:pom_145 a rr:PredicateObjectMap; - rr:predicateMap :pm_145. -:pm_145 a rr:PredicateMap; +:fn_45 rr:predicateObjectMap :pom_143. +:pom_143 a rr:PredicateObjectMap; + rr:predicateMap :pm_143. +:pm_143 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_145 rr:objectMap :om_145. -:om_145 a rr:ObjectMap; +:pom_143 rr:objectMap :om_143. +:om_143 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_45 rr:predicateObjectMap :pom_146. -:pom_146 a rr:PredicateObjectMap; - rr:predicateMap :pm_146. -:pm_146 a rr:PredicateMap; +:fn_45 rr:predicateObjectMap :pom_144. +:pom_144 a rr:PredicateObjectMap; + rr:predicateMap :pm_144. +:pm_144 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_146 rr:objectMap :om_146. -:om_146 a rr:ObjectMap; +:pom_144 rr:objectMap :om_144. +:om_144 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_44 rr:predicateObjectMap :pom_147. -:pom_147 a rr:PredicateObjectMap; - rr:predicateMap :pm_147. -:pm_147 a rr:PredicateMap; +:fn_44 rr:predicateObjectMap :pom_145. +:pom_145 a rr:PredicateObjectMap; + rr:predicateMap :pm_145. +:pm_145 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_147 rr:objectMap :om_147. -:om_147 a rr:ObjectMap; +:pom_145 rr:objectMap :om_145. +:om_145 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_contact-strip-materials-rinf_0 rml:logicalSource :source_27. -:source_27 a rml:LogicalSource; - rml:source :database_27; +:map_contact-strip-materials-rinf_0 rml:logicalSource :source_26. +:source_26 a rml:LogicalSource; + rml:source :database_26; rml:query "SELECT DISTINCT (SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID) AS ParameterValue, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". -:database_27 a d2rq:Database; +:database_26 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_27 rml:referenceFormulation ql:CSV. +:source_26 rml:referenceFormulation ql:CSV. :map_contact-strip-materials-rinf_0 a rr:TriplesMap; rdfs:label "contact-strip-materials-rinf". -:s_27 a rr:SubjectMap. -:map_contact-strip-materials-rinf_0 rr:subjectMap :s_27. -:s_27 rr:template "http://era.europa.eu/concepts/contact-strip-materials#{ParameterURI}". -:pom_148 a rr:PredicateObjectMap. -:map_contact-strip-materials-rinf_0 rr:predicateObjectMap :pom_148. -:pm_148 a rr:PredicateMap. -:pom_148 rr:predicateMap :pm_148. -:pm_148 rr:constant rdf:type. -:pom_148 rr:objectMap :om_148. -:om_148 a fnml:FunctionTermMap; +:s_26 a rr:SubjectMap. +:map_contact-strip-materials-rinf_0 rr:subjectMap :s_26. +:s_26 rr:template "http://era.europa.eu/concepts/contact-strip-materials#{ParameterURI}". +:pom_146 a rr:PredicateObjectMap. +:map_contact-strip-materials-rinf_0 rr:predicateObjectMap :pom_146. +:pm_146 a rr:PredicateMap. +:pom_146 rr:predicateMap :pm_146. +:pm_146 rr:constant rdf:type. +:pom_146 rr:objectMap :om_146. +:om_146 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_46. -:fn_46 rml:logicalSource :source_27; +:fn_46 rml:logicalSource :source_26; rr:predicateObjectMap :pomexec_46. :pomexec_46 rr:predicateMap :pmexec_46. :pmexec_46 rr:constant fno:executes. :pomexec_46 rr:objectMap :omexec_46. :omexec_46 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_46 rr:predicateObjectMap :pom_149. -:pom_149 a rr:PredicateObjectMap; - rr:predicateMap :pm_149. -:pm_149 a rr:PredicateMap; +:fn_46 rr:predicateObjectMap :pom_147. +:pom_147 a rr:PredicateObjectMap; + rr:predicateMap :pm_147. +:pm_147 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_149 rr:objectMap :om_149. -:om_149 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_147 rr:objectMap :om_147. +:om_147 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_47. -:fn_47 rml:logicalSource :source_27; +:fn_47 rml:logicalSource :source_26; rr:predicateObjectMap :pomexec_47. :pomexec_47 rr:predicateMap :pmexec_47. :pmexec_47 rr:constant fno:executes. :pomexec_47 rr:objectMap :omexec_47. :omexec_47 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_47 rr:predicateObjectMap :pom_150. -:pom_150 a rr:PredicateObjectMap; - rr:predicateMap :pm_150. -:pm_150 a rr:PredicateMap; +:fn_47 rr:predicateObjectMap :pom_148. +:pom_148 a rr:PredicateObjectMap; + rr:predicateMap :pm_148. +:pm_148 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_150 rr:objectMap :om_150. -:om_150 a rr:ObjectMap; +:pom_148 rr:objectMap :om_148. +:om_148 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_47 rr:predicateObjectMap :pom_151. -:pom_151 a rr:PredicateObjectMap; - rr:predicateMap :pm_151. -:pm_151 a rr:PredicateMap; +:fn_47 rr:predicateObjectMap :pom_149. +:pom_149 a rr:PredicateObjectMap; + rr:predicateMap :pm_149. +:pm_149 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_151 rr:objectMap :om_151. -:om_151 a rr:ObjectMap; +:pom_149 rr:objectMap :om_149. +:om_149 a rr:ObjectMap; rr:constant "other"; rr:termType rr:Literal. -:fn_46 rr:predicateObjectMap :pom_152. -:pom_152 a rr:PredicateObjectMap; - rr:predicateMap :pm_152. -:pm_152 a rr:PredicateMap; +:fn_46 rr:predicateObjectMap :pom_150. +:pom_150 a rr:PredicateObjectMap; + rr:predicateMap :pm_150. +:pm_150 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_152 rr:objectMap :om_152. -:om_152 a rr:ObjectMap; +:pom_150 rr:objectMap :om_150. +:om_150 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/contact-strip-materials#ContactStripMaterial"; rr:termType rr:IRI. -:pom_153 a rr:PredicateObjectMap. -:map_contact-strip-materials-rinf_0 rr:predicateObjectMap :pom_153. -:pm_153 a rr:PredicateMap. -:pom_153 rr:predicateMap :pm_153. -:pm_153 rr:constant skos:prefLabel. -:pom_153 rr:objectMap :om_153. -:om_153 a fnml:FunctionTermMap; +:pom_151 a rr:PredicateObjectMap. +:map_contact-strip-materials-rinf_0 rr:predicateObjectMap :pom_151. +:pm_151 a rr:PredicateMap. +:pom_151 rr:predicateMap :pm_151. +:pm_151 rr:constant skos:prefLabel. +:pom_151 rr:objectMap :om_151. +:om_151 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_48. -:fn_48 rml:logicalSource :source_27; +:fn_48 rml:logicalSource :source_26; rr:predicateObjectMap :pomexec_48. :pomexec_48 rr:predicateMap :pmexec_48. :pmexec_48 rr:constant fno:executes. :pomexec_48 rr:objectMap :omexec_48. :omexec_48 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_48 rr:predicateObjectMap :pom_154. -:pom_154 a rr:PredicateObjectMap; - rr:predicateMap :pm_154. -:pm_154 a rr:PredicateMap; +:fn_48 rr:predicateObjectMap :pom_152. +:pom_152 a rr:PredicateObjectMap; + rr:predicateMap :pm_152. +:pm_152 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_154 rr:objectMap :om_154. -:om_154 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_152 rr:objectMap :om_152. +:om_152 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_49. -:fn_49 rml:logicalSource :source_27; +:fn_49 rml:logicalSource :source_26; rr:predicateObjectMap :pomexec_49. :pomexec_49 rr:predicateMap :pmexec_49. :pmexec_49 rr:constant fno:executes. :pomexec_49 rr:objectMap :omexec_49. :omexec_49 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_49 rr:predicateObjectMap :pom_155. -:pom_155 a rr:PredicateObjectMap; - rr:predicateMap :pm_155. -:pm_155 a rr:PredicateMap; +:fn_49 rr:predicateObjectMap :pom_153. +:pom_153 a rr:PredicateObjectMap; + rr:predicateMap :pm_153. +:pm_153 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_155 rr:objectMap :om_155. -:om_155 a rr:ObjectMap; +:pom_153 rr:objectMap :om_153. +:om_153 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_49 rr:predicateObjectMap :pom_156. -:pom_156 a rr:PredicateObjectMap; - rr:predicateMap :pm_156. -:pm_156 a rr:PredicateMap; +:fn_49 rr:predicateObjectMap :pom_154. +:pom_154 a rr:PredicateObjectMap; + rr:predicateMap :pm_154. +:pm_154 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_156 rr:objectMap :om_156. -:om_156 a rr:ObjectMap; +:pom_154 rr:objectMap :om_154. +:om_154 a rr:ObjectMap; rr:constant "other"; rr:termType rr:Literal. -:fn_48 rr:predicateObjectMap :pom_157. -:pom_157 a rr:PredicateObjectMap; - rr:predicateMap :pm_157. -:pm_157 a rr:PredicateMap; +:fn_48 rr:predicateObjectMap :pom_155. +:pom_155 a rr:PredicateObjectMap; + rr:predicateMap :pm_155. +:pm_155 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_157 rr:objectMap :om_157. -:om_157 a rr:ObjectMap; +:pom_155 rr:objectMap :om_155. +:om_155 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-contact-strip-materials-eratv_0 rml:logicalSource :source_28. -:source_28 a rml:LogicalSource; - rml:source :database_28; +:map_other-contact-strip-materials-eratv_0 rml:logicalSource :source_27. +:source_27 a rml:LogicalSource; + rml:source :database_27; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.10.10'));". -:database_28 a d2rq:Database; +:database_27 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_28 rml:referenceFormulation ql:CSV. +:source_27 rml:referenceFormulation ql:CSV. :map_other-contact-strip-materials-eratv_0 a rr:TriplesMap; rdfs:label "other-contact-strip-materials-eratv". -:s_28 a rr:SubjectMap. -:map_other-contact-strip-materials-eratv_0 rr:subjectMap :s_28. -:s_28 rr:template "http://era.europa.eu/concepts/contact-strip-materials#{OtherURI}". -:pom_158 a rr:PredicateObjectMap. -:map_other-contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_158. -:pm_158 a rr:PredicateMap. -:pom_158 rr:predicateMap :pm_158. -:pm_158 rr:constant rdf:type. -:pom_158 rr:objectMap :om_158. -:om_158 a rr:ObjectMap; +:s_27 a rr:SubjectMap. +:map_other-contact-strip-materials-eratv_0 rr:subjectMap :s_27. +:s_27 rr:template "http://era.europa.eu/concepts/contact-strip-materials#{OtherURI}". +:pom_156 a rr:PredicateObjectMap. +:map_other-contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_156. +:pm_156 a rr:PredicateMap. +:pom_156 rr:predicateMap :pm_156. +:pm_156 rr:constant rdf:type. +:pom_156 rr:objectMap :om_156. +:om_156 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/contact-strip-materials#ContactStripMaterial"; rr:termType rr:IRI. -:pom_159 a rr:PredicateObjectMap. -:map_other-contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_159. -:pm_159 a rr:PredicateMap. -:pom_159 rr:predicateMap :pm_159. -:pm_159 rr:constant skos:prefLabel. -:pom_159 rr:objectMap :om_159. -:om_159 a fnml:FunctionTermMap; +:pom_157 a rr:PredicateObjectMap. +:map_other-contact-strip-materials-eratv_0 rr:predicateObjectMap :pom_157. +:pm_157 a rr:PredicateMap. +:pom_157 rr:predicateMap :pm_157. +:pm_157 rr:constant skos:prefLabel. +:pom_157 rr:objectMap :om_157. +:om_157 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_50. -:fn_50 rml:logicalSource :source_28; +:fn_50 rml:logicalSource :source_27; rr:predicateObjectMap :pomexec_50. :pomexec_50 rr:predicateMap :pmexec_50. :pmexec_50 rr:constant fno:executes. :pomexec_50 rr:objectMap :omexec_50. :omexec_50 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_50 rr:predicateObjectMap :pom_160. -:pom_160 a rr:PredicateObjectMap; - rr:predicateMap :pm_160. -:pm_160 a rr:PredicateMap; +:fn_50 rr:predicateObjectMap :pom_158. +:pom_158 a rr:PredicateObjectMap; + rr:predicateMap :pm_158. +:pm_158 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_160 rr:objectMap :om_160. -:om_160 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_158 rr:objectMap :om_158. +:om_158 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_51. -:fn_51 rml:logicalSource :source_28; +:fn_51 rml:logicalSource :source_27; rr:predicateObjectMap :pomexec_51. :pomexec_51 rr:predicateMap :pmexec_51. :pmexec_51 rr:constant fno:executes. :pomexec_51 rr:objectMap :omexec_51. :omexec_51 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_51 rr:predicateObjectMap :pom_161. -:pom_161 a rr:PredicateObjectMap; - rr:predicateMap :pm_161. -:pm_161 a rr:PredicateMap; +:fn_51 rr:predicateObjectMap :pom_159. +:pom_159 a rr:PredicateObjectMap; + rr:predicateMap :pm_159. +:pm_159 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_161 rr:objectMap :om_161. -:om_161 a rr:ObjectMap; +:pom_159 rr:objectMap :om_159. +:om_159 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_51 rr:predicateObjectMap :pom_162. -:pom_162 a rr:PredicateObjectMap; - rr:predicateMap :pm_162. -:pm_162 a rr:PredicateMap; +:fn_51 rr:predicateObjectMap :pom_160. +:pom_160 a rr:PredicateObjectMap; + rr:predicateMap :pm_160. +:pm_160 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_162 rr:objectMap :om_162. -:om_162 a rr:ObjectMap; +:pom_160 rr:objectMap :om_160. +:om_160 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_50 rr:predicateObjectMap :pom_163. -:pom_163 a rr:PredicateObjectMap; - rr:predicateMap :pm_163. -:pm_163 a rr:PredicateMap; +:fn_50 rr:predicateObjectMap :pom_161. +:pom_161 a rr:PredicateObjectMap; + rr:predicateMap :pm_161. +:pm_161 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_163 rr:objectMap :om_163. -:om_163 a rr:ObjectMap; +:pom_161 rr:objectMap :om_161. +:om_161 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:map_platform-heights-eratv_0 rml:logicalSource :source_29. -:source_29 a rml:LogicalSource; - rml:source :database_29; +:map_platform-heights-eratv_0 rml:logicalSource :source_28. +:source_28 a rml:LogicalSource; + rml:source :database_28; rml:query "SELECT DISTINCT SUBSTRING(TRIM((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)), 1, 3) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.12.3.1'));". -:database_29 a d2rq:Database; +:database_28 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_29 rml:referenceFormulation ql:CSV. +:source_28 rml:referenceFormulation ql:CSV. :map_platform-heights-eratv_0 a rr:TriplesMap; rdfs:label "platform-heights-eratv". -:s_29 a rr:SubjectMap. -:map_platform-heights-eratv_0 rr:subjectMap :s_29. -:s_29 rr:template "http://era.europa.eu/concepts/platform-heights#{ParameterValue}". -:pom_164 a rr:PredicateObjectMap. -:map_platform-heights-eratv_0 rr:predicateObjectMap :pom_164. -:pm_164 a rr:PredicateMap. -:pom_164 rr:predicateMap :pm_164. -:pm_164 rr:constant rdf:type. -:pom_164 rr:objectMap :om_164. -:om_164 a fnml:FunctionTermMap; +:s_28 a rr:SubjectMap. +:map_platform-heights-eratv_0 rr:subjectMap :s_28. +:s_28 rr:template "http://era.europa.eu/concepts/platform-heights#{ParameterValue}". +:pom_162 a rr:PredicateObjectMap. +:map_platform-heights-eratv_0 rr:predicateObjectMap :pom_162. +:pm_162 a rr:PredicateMap. +:pom_162 rr:predicateMap :pm_162. +:pm_162 rr:constant rdf:type. +:pom_162 rr:objectMap :om_162. +:om_162 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_52. -:fn_52 rml:logicalSource :source_29; +:fn_52 rml:logicalSource :source_28; rr:predicateObjectMap :pomexec_52. :pomexec_52 rr:predicateMap :pmexec_52. :pmexec_52 rr:constant fno:executes. :pomexec_52 rr:objectMap :omexec_52. :omexec_52 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_52 rr:predicateObjectMap :pom_165. -:pom_165 a rr:PredicateObjectMap; - rr:predicateMap :pm_165. -:pm_165 a rr:PredicateMap; +:fn_52 rr:predicateObjectMap :pom_163. +:pom_163 a rr:PredicateObjectMap; + rr:predicateMap :pm_163. +:pm_163 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_165 rr:objectMap :om_165. -:om_165 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_163 rr:objectMap :om_163. +:om_163 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_53. -:fn_53 rml:logicalSource :source_29; +:fn_53 rml:logicalSource :source_28; rr:predicateObjectMap :pomexec_53. :pomexec_53 rr:predicateMap :pmexec_53. :pmexec_53 rr:constant fno:executes. :pomexec_53 rr:objectMap :omexec_53. :omexec_53 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_53 rr:predicateObjectMap :pom_166. -:pom_166 a rr:PredicateObjectMap; - rr:predicateMap :pm_166. -:pm_166 a rr:PredicateMap; +:fn_53 rr:predicateObjectMap :pom_164. +:pom_164 a rr:PredicateObjectMap; + rr:predicateMap :pm_164. +:pm_164 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_166 rr:objectMap :om_166. -:om_166 a rr:ObjectMap; +:pom_164 rr:objectMap :om_164. +:om_164 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_53 rr:predicateObjectMap :pom_167. -:pom_167 a rr:PredicateObjectMap; - rr:predicateMap :pm_167. -:pm_167 a rr:PredicateMap; +:fn_53 rr:predicateObjectMap :pom_165. +:pom_165 a rr:PredicateObjectMap; + rr:predicateMap :pm_165. +:pm_165 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_167 rr:objectMap :om_167. -:om_167 a rr:ObjectMap; +:pom_165 rr:objectMap :om_165. +:om_165 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_52 rr:predicateObjectMap :pom_168. -:pom_168 a rr:PredicateObjectMap; - rr:predicateMap :pm_168. -:pm_168 a rr:PredicateMap; +:fn_52 rr:predicateObjectMap :pom_166. +:pom_166 a rr:PredicateObjectMap; + rr:predicateMap :pm_166. +:pm_166 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_168 rr:objectMap :om_168. -:om_168 a rr:ObjectMap; +:pom_166 rr:objectMap :om_166. +:om_166 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/platform-heights#PlatformHeight"; rr:termType rr:IRI. -:pom_169 a rr:PredicateObjectMap. -:map_platform-heights-eratv_0 rr:predicateObjectMap :pom_169. -:pm_169 a rr:PredicateMap. -:pom_169 rr:predicateMap :pm_169. -:pm_169 rr:constant skos:prefLabel. -:pom_169 rr:objectMap :om_169. -:om_169 a fnml:FunctionTermMap; +:pom_167 a rr:PredicateObjectMap. +:map_platform-heights-eratv_0 rr:predicateObjectMap :pom_167. +:pm_167 a rr:PredicateMap. +:pom_167 rr:predicateMap :pm_167. +:pm_167 rr:constant skos:prefLabel. +:pom_167 rr:objectMap :om_167. +:om_167 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_54. -:fn_54 rml:logicalSource :source_29; +:fn_54 rml:logicalSource :source_28; rr:predicateObjectMap :pomexec_54. :pomexec_54 rr:predicateMap :pmexec_54. :pmexec_54 rr:constant fno:executes. :pomexec_54 rr:objectMap :omexec_54. :omexec_54 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_54 rr:predicateObjectMap :pom_170. -:pom_170 a rr:PredicateObjectMap; - rr:predicateMap :pm_170. -:pm_170 a rr:PredicateMap; +:fn_54 rr:predicateObjectMap :pom_168. +:pom_168 a rr:PredicateObjectMap; + rr:predicateMap :pm_168. +:pm_168 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_170 rr:objectMap :om_170. -:om_170 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_168 rr:objectMap :om_168. +:om_168 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_55. -:fn_55 rml:logicalSource :source_29; +:fn_55 rml:logicalSource :source_28; rr:predicateObjectMap :pomexec_55. :pomexec_55 rr:predicateMap :pmexec_55. :pmexec_55 rr:constant fno:executes. :pomexec_55 rr:objectMap :omexec_55. :omexec_55 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_55 rr:predicateObjectMap :pom_171. -:pom_171 a rr:PredicateObjectMap; - rr:predicateMap :pm_171. -:pm_171 a rr:PredicateMap; +:fn_55 rr:predicateObjectMap :pom_169. +:pom_169 a rr:PredicateObjectMap; + rr:predicateMap :pm_169. +:pm_169 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_171 rr:objectMap :om_171. -:om_171 a rr:ObjectMap; +:pom_169 rr:objectMap :om_169. +:om_169 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_55 rr:predicateObjectMap :pom_172. -:pom_172 a rr:PredicateObjectMap; - rr:predicateMap :pm_172. -:pm_172 a rr:PredicateMap; +:fn_55 rr:predicateObjectMap :pom_170. +:pom_170 a rr:PredicateObjectMap; + rr:predicateMap :pm_170. +:pm_170 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_172 rr:objectMap :om_172. -:om_172 a rr:ObjectMap; +:pom_170 rr:objectMap :om_170. +:om_170 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_54 rr:predicateObjectMap :pom_173. -:pom_173 a rr:PredicateObjectMap; - rr:predicateMap :pm_173. -:pm_173 a rr:PredicateMap; +:fn_54 rr:predicateObjectMap :pom_171. +:pom_171 a rr:PredicateObjectMap; + rr:predicateMap :pm_171. +:pm_171 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_173 rr:objectMap :om_173. -:om_173 a rr:ObjectMap; +:pom_171 rr:objectMap :om_171. +:om_171 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_platform-heights-rinf_0 rml:logicalSource :source_30. -:source_30 a rml:LogicalSource; - rml:source :database_30; +:map_platform-heights-rinf_0 rml:logicalSource :source_29. +:source_29 a rml:LogicalSource; + rml:source :database_29; rml:query "SELECT DISTINCT LookupValues.[Value] AS ParameterValue FROM RINF.dbo.Parameters, RINF.dbo.PlatformParameters, RINF.dbo.LookupValues WHERE PlatformParameters.ParameterID = Parameters.ID AND PlatformParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.2.1.0.6.5');". -:database_30 a d2rq:Database; +:database_29 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_30 rml:referenceFormulation ql:CSV. +:source_29 rml:referenceFormulation ql:CSV. :map_platform-heights-rinf_0 a rr:TriplesMap; rdfs:label "platform-heights-rinf". -:s_30 a rr:SubjectMap. -:map_platform-heights-rinf_0 rr:subjectMap :s_30. -:s_30 rr:template "http://era.europa.eu/concepts/platform-heights#{ParameterValue}". -:pom_174 a rr:PredicateObjectMap. -:map_platform-heights-rinf_0 rr:predicateObjectMap :pom_174. -:pm_174 a rr:PredicateMap. -:pom_174 rr:predicateMap :pm_174. -:pm_174 rr:constant rdf:type. -:pom_174 rr:objectMap :om_174. -:om_174 a fnml:FunctionTermMap; +:s_29 a rr:SubjectMap. +:map_platform-heights-rinf_0 rr:subjectMap :s_29. +:s_29 rr:template "http://era.europa.eu/concepts/platform-heights#{ParameterValue}". +:pom_172 a rr:PredicateObjectMap. +:map_platform-heights-rinf_0 rr:predicateObjectMap :pom_172. +:pm_172 a rr:PredicateMap. +:pom_172 rr:predicateMap :pm_172. +:pm_172 rr:constant rdf:type. +:pom_172 rr:objectMap :om_172. +:om_172 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_56. -:fn_56 rml:logicalSource :source_30; +:fn_56 rml:logicalSource :source_29; rr:predicateObjectMap :pomexec_56. :pomexec_56 rr:predicateMap :pmexec_56. :pmexec_56 rr:constant fno:executes. :pomexec_56 rr:objectMap :omexec_56. :omexec_56 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_56 rr:predicateObjectMap :pom_175. -:pom_175 a rr:PredicateObjectMap; - rr:predicateMap :pm_175. -:pm_175 a rr:PredicateMap; +:fn_56 rr:predicateObjectMap :pom_173. +:pom_173 a rr:PredicateObjectMap; + rr:predicateMap :pm_173. +:pm_173 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_175 rr:objectMap :om_175. -:om_175 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_173 rr:objectMap :om_173. +:om_173 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_57. -:fn_57 rml:logicalSource :source_30; +:fn_57 rml:logicalSource :source_29; rr:predicateObjectMap :pomexec_57. :pomexec_57 rr:predicateMap :pmexec_57. :pmexec_57 rr:constant fno:executes. :pomexec_57 rr:objectMap :omexec_57. :omexec_57 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_57 rr:predicateObjectMap :pom_176. -:pom_176 a rr:PredicateObjectMap; - rr:predicateMap :pm_176. -:pm_176 a rr:PredicateMap; +:fn_57 rr:predicateObjectMap :pom_174. +:pom_174 a rr:PredicateObjectMap; + rr:predicateMap :pm_174. +:pm_174 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_176 rr:objectMap :om_176. -:om_176 a rr:ObjectMap; +:pom_174 rr:objectMap :om_174. +:om_174 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_57 rr:predicateObjectMap :pom_177. -:pom_177 a rr:PredicateObjectMap; - rr:predicateMap :pm_177. -:pm_177 a rr:PredicateMap; +:fn_57 rr:predicateObjectMap :pom_175. +:pom_175 a rr:PredicateObjectMap; + rr:predicateMap :pm_175. +:pm_175 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_177 rr:objectMap :om_177. -:om_177 a rr:ObjectMap; +:pom_175 rr:objectMap :om_175. +:om_175 a rr:ObjectMap; rr:constant "other"; rr:termType rr:Literal. -:fn_56 rr:predicateObjectMap :pom_178. -:pom_178 a rr:PredicateObjectMap; - rr:predicateMap :pm_178. -:pm_178 a rr:PredicateMap; +:fn_56 rr:predicateObjectMap :pom_176. +:pom_176 a rr:PredicateObjectMap; + rr:predicateMap :pm_176. +:pm_176 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_178 rr:objectMap :om_178. -:om_178 a rr:ObjectMap; +:pom_176 rr:objectMap :om_176. +:om_176 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/platform-heights#PlatformHeight"; rr:termType rr:IRI. -:pom_179 a rr:PredicateObjectMap. -:map_platform-heights-rinf_0 rr:predicateObjectMap :pom_179. -:pm_179 a rr:PredicateMap. -:pom_179 rr:predicateMap :pm_179. -:pm_179 rr:constant skos:prefLabel. -:pom_179 rr:objectMap :om_179. -:om_179 a fnml:FunctionTermMap; +:pom_177 a rr:PredicateObjectMap. +:map_platform-heights-rinf_0 rr:predicateObjectMap :pom_177. +:pm_177 a rr:PredicateMap. +:pom_177 rr:predicateMap :pm_177. +:pm_177 rr:constant skos:prefLabel. +:pom_177 rr:objectMap :om_177. +:om_177 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_58. -:fn_58 rml:logicalSource :source_30; +:fn_58 rml:logicalSource :source_29; rr:predicateObjectMap :pomexec_58. :pomexec_58 rr:predicateMap :pmexec_58. :pmexec_58 rr:constant fno:executes. :pomexec_58 rr:objectMap :omexec_58. :omexec_58 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_58 rr:predicateObjectMap :pom_180. -:pom_180 a rr:PredicateObjectMap; - rr:predicateMap :pm_180. -:pm_180 a rr:PredicateMap; +:fn_58 rr:predicateObjectMap :pom_178. +:pom_178 a rr:PredicateObjectMap; + rr:predicateMap :pm_178. +:pm_178 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_180 rr:objectMap :om_180. -:om_180 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_178 rr:objectMap :om_178. +:om_178 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_59. -:fn_59 rml:logicalSource :source_30; +:fn_59 rml:logicalSource :source_29; rr:predicateObjectMap :pomexec_59. :pomexec_59 rr:predicateMap :pmexec_59. :pmexec_59 rr:constant fno:executes. :pomexec_59 rr:objectMap :omexec_59. :omexec_59 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_59 rr:predicateObjectMap :pom_181. -:pom_181 a rr:PredicateObjectMap; - rr:predicateMap :pm_181. -:pm_181 a rr:PredicateMap; +:fn_59 rr:predicateObjectMap :pom_179. +:pom_179 a rr:PredicateObjectMap; + rr:predicateMap :pm_179. +:pm_179 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_181 rr:objectMap :om_181. -:om_181 a rr:ObjectMap; +:pom_179 rr:objectMap :om_179. +:om_179 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:fn_59 rr:predicateObjectMap :pom_182. -:pom_182 a rr:PredicateObjectMap; - rr:predicateMap :pm_182. -:pm_182 a rr:PredicateMap; +:fn_59 rr:predicateObjectMap :pom_180. +:pom_180 a rr:PredicateObjectMap; + rr:predicateMap :pm_180. +:pm_180 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_182 rr:objectMap :om_182. -:om_182 a rr:ObjectMap; +:pom_180 rr:objectMap :om_180. +:om_180 a rr:ObjectMap; rr:constant "other"; rr:termType rr:Literal. -:fn_58 rr:predicateObjectMap :pom_183. -:pom_183 a rr:PredicateObjectMap; - rr:predicateMap :pm_183. -:pm_183 a rr:PredicateMap; +:fn_58 rr:predicateObjectMap :pom_181. +:pom_181 a rr:PredicateObjectMap; + rr:predicateMap :pm_181. +:pm_181 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_183 rr:objectMap :om_183. -:om_183 a rr:ObjectMap; +:pom_181 rr:objectMap :om_181. +:om_181 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-platform-heights-eratv_0 rml:logicalSource :source_31. -:source_31 a rml:LogicalSource; - rml:source :database_31; +:map_other-platform-heights-eratv_0 rml:logicalSource :source_30. +:source_30 a rml:LogicalSource; + rml:source :database_30; rml:query "SELECT DISTINCT SUBSTRING(TRIM((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId)), 1, 3) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.12.3.1'));". -:database_31 a d2rq:Database; +:database_30 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_31 rml:referenceFormulation ql:CSV. +:source_30 rml:referenceFormulation ql:CSV. :map_other-platform-heights-eratv_0 a rr:TriplesMap; rdfs:label "other-platform-heights-eratv". -:s_31 a rr:SubjectMap. -:map_other-platform-heights-eratv_0 rr:subjectMap :s_31. -:s_31 rr:template "http://era.europa.eu/concepts/platform-heights#{OtherURI}". -:pom_184 a rr:PredicateObjectMap. -:map_other-platform-heights-eratv_0 rr:predicateObjectMap :pom_184. -:pm_184 a rr:PredicateMap. -:pom_184 rr:predicateMap :pm_184. -:pm_184 rr:constant rdf:type. -:pom_184 rr:objectMap :om_184. -:om_184 a rr:ObjectMap; +:s_30 a rr:SubjectMap. +:map_other-platform-heights-eratv_0 rr:subjectMap :s_30. +:s_30 rr:template "http://era.europa.eu/concepts/platform-heights#{OtherURI}". +:pom_182 a rr:PredicateObjectMap. +:map_other-platform-heights-eratv_0 rr:predicateObjectMap :pom_182. +:pm_182 a rr:PredicateMap. +:pom_182 rr:predicateMap :pm_182. +:pm_182 rr:constant rdf:type. +:pom_182 rr:objectMap :om_182. +:om_182 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/platform-heights#PlatformHeight"; rr:termType rr:IRI. -:pom_185 a rr:PredicateObjectMap. -:map_other-platform-heights-eratv_0 rr:predicateObjectMap :pom_185. -:pm_185 a rr:PredicateMap. -:pom_185 rr:predicateMap :pm_185. -:pm_185 rr:constant skos:prefLabel. -:pom_185 rr:objectMap :om_185. -:om_185 a fnml:FunctionTermMap; +:pom_183 a rr:PredicateObjectMap. +:map_other-platform-heights-eratv_0 rr:predicateObjectMap :pom_183. +:pm_183 a rr:PredicateMap. +:pom_183 rr:predicateMap :pm_183. +:pm_183 rr:constant skos:prefLabel. +:pom_183 rr:objectMap :om_183. +:om_183 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_60. -:fn_60 rml:logicalSource :source_31; +:fn_60 rml:logicalSource :source_30; rr:predicateObjectMap :pomexec_60. :pomexec_60 rr:predicateMap :pmexec_60. :pmexec_60 rr:constant fno:executes. :pomexec_60 rr:objectMap :omexec_60. :omexec_60 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_60 rr:predicateObjectMap :pom_186. -:pom_186 a rr:PredicateObjectMap; - rr:predicateMap :pm_186. -:pm_186 a rr:PredicateMap; +:fn_60 rr:predicateObjectMap :pom_184. +:pom_184 a rr:PredicateObjectMap; + rr:predicateMap :pm_184. +:pm_184 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_186 rr:objectMap :om_186. -:om_186 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_184 rr:objectMap :om_184. +:om_184 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_61. -:fn_61 rml:logicalSource :source_31; +:fn_61 rml:logicalSource :source_30; rr:predicateObjectMap :pomexec_61. :pomexec_61 rr:predicateMap :pmexec_61. :pmexec_61 rr:constant fno:executes. :pomexec_61 rr:objectMap :omexec_61. :omexec_61 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_61 rr:predicateObjectMap :pom_187. +:fn_61 rr:predicateObjectMap :pom_185. +:pom_185 a rr:PredicateObjectMap; + rr:predicateMap :pm_185. +:pm_185 a rr:PredicateMap; + rr:constant grel:valueParameter. +:pom_185 rr:objectMap :om_185. +:om_185 a rr:ObjectMap; + rml:reference "OtherValue"; + rr:termType rr:Literal. +:fn_61 rr:predicateObjectMap :pom_186. +:pom_186 a rr:PredicateObjectMap; + rr:predicateMap :pm_186. +:pm_186 a rr:PredicateMap; + rr:constant grel:valueParameter2. +:pom_186 rr:objectMap :om_186. +:om_186 a rr:ObjectMap; + rr:constant ""; + rr:termType rr:Literal. +:fn_60 rr:predicateObjectMap :pom_187. :pom_187 a rr:PredicateObjectMap; rr:predicateMap :pm_187. :pm_187 a rr:PredicateMap; - rr:constant grel:valueParameter. + rr:constant idlab-fn:str. :pom_187 rr:objectMap :om_187. :om_187 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_61 rr:predicateObjectMap :pom_188. -:pom_188 a rr:PredicateObjectMap; - rr:predicateMap :pm_188. -:pm_188 a rr:PredicateMap; - rr:constant grel:valueParameter2. +:map_gsm-r-networks_0 rml:logicalSource :source_31. +:source_31 a rml:LogicalSource; + rml:source :database_31; + rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.3.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". +:database_31 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_31 rml:referenceFormulation ql:CSV. +:map_gsm-r-networks_0 a rr:TriplesMap; + rdfs:label "gsm-r-networks". +:s_31 a rr:SubjectMap. +:map_gsm-r-networks_0 rr:subjectMap :s_31. +:s_31 rr:template "http://era.europa.eu/concepts/gsmr-networks#{ParameterURI}". +:pom_188 a rr:PredicateObjectMap. +:map_gsm-r-networks_0 rr:predicateObjectMap :pom_188. +:pm_188 a rr:PredicateMap. +:pom_188 rr:predicateMap :pm_188. +:pm_188 rr:constant rdf:type. :pom_188 rr:objectMap :om_188. :om_188 a rr:ObjectMap; - rr:constant ""; - rr:termType rr:Literal. -:fn_60 rr:predicateObjectMap :pom_189. -:pom_189 a rr:PredicateObjectMap; - rr:predicateMap :pm_189. -:pm_189 a rr:PredicateMap; - rr:constant idlab-fn:str. + rr:constant "http://era.europa.eu/concepts/gsmr-networks#GSMRNetwork"; + rr:termType rr:IRI. +:pom_189 a rr:PredicateObjectMap. +:map_gsm-r-networks_0 rr:predicateObjectMap :pom_189. +:pm_189 a rr:PredicateMap. +:pom_189 rr:predicateMap :pm_189. +:pm_189 rr:constant skos:prefLabel. :pom_189 rr:objectMap :om_189. :om_189 a rr:ObjectMap; - rml:reference "OtherValue"; + rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_gsm-r-networks_0 rml:logicalSource :source_32. +:map_train-protection-legacy-systems-rinf_0 rml:logicalSource :source_32. :source_32 a rml:LogicalSource; rml:source :database_32; - rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.3.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". :database_32 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_32 rml:referenceFormulation ql:CSV. -:map_gsm-r-networks_0 a rr:TriplesMap; - rdfs:label "gsm-r-networks". +:map_train-protection-legacy-systems-rinf_0 a rr:TriplesMap; + rdfs:label "train-protection-legacy-systems-rinf". :s_32 a rr:SubjectMap. -:map_gsm-r-networks_0 rr:subjectMap :s_32. -:s_32 rr:template "http://era.europa.eu/concepts/gsmr-networks#{ParameterURI}". +:map_train-protection-legacy-systems-rinf_0 rr:subjectMap :s_32. +:s_32 rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{ParameterURI}". :pom_190 a rr:PredicateObjectMap. -:map_gsm-r-networks_0 rr:predicateObjectMap :pom_190. +:map_train-protection-legacy-systems-rinf_0 rr:predicateObjectMap :pom_190. :pm_190 a rr:PredicateMap. :pom_190 rr:predicateMap :pm_190. :pm_190 rr:constant rdf:type. :pom_190 rr:objectMap :om_190. :om_190 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/gsmr-networks#GSMRNetwork"; + rr:constant "http://era.europa.eu/concepts/train-protection-legacy-systems#TrainProtectionLegacySystem"; rr:termType rr:IRI. :pom_191 a rr:PredicateObjectMap. -:map_gsm-r-networks_0 rr:predicateObjectMap :pom_191. +:map_train-protection-legacy-systems-rinf_0 rr:predicateObjectMap :pom_191. :pm_191 a rr:PredicateMap. :pom_191 rr:predicateMap :pm_191. :pm_191 rr:constant skos:prefLabel. @@ -2662,709 +2661,676 @@ :om_191 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_train-protection-legacy-systems-rinf_0 rml:logicalSource :source_33. +:map_train-protection-legacy-systems-eratv_0 rml:logicalSource :source_33. :source_33 a rml:LogicalSource; rml:source :database_33; - rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.13.1.5'));". :database_33 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_33 rml:referenceFormulation ql:CSV. -:map_train-protection-legacy-systems-rinf_0 a rr:TriplesMap; - rdfs:label "train-protection-legacy-systems-rinf". +:map_train-protection-legacy-systems-eratv_0 a rr:TriplesMap; + rdfs:label "train-protection-legacy-systems-eratv". :s_33 a rr:SubjectMap. -:map_train-protection-legacy-systems-rinf_0 rr:subjectMap :s_33. +:map_train-protection-legacy-systems-eratv_0 rr:subjectMap :s_33. :s_33 rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{ParameterURI}". :pom_192 a rr:PredicateObjectMap. -:map_train-protection-legacy-systems-rinf_0 rr:predicateObjectMap :pom_192. +:map_train-protection-legacy-systems-eratv_0 rr:predicateObjectMap :pom_192. :pm_192 a rr:PredicateMap. :pom_192 rr:predicateMap :pm_192. :pm_192 rr:constant rdf:type. :pom_192 rr:objectMap :om_192. -:om_192 a rr:ObjectMap; - rr:constant "http://era.europa.eu/concepts/train-protection-legacy-systems#TrainProtectionLegacySystem"; - rr:termType rr:IRI. -:pom_193 a rr:PredicateObjectMap. -:map_train-protection-legacy-systems-rinf_0 rr:predicateObjectMap :pom_193. -:pm_193 a rr:PredicateMap. -:pom_193 rr:predicateMap :pm_193. -:pm_193 rr:constant skos:prefLabel. -:pom_193 rr:objectMap :om_193. -:om_193 a rr:ObjectMap; - rml:reference "ParameterValue"; - rr:termType rr:Literal. -:map_train-protection-legacy-systems-eratv_0 rml:logicalSource :source_34. -:source_34 a rml:LogicalSource; - rml:source :database_34; - rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.13.1.5'));". -:database_34 a d2rq:Database; - d2rq:jdbcDSN "//10.10.160.21:1433"; - d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; - d2rq:username "SA"; - d2rq:password "ChooChoo2020". -:source_34 rml:referenceFormulation ql:CSV. -:map_train-protection-legacy-systems-eratv_0 a rr:TriplesMap; - rdfs:label "train-protection-legacy-systems-eratv". -:s_34 a rr:SubjectMap. -:map_train-protection-legacy-systems-eratv_0 rr:subjectMap :s_34. -:s_34 rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{ParameterURI}". -:pom_194 a rr:PredicateObjectMap. -:map_train-protection-legacy-systems-eratv_0 rr:predicateObjectMap :pom_194. -:pm_194 a rr:PredicateMap. -:pom_194 rr:predicateMap :pm_194. -:pm_194 rr:constant rdf:type. -:pom_194 rr:objectMap :om_194. -:om_194 a fnml:FunctionTermMap; +:om_192 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_62. -:fn_62 rml:logicalSource :source_34; +:fn_62 rml:logicalSource :source_33; rr:predicateObjectMap :pomexec_62. :pomexec_62 rr:predicateMap :pmexec_62. :pmexec_62 rr:constant fno:executes. :pomexec_62 rr:objectMap :omexec_62. :omexec_62 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_62 rr:predicateObjectMap :pom_195. -:pom_195 a rr:PredicateObjectMap; - rr:predicateMap :pm_195. -:pm_195 a rr:PredicateMap; +:fn_62 rr:predicateObjectMap :pom_193. +:pom_193 a rr:PredicateObjectMap; + rr:predicateMap :pm_193. +:pm_193 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_195 rr:objectMap :om_195. -:om_195 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_193 rr:objectMap :om_193. +:om_193 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_63. -:fn_63 rml:logicalSource :source_34; +:fn_63 rml:logicalSource :source_33; rr:predicateObjectMap :pomexec_63. :pomexec_63 rr:predicateMap :pmexec_63. :pmexec_63 rr:constant fno:executes. :pomexec_63 rr:objectMap :omexec_63. :omexec_63 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_63 rr:predicateObjectMap :pom_196. -:pom_196 a rr:PredicateObjectMap; - rr:predicateMap :pm_196. -:pm_196 a rr:PredicateMap; +:fn_63 rr:predicateObjectMap :pom_194. +:pom_194 a rr:PredicateObjectMap; + rr:predicateMap :pm_194. +:pm_194 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_196 rr:objectMap :om_196. -:om_196 a rr:ObjectMap; +:pom_194 rr:objectMap :om_194. +:om_194 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_63 rr:predicateObjectMap :pom_197. -:pom_197 a rr:PredicateObjectMap; - rr:predicateMap :pm_197. -:pm_197 a rr:PredicateMap; +:fn_63 rr:predicateObjectMap :pom_195. +:pom_195 a rr:PredicateObjectMap; + rr:predicateMap :pm_195. +:pm_195 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_197 rr:objectMap :om_197. -:om_197 a rr:ObjectMap; +:pom_195 rr:objectMap :om_195. +:om_195 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_62 rr:predicateObjectMap :pom_198. -:pom_198 a rr:PredicateObjectMap; - rr:predicateMap :pm_198. -:pm_198 a rr:PredicateMap; +:fn_62 rr:predicateObjectMap :pom_196. +:pom_196 a rr:PredicateObjectMap; + rr:predicateMap :pm_196. +:pm_196 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_198 rr:objectMap :om_198. -:om_198 a rr:ObjectMap; +:pom_196 rr:objectMap :om_196. +:om_196 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/train-protection-legacy-systems#TrainProtectionLegacySystem"; rr:termType rr:IRI. -:pom_199 a rr:PredicateObjectMap. -:map_train-protection-legacy-systems-eratv_0 rr:predicateObjectMap :pom_199. -:pm_199 a rr:PredicateMap. -:pom_199 rr:predicateMap :pm_199. -:pm_199 rr:constant skos:prefLabel. -:pom_199 rr:objectMap :om_199. -:om_199 a fnml:FunctionTermMap; +:pom_197 a rr:PredicateObjectMap. +:map_train-protection-legacy-systems-eratv_0 rr:predicateObjectMap :pom_197. +:pm_197 a rr:PredicateMap. +:pom_197 rr:predicateMap :pm_197. +:pm_197 rr:constant skos:prefLabel. +:pom_197 rr:objectMap :om_197. +:om_197 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_64. -:fn_64 rml:logicalSource :source_34; +:fn_64 rml:logicalSource :source_33; rr:predicateObjectMap :pomexec_64. :pomexec_64 rr:predicateMap :pmexec_64. :pmexec_64 rr:constant fno:executes. :pomexec_64 rr:objectMap :omexec_64. :omexec_64 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_64 rr:predicateObjectMap :pom_200. -:pom_200 a rr:PredicateObjectMap; - rr:predicateMap :pm_200. -:pm_200 a rr:PredicateMap; +:fn_64 rr:predicateObjectMap :pom_198. +:pom_198 a rr:PredicateObjectMap; + rr:predicateMap :pm_198. +:pm_198 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_200 rr:objectMap :om_200. -:om_200 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_198 rr:objectMap :om_198. +:om_198 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_65. -:fn_65 rml:logicalSource :source_34; +:fn_65 rml:logicalSource :source_33; rr:predicateObjectMap :pomexec_65. :pomexec_65 rr:predicateMap :pmexec_65. :pmexec_65 rr:constant fno:executes. :pomexec_65 rr:objectMap :omexec_65. :omexec_65 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_65 rr:predicateObjectMap :pom_201. -:pom_201 a rr:PredicateObjectMap; - rr:predicateMap :pm_201. -:pm_201 a rr:PredicateMap; +:fn_65 rr:predicateObjectMap :pom_199. +:pom_199 a rr:PredicateObjectMap; + rr:predicateMap :pm_199. +:pm_199 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_201 rr:objectMap :om_201. -:om_201 a rr:ObjectMap; +:pom_199 rr:objectMap :om_199. +:om_199 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_65 rr:predicateObjectMap :pom_202. -:pom_202 a rr:PredicateObjectMap; - rr:predicateMap :pm_202. -:pm_202 a rr:PredicateMap; +:fn_65 rr:predicateObjectMap :pom_200. +:pom_200 a rr:PredicateObjectMap; + rr:predicateMap :pm_200. +:pm_200 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_202 rr:objectMap :om_202. -:om_202 a rr:ObjectMap; +:pom_200 rr:objectMap :om_200. +:om_200 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_64 rr:predicateObjectMap :pom_203. -:pom_203 a rr:PredicateObjectMap; - rr:predicateMap :pm_203. -:pm_203 a rr:PredicateMap; +:fn_64 rr:predicateObjectMap :pom_201. +:pom_201 a rr:PredicateObjectMap; + rr:predicateMap :pm_201. +:pm_201 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_203 rr:objectMap :om_203. -:om_203 a rr:ObjectMap; +:pom_201 rr:objectMap :om_201. +:om_201 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-train-protection-legacy-systems_0 rml:logicalSource :source_35. -:source_35 a rml:LogicalSource; - rml:source :database_35; +:map_other-train-protection-legacy-systems_0 rml:logicalSource :source_34. +:source_34 a rml:LogicalSource; + rml:source :database_34; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.13.1.5'));". -:database_35 a d2rq:Database; +:database_34 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_35 rml:referenceFormulation ql:CSV. +:source_34 rml:referenceFormulation ql:CSV. :map_other-train-protection-legacy-systems_0 a rr:TriplesMap; rdfs:label "other-train-protection-legacy-systems". -:s_35 a rr:SubjectMap. -:map_other-train-protection-legacy-systems_0 rr:subjectMap :s_35. -:s_35 rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{OtherURI}". -:pom_204 a rr:PredicateObjectMap. -:map_other-train-protection-legacy-systems_0 rr:predicateObjectMap :pom_204. -:pm_204 a rr:PredicateMap. -:pom_204 rr:predicateMap :pm_204. -:pm_204 rr:constant rdf:type. -:pom_204 rr:objectMap :om_204. -:om_204 a rr:ObjectMap; +:s_34 a rr:SubjectMap. +:map_other-train-protection-legacy-systems_0 rr:subjectMap :s_34. +:s_34 rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{OtherURI}". +:pom_202 a rr:PredicateObjectMap. +:map_other-train-protection-legacy-systems_0 rr:predicateObjectMap :pom_202. +:pm_202 a rr:PredicateMap. +:pom_202 rr:predicateMap :pm_202. +:pm_202 rr:constant rdf:type. +:pom_202 rr:objectMap :om_202. +:om_202 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/train-protection-legacy-systems#TrainProtectionLegacySystem"; rr:termType rr:IRI. -:pom_205 a rr:PredicateObjectMap. -:map_other-train-protection-legacy-systems_0 rr:predicateObjectMap :pom_205. -:pm_205 a rr:PredicateMap. -:pom_205 rr:predicateMap :pm_205. -:pm_205 rr:constant skos:prefLabel. -:pom_205 rr:objectMap :om_205. -:om_205 a fnml:FunctionTermMap; +:pom_203 a rr:PredicateObjectMap. +:map_other-train-protection-legacy-systems_0 rr:predicateObjectMap :pom_203. +:pm_203 a rr:PredicateMap. +:pom_203 rr:predicateMap :pm_203. +:pm_203 rr:constant skos:prefLabel. +:pom_203 rr:objectMap :om_203. +:om_203 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_66. -:fn_66 rml:logicalSource :source_35; +:fn_66 rml:logicalSource :source_34; rr:predicateObjectMap :pomexec_66. :pomexec_66 rr:predicateMap :pmexec_66. :pmexec_66 rr:constant fno:executes. :pomexec_66 rr:objectMap :omexec_66. :omexec_66 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_66 rr:predicateObjectMap :pom_206. -:pom_206 a rr:PredicateObjectMap; - rr:predicateMap :pm_206. -:pm_206 a rr:PredicateMap; +:fn_66 rr:predicateObjectMap :pom_204. +:pom_204 a rr:PredicateObjectMap; + rr:predicateMap :pm_204. +:pm_204 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_206 rr:objectMap :om_206. -:om_206 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_204 rr:objectMap :om_204. +:om_204 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_67. -:fn_67 rml:logicalSource :source_35; +:fn_67 rml:logicalSource :source_34; rr:predicateObjectMap :pomexec_67. :pomexec_67 rr:predicateMap :pmexec_67. :pmexec_67 rr:constant fno:executes. :pomexec_67 rr:objectMap :omexec_67. :omexec_67 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_67 rr:predicateObjectMap :pom_207. -:pom_207 a rr:PredicateObjectMap; - rr:predicateMap :pm_207. -:pm_207 a rr:PredicateMap; +:fn_67 rr:predicateObjectMap :pom_205. +:pom_205 a rr:PredicateObjectMap; + rr:predicateMap :pm_205. +:pm_205 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_207 rr:objectMap :om_207. -:om_207 a rr:ObjectMap; +:pom_205 rr:objectMap :om_205. +:om_205 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_67 rr:predicateObjectMap :pom_208. -:pom_208 a rr:PredicateObjectMap; - rr:predicateMap :pm_208. -:pm_208 a rr:PredicateMap; +:fn_67 rr:predicateObjectMap :pom_206. +:pom_206 a rr:PredicateObjectMap; + rr:predicateMap :pm_206. +:pm_206 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_208 rr:objectMap :om_208. -:om_208 a rr:ObjectMap; +:pom_206 rr:objectMap :om_206. +:om_206 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_66 rr:predicateObjectMap :pom_209. -:pom_209 a rr:PredicateObjectMap; - rr:predicateMap :pm_209. -:pm_209 a rr:PredicateMap; +:fn_66 rr:predicateObjectMap :pom_207. +:pom_207 a rr:PredicateObjectMap; + rr:predicateMap :pm_207. +:pm_207 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_209 rr:objectMap :om_209. -:om_209 a rr:ObjectMap; +:pom_207 rr:objectMap :om_207. +:om_207 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:map_legacy-radio-systems-rinf_0 rml:logicalSource :source_36. -:source_36 a rml:LogicalSource; - rml:source :database_36; +:map_legacy-radio-systems-rinf_0 rml:logicalSource :source_35. +:source_35 a rml:LogicalSource; + rml:source :database_35; rml:query "SELECT DISTINCT CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". -:database_36 a d2rq:Database; +:database_35 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_36 rml:referenceFormulation ql:CSV. +:source_35 rml:referenceFormulation ql:CSV. :map_legacy-radio-systems-rinf_0 a rr:TriplesMap; rdfs:label "legacy-radio-systems-rinf". -:s_36 a rr:SubjectMap. -:map_legacy-radio-systems-rinf_0 rr:subjectMap :s_36. -:s_36 rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterURI}". -:pom_210 a rr:PredicateObjectMap. -:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_210. -:pm_210 a rr:PredicateMap. -:pom_210 rr:predicateMap :pm_210. -:pm_210 rr:constant rdf:type. -:pom_210 rr:objectMap :om_210. -:om_210 a fnml:FunctionTermMap; +:s_35 a rr:SubjectMap. +:map_legacy-radio-systems-rinf_0 rr:subjectMap :s_35. +:s_35 rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterURI}". +:pom_208 a rr:PredicateObjectMap. +:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_208. +:pm_208 a rr:PredicateMap. +:pom_208 rr:predicateMap :pm_208. +:pm_208 rr:constant rdf:type. +:pom_208 rr:objectMap :om_208. +:om_208 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_68. -:fn_68 rml:logicalSource :source_36; +:fn_68 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_68. :pomexec_68 rr:predicateMap :pmexec_68. :pmexec_68 rr:constant fno:executes. :pomexec_68 rr:objectMap :omexec_68. :omexec_68 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_68 rr:predicateObjectMap :pom_211. -:pom_211 a rr:PredicateObjectMap; - rr:predicateMap :pm_211. -:pm_211 a rr:PredicateMap; +:fn_68 rr:predicateObjectMap :pom_209. +:pom_209 a rr:PredicateObjectMap; + rr:predicateMap :pm_209. +:pm_209 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_211 rr:objectMap :om_211. -:om_211 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_209 rr:objectMap :om_209. +:om_209 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_69. -:fn_69 rml:logicalSource :source_36; +:fn_69 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_69. :pomexec_69 rr:predicateMap :pmexec_69. :pmexec_69 rr:constant fno:executes. :pomexec_69 rr:objectMap :omexec_69. :omexec_69 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_69 rr:predicateObjectMap :pom_212. -:pom_212 a rr:PredicateObjectMap; - rr:predicateMap :pm_212. -:pm_212 a rr:PredicateMap; +:fn_69 rr:predicateObjectMap :pom_210. +:pom_210 a rr:PredicateObjectMap; + rr:predicateMap :pm_210. +:pm_210 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_212 rr:objectMap :om_212. -:om_212 a rr:ObjectMap; +:pom_210 rr:objectMap :om_210. +:om_210 a rr:ObjectMap; rml:reference "ParameterURI"; rr:termType rr:Literal. -:fn_69 rr:predicateObjectMap :pom_213. -:pom_213 a rr:PredicateObjectMap; - rr:predicateMap :pm_213. -:pm_213 a rr:PredicateMap; +:fn_69 rr:predicateObjectMap :pom_211. +:pom_211 a rr:PredicateObjectMap; + rr:predicateMap :pm_211. +:pm_211 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_213 rr:objectMap :om_213. -:om_213 a rr:ObjectMap; +:pom_211 rr:objectMap :om_211. +:om_211 a rr:ObjectMap; rr:constant "Analogue_Radio_Germany_-_UIC_751"; rr:termType rr:Literal. -:fn_68 rr:predicateObjectMap :pom_214. -:pom_214 a rr:PredicateObjectMap; - rr:predicateMap :pm_214. -:pm_214 a rr:PredicateMap; +:fn_68 rr:predicateObjectMap :pom_212. +:pom_212 a rr:PredicateObjectMap; + rr:predicateMap :pm_212. +:pm_212 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_214 rr:objectMap :om_214. -:om_214 a rr:ObjectMap; +:pom_212 rr:objectMap :om_212. +:om_212 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/legacy-radio-systems#LegacyRadioSystem"; rr:termType rr:IRI. -:pom_215 a rr:PredicateObjectMap. -:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_215. -:pm_215 a rr:PredicateMap. -:pom_215 rr:predicateMap :pm_215. -:pm_215 rr:constant rdf:type. -:pom_215 rr:objectMap :om_215. -:om_215 a fnml:FunctionTermMap; +:pom_213 a rr:PredicateObjectMap. +:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_213. +:pm_213 a rr:PredicateMap. +:pom_213 rr:predicateMap :pm_213. +:pm_213 rr:constant rdf:type. +:pom_213 rr:objectMap :om_213. +:om_213 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_70. -:fn_70 rml:logicalSource :source_36; +:fn_70 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_70. :pomexec_70 rr:predicateMap :pmexec_70. :pmexec_70 rr:constant fno:executes. :pomexec_70 rr:objectMap :omexec_70. :omexec_70 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_70 rr:predicateObjectMap :pom_216. -:pom_216 a rr:PredicateObjectMap; - rr:predicateMap :pm_216. -:pm_216 a rr:PredicateMap; +:fn_70 rr:predicateObjectMap :pom_214. +:pom_214 a rr:PredicateObjectMap; + rr:predicateMap :pm_214. +:pm_214 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_216 rr:objectMap :om_216. -:om_216 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_214 rr:objectMap :om_214. +:om_214 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_71. -:fn_71 rml:logicalSource :source_36; +:fn_71 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_71. :pomexec_71 rr:predicateMap :pmexec_71. :pmexec_71 rr:constant fno:executes. :pomexec_71 rr:objectMap :omexec_71. :omexec_71 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_71 rr:predicateObjectMap :pom_217. -:pom_217 a rr:PredicateObjectMap; - rr:predicateMap :pm_217. -:pm_217 a rr:PredicateMap; +:fn_71 rr:predicateObjectMap :pom_215. +:pom_215 a rr:PredicateObjectMap; + rr:predicateMap :pm_215. +:pm_215 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_217 rr:objectMap :om_217. -:om_217 a rr:ObjectMap; +:pom_215 rr:objectMap :om_215. +:om_215 a rr:ObjectMap; rml:reference "ParameterURI"; rr:termType rr:Literal. -:fn_71 rr:predicateObjectMap :pom_218. -:pom_218 a rr:PredicateObjectMap; - rr:predicateMap :pm_218. -:pm_218 a rr:PredicateMap; +:fn_71 rr:predicateObjectMap :pom_216. +:pom_216 a rr:PredicateObjectMap; + rr:predicateMap :pm_216. +:pm_216 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_218 rr:objectMap :om_218. -:om_218 a rr:ObjectMap; +:pom_216 rr:objectMap :om_216. +:om_216 a rr:ObjectMap; rr:constant "RETB_(voice)"; rr:termType rr:Literal. -:fn_70 rr:predicateObjectMap :pom_219. -:pom_219 a rr:PredicateObjectMap; - rr:predicateMap :pm_219. -:pm_219 a rr:PredicateMap; +:fn_70 rr:predicateObjectMap :pom_217. +:pom_217 a rr:PredicateObjectMap; + rr:predicateMap :pm_217. +:pm_217 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_219 rr:objectMap :om_219. -:om_219 a rr:ObjectMap; +:pom_217 rr:objectMap :om_217. +:om_217 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/legacy-radio-systems#LegacyRadioSystem"; rr:termType rr:IRI. -:pom_220 a rr:PredicateObjectMap. -:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_220. -:pm_220 a rr:PredicateMap. -:pom_220 rr:predicateMap :pm_220. -:pm_220 rr:constant skos:prefLabel. -:pom_220 rr:objectMap :om_220. -:om_220 a fnml:FunctionTermMap; +:pom_218 a rr:PredicateObjectMap. +:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_218. +:pm_218 a rr:PredicateMap. +:pom_218 rr:predicateMap :pm_218. +:pm_218 rr:constant skos:prefLabel. +:pom_218 rr:objectMap :om_218. +:om_218 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_72. -:fn_72 rml:logicalSource :source_36; +:fn_72 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_72. :pomexec_72 rr:predicateMap :pmexec_72. :pmexec_72 rr:constant fno:executes. :pomexec_72 rr:objectMap :omexec_72. :omexec_72 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_72 rr:predicateObjectMap :pom_221. -:pom_221 a rr:PredicateObjectMap; - rr:predicateMap :pm_221. -:pm_221 a rr:PredicateMap; +:fn_72 rr:predicateObjectMap :pom_219. +:pom_219 a rr:PredicateObjectMap; + rr:predicateMap :pm_219. +:pm_219 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_221 rr:objectMap :om_221. -:om_221 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_219 rr:objectMap :om_219. +:om_219 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_73. -:fn_73 rml:logicalSource :source_36; +:fn_73 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_73. :pomexec_73 rr:predicateMap :pmexec_73. :pmexec_73 rr:constant fno:executes. :pomexec_73 rr:objectMap :omexec_73. :omexec_73 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_73 rr:predicateObjectMap :pom_222. -:pom_222 a rr:PredicateObjectMap; - rr:predicateMap :pm_222. -:pm_222 a rr:PredicateMap; +:fn_73 rr:predicateObjectMap :pom_220. +:pom_220 a rr:PredicateObjectMap; + rr:predicateMap :pm_220. +:pm_220 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_222 rr:objectMap :om_222. -:om_222 a rr:ObjectMap; +:pom_220 rr:objectMap :om_220. +:om_220 a rr:ObjectMap; rml:reference "ParameterURI"; rr:termType rr:Literal. -:fn_73 rr:predicateObjectMap :pom_223. -:pom_223 a rr:PredicateObjectMap; - rr:predicateMap :pm_223. -:pm_223 a rr:PredicateMap; +:fn_73 rr:predicateObjectMap :pom_221. +:pom_221 a rr:PredicateObjectMap; + rr:predicateMap :pm_221. +:pm_221 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_223 rr:objectMap :om_223. -:om_223 a rr:ObjectMap; +:pom_221 rr:objectMap :om_221. +:om_221 a rr:ObjectMap; rr:constant "Analogue_Radio_Germany_-_UIC_751"; rr:termType rr:Literal. -:fn_72 rr:predicateObjectMap :pom_224. -:pom_224 a rr:PredicateObjectMap; - rr:predicateMap :pm_224. -:pm_224 a rr:PredicateMap; +:fn_72 rr:predicateObjectMap :pom_222. +:pom_222 a rr:PredicateObjectMap; + rr:predicateMap :pm_222. +:pm_222 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_224 rr:objectMap :om_224. -:om_224 a rr:ObjectMap; +:pom_222 rr:objectMap :om_222. +:om_222 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:pom_225 a rr:PredicateObjectMap. -:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_225. -:pm_225 a rr:PredicateMap. -:pom_225 rr:predicateMap :pm_225. -:pm_225 rr:constant skos:prefLabel. -:pom_225 rr:objectMap :om_225. -:om_225 a fnml:FunctionTermMap; +:pom_223 a rr:PredicateObjectMap. +:map_legacy-radio-systems-rinf_0 rr:predicateObjectMap :pom_223. +:pm_223 a rr:PredicateMap. +:pom_223 rr:predicateMap :pm_223. +:pm_223 rr:constant skos:prefLabel. +:pom_223 rr:objectMap :om_223. +:om_223 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_74. -:fn_74 rml:logicalSource :source_36; +:fn_74 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_74. :pomexec_74 rr:predicateMap :pmexec_74. :pmexec_74 rr:constant fno:executes. :pomexec_74 rr:objectMap :omexec_74. :omexec_74 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_74 rr:predicateObjectMap :pom_226. -:pom_226 a rr:PredicateObjectMap; - rr:predicateMap :pm_226. -:pm_226 a rr:PredicateMap; +:fn_74 rr:predicateObjectMap :pom_224. +:pom_224 a rr:PredicateObjectMap; + rr:predicateMap :pm_224. +:pm_224 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_226 rr:objectMap :om_226. -:om_226 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_224 rr:objectMap :om_224. +:om_224 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_75. -:fn_75 rml:logicalSource :source_36; +:fn_75 rml:logicalSource :source_35; rr:predicateObjectMap :pomexec_75. :pomexec_75 rr:predicateMap :pmexec_75. :pmexec_75 rr:constant fno:executes. :pomexec_75 rr:objectMap :omexec_75. :omexec_75 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_75 rr:predicateObjectMap :pom_227. -:pom_227 a rr:PredicateObjectMap; - rr:predicateMap :pm_227. -:pm_227 a rr:PredicateMap; +:fn_75 rr:predicateObjectMap :pom_225. +:pom_225 a rr:PredicateObjectMap; + rr:predicateMap :pm_225. +:pm_225 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_227 rr:objectMap :om_227. -:om_227 a rr:ObjectMap; +:pom_225 rr:objectMap :om_225. +:om_225 a rr:ObjectMap; rml:reference "ParameterURI"; rr:termType rr:Literal. -:fn_75 rr:predicateObjectMap :pom_228. -:pom_228 a rr:PredicateObjectMap; - rr:predicateMap :pm_228. -:pm_228 a rr:PredicateMap; +:fn_75 rr:predicateObjectMap :pom_226. +:pom_226 a rr:PredicateObjectMap; + rr:predicateMap :pm_226. +:pm_226 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_228 rr:objectMap :om_228. -:om_228 a rr:ObjectMap; +:pom_226 rr:objectMap :om_226. +:om_226 a rr:ObjectMap; rr:constant "RETB_(voice)"; rr:termType rr:Literal. -:fn_74 rr:predicateObjectMap :pom_229. -:pom_229 a rr:PredicateObjectMap; - rr:predicateMap :pm_229. -:pm_229 a rr:PredicateMap; +:fn_74 rr:predicateObjectMap :pom_227. +:pom_227 a rr:PredicateObjectMap; + rr:predicateMap :pm_227. +:pm_227 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_229 rr:objectMap :om_229. -:om_229 a rr:ObjectMap; +:pom_227 rr:objectMap :om_227. +:om_227 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_legacy-radio-systems-eratv_0 rml:logicalSource :source_37. -:source_37 a rml:LogicalSource; - rml:source :database_37; +:map_legacy-radio-systems-eratv_0 rml:logicalSource :source_36. +:source_36 a rml:LogicalSource; + rml:source :database_36; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.13.2.3'));". -:database_37 a d2rq:Database; +:database_36 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_37 rml:referenceFormulation ql:CSV. +:source_36 rml:referenceFormulation ql:CSV. :map_legacy-radio-systems-eratv_0 a rr:TriplesMap; rdfs:label "legacy-radio-systems-eratv". -:s_37 a rr:SubjectMap. -:map_legacy-radio-systems-eratv_0 rr:subjectMap :s_37. -:s_37 rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterURI}". -:pom_230 a rr:PredicateObjectMap. -:map_legacy-radio-systems-eratv_0 rr:predicateObjectMap :pom_230. -:pm_230 a rr:PredicateMap. -:pom_230 rr:predicateMap :pm_230. -:pm_230 rr:constant rdf:type. -:pom_230 rr:objectMap :om_230. -:om_230 a fnml:FunctionTermMap; +:s_36 a rr:SubjectMap. +:map_legacy-radio-systems-eratv_0 rr:subjectMap :s_36. +:s_36 rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterURI}". +:pom_228 a rr:PredicateObjectMap. +:map_legacy-radio-systems-eratv_0 rr:predicateObjectMap :pom_228. +:pm_228 a rr:PredicateMap. +:pom_228 rr:predicateMap :pm_228. +:pm_228 rr:constant rdf:type. +:pom_228 rr:objectMap :om_228. +:om_228 a fnml:FunctionTermMap; rr:termType rr:IRI; fnml:functionValue :fn_76. -:fn_76 rml:logicalSource :source_37; +:fn_76 rml:logicalSource :source_36; rr:predicateObjectMap :pomexec_76. :pomexec_76 rr:predicateMap :pmexec_76. :pmexec_76 rr:constant fno:executes. :pomexec_76 rr:objectMap :omexec_76. :omexec_76 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_76 rr:predicateObjectMap :pom_231. -:pom_231 a rr:PredicateObjectMap; - rr:predicateMap :pm_231. -:pm_231 a rr:PredicateMap; +:fn_76 rr:predicateObjectMap :pom_229. +:pom_229 a rr:PredicateObjectMap; + rr:predicateMap :pm_229. +:pm_229 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_231 rr:objectMap :om_231. -:om_231 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_229 rr:objectMap :om_229. +:om_229 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_77. -:fn_77 rml:logicalSource :source_37; +:fn_77 rml:logicalSource :source_36; rr:predicateObjectMap :pomexec_77. :pomexec_77 rr:predicateMap :pmexec_77. :pmexec_77 rr:constant fno:executes. :pomexec_77 rr:objectMap :omexec_77. :omexec_77 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_77 rr:predicateObjectMap :pom_232. -:pom_232 a rr:PredicateObjectMap; - rr:predicateMap :pm_232. -:pm_232 a rr:PredicateMap; +:fn_77 rr:predicateObjectMap :pom_230. +:pom_230 a rr:PredicateObjectMap; + rr:predicateMap :pm_230. +:pm_230 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_232 rr:objectMap :om_232. -:om_232 a rr:ObjectMap; +:pom_230 rr:objectMap :om_230. +:om_230 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_77 rr:predicateObjectMap :pom_233. -:pom_233 a rr:PredicateObjectMap; - rr:predicateMap :pm_233. -:pm_233 a rr:PredicateMap; +:fn_77 rr:predicateObjectMap :pom_231. +:pom_231 a rr:PredicateObjectMap; + rr:predicateMap :pm_231. +:pm_231 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_233 rr:objectMap :om_233. -:om_233 a rr:ObjectMap; +:pom_231 rr:objectMap :om_231. +:om_231 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_76 rr:predicateObjectMap :pom_234. -:pom_234 a rr:PredicateObjectMap; - rr:predicateMap :pm_234. -:pm_234 a rr:PredicateMap; +:fn_76 rr:predicateObjectMap :pom_232. +:pom_232 a rr:PredicateObjectMap; + rr:predicateMap :pm_232. +:pm_232 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_234 rr:objectMap :om_234. -:om_234 a rr:ObjectMap; +:pom_232 rr:objectMap :om_232. +:om_232 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/legacy-radio-systems#LegacyRadioSystem"; rr:termType rr:IRI. -:pom_235 a rr:PredicateObjectMap. -:map_legacy-radio-systems-eratv_0 rr:predicateObjectMap :pom_235. -:pm_235 a rr:PredicateMap. -:pom_235 rr:predicateMap :pm_235. -:pm_235 rr:constant skos:prefLabel. -:pom_235 rr:objectMap :om_235. -:om_235 a fnml:FunctionTermMap; +:pom_233 a rr:PredicateObjectMap. +:map_legacy-radio-systems-eratv_0 rr:predicateObjectMap :pom_233. +:pm_233 a rr:PredicateMap. +:pom_233 rr:predicateMap :pm_233. +:pm_233 rr:constant skos:prefLabel. +:pom_233 rr:objectMap :om_233. +:om_233 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_78. -:fn_78 rml:logicalSource :source_37; +:fn_78 rml:logicalSource :source_36; rr:predicateObjectMap :pomexec_78. :pomexec_78 rr:predicateMap :pmexec_78. :pmexec_78 rr:constant fno:executes. :pomexec_78 rr:objectMap :omexec_78. :omexec_78 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_78 rr:predicateObjectMap :pom_236. -:pom_236 a rr:PredicateObjectMap; - rr:predicateMap :pm_236. -:pm_236 a rr:PredicateMap; +:fn_78 rr:predicateObjectMap :pom_234. +:pom_234 a rr:PredicateObjectMap; + rr:predicateMap :pm_234. +:pm_234 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_236 rr:objectMap :om_236. -:om_236 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_234 rr:objectMap :om_234. +:om_234 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_79. -:fn_79 rml:logicalSource :source_37; +:fn_79 rml:logicalSource :source_36; rr:predicateObjectMap :pomexec_79. :pomexec_79 rr:predicateMap :pmexec_79. :pmexec_79 rr:constant fno:executes. :pomexec_79 rr:objectMap :omexec_79. :omexec_79 rr:constant "http://example.com/idlab/function/equal"; rr:termType rr:IRI. -:fn_79 rr:predicateObjectMap :pom_237. -:pom_237 a rr:PredicateObjectMap; - rr:predicateMap :pm_237. -:pm_237 a rr:PredicateMap; +:fn_79 rr:predicateObjectMap :pom_235. +:pom_235 a rr:PredicateObjectMap; + rr:predicateMap :pm_235. +:pm_235 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_237 rr:objectMap :om_237. -:om_237 a rr:ObjectMap; +:pom_235 rr:objectMap :om_235. +:om_235 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_79 rr:predicateObjectMap :pom_238. -:pom_238 a rr:PredicateObjectMap; - rr:predicateMap :pm_238. -:pm_238 a rr:PredicateMap; +:fn_79 rr:predicateObjectMap :pom_236. +:pom_236 a rr:PredicateObjectMap; + rr:predicateMap :pm_236. +:pm_236 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_238 rr:objectMap :om_238. -:om_238 a rr:ObjectMap; +:pom_236 rr:objectMap :om_236. +:om_236 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_78 rr:predicateObjectMap :pom_239. -:pom_239 a rr:PredicateObjectMap; - rr:predicateMap :pm_239. -:pm_239 a rr:PredicateMap; +:fn_78 rr:predicateObjectMap :pom_237. +:pom_237 a rr:PredicateObjectMap; + rr:predicateMap :pm_237. +:pm_237 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_239 rr:objectMap :om_239. -:om_239 a rr:ObjectMap; +:pom_237 rr:objectMap :om_237. +:om_237 a rr:ObjectMap; rml:reference "ParameterValue"; rr:termType rr:Literal. -:map_other-legacy-radio-systems_0 rml:logicalSource :source_38. -:source_38 a rml:LogicalSource; - rml:source :database_38; +:map_other-legacy-radio-systems_0 rml:logicalSource :source_37. +:source_37 a rml:LogicalSource; + rml:source :database_37; rml:query "SELECT DISTINCT (SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId) AS ParameterValue, RegistrationParameters.OtherValue, REPLACE((SELECT \"Name\" FROM ERATV.dbo.ReferenceListValues WHERE ReferenceListValues.ID=RegistrationParameters.ReferenceListValueId), ' ', '_') AS ParameterURI, REPLACE(RegistrationParameters.OtherValue, ' ', '_') AS OtherURI FROM ERATV.dbo.VehicleTypes, ERATV.dbo.RegistrationParameters, ERATV.dbo.Parameters WHERE VehicleTypes.ID = RegistrationParameters.VehicleTypesId AND RegistrationParameters.ParametersId = Parameters.ID AND (Parameters.Code IN ('4.13.1.5'));". -:database_38 a d2rq:Database; +:database_37 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". -:source_38 rml:referenceFormulation ql:CSV. +:source_37 rml:referenceFormulation ql:CSV. :map_other-legacy-radio-systems_0 a rr:TriplesMap; rdfs:label "other-legacy-radio-systems". -:s_38 a rr:SubjectMap. -:map_other-legacy-radio-systems_0 rr:subjectMap :s_38. -:s_38 rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{OtherURI}". -:pom_240 a rr:PredicateObjectMap. -:map_other-legacy-radio-systems_0 rr:predicateObjectMap :pom_240. -:pm_240 a rr:PredicateMap. -:pom_240 rr:predicateMap :pm_240. -:pm_240 rr:constant rdf:type. -:pom_240 rr:objectMap :om_240. -:om_240 a rr:ObjectMap; +:s_37 a rr:SubjectMap. +:map_other-legacy-radio-systems_0 rr:subjectMap :s_37. +:s_37 rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{OtherURI}". +:pom_238 a rr:PredicateObjectMap. +:map_other-legacy-radio-systems_0 rr:predicateObjectMap :pom_238. +:pm_238 a rr:PredicateMap. +:pom_238 rr:predicateMap :pm_238. +:pm_238 rr:constant rdf:type. +:pom_238 rr:objectMap :om_238. +:om_238 a rr:ObjectMap; rr:constant "http://era.europa.eu/concepts/legacy-radio-systems#LegacyRadioSystem"; rr:termType rr:IRI. -:pom_241 a rr:PredicateObjectMap. -:map_other-legacy-radio-systems_0 rr:predicateObjectMap :pom_241. -:pm_241 a rr:PredicateMap. -:pom_241 rr:predicateMap :pm_241. -:pm_241 rr:constant skos:prefLabel. -:pom_241 rr:objectMap :om_241. -:om_241 a fnml:FunctionTermMap; +:pom_239 a rr:PredicateObjectMap. +:map_other-legacy-radio-systems_0 rr:predicateObjectMap :pom_239. +:pm_239 a rr:PredicateMap. +:pom_239 rr:predicateMap :pm_239. +:pm_239 rr:constant skos:prefLabel. +:pom_239 rr:objectMap :om_239. +:om_239 a fnml:FunctionTermMap; rr:termType rr:Literal; fnml:functionValue :fn_80. -:fn_80 rml:logicalSource :source_38; +:fn_80 rml:logicalSource :source_37; rr:predicateObjectMap :pomexec_80. :pomexec_80 rr:predicateMap :pmexec_80. :pmexec_80 rr:constant fno:executes. :pomexec_80 rr:objectMap :omexec_80. :omexec_80 rr:constant "http://example.com/idlab/function/trueCondition"; rr:termType rr:IRI. -:fn_80 rr:predicateObjectMap :pom_242. -:pom_242 a rr:PredicateObjectMap; - rr:predicateMap :pm_242. -:pm_242 a rr:PredicateMap; +:fn_80 rr:predicateObjectMap :pom_240. +:pom_240 a rr:PredicateObjectMap; + rr:predicateMap :pm_240. +:pm_240 a rr:PredicateMap; rr:constant idlab-fn:strBoolean. -:pom_242 rr:objectMap :om_242. -:om_242 a rr:ObjectMap, fnml:FunctionTermMap; +:pom_240 rr:objectMap :om_240. +:om_240 a rr:ObjectMap, fnml:FunctionTermMap; fnml:functionValue :fn_81. -:fn_81 rml:logicalSource :source_38; +:fn_81 rml:logicalSource :source_37; rr:predicateObjectMap :pomexec_81. :pomexec_81 rr:predicateMap :pmexec_81. :pmexec_81 rr:constant fno:executes. :pomexec_81 rr:objectMap :omexec_81. :omexec_81 rr:constant "http://example.com/idlab/function/notEqual"; rr:termType rr:IRI. -:fn_81 rr:predicateObjectMap :pom_243. -:pom_243 a rr:PredicateObjectMap; - rr:predicateMap :pm_243. -:pm_243 a rr:PredicateMap; +:fn_81 rr:predicateObjectMap :pom_241. +:pom_241 a rr:PredicateObjectMap; + rr:predicateMap :pm_241. +:pm_241 a rr:PredicateMap; rr:constant grel:valueParameter. -:pom_243 rr:objectMap :om_243. -:om_243 a rr:ObjectMap; +:pom_241 rr:objectMap :om_241. +:om_241 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. -:fn_81 rr:predicateObjectMap :pom_244. -:pom_244 a rr:PredicateObjectMap; - rr:predicateMap :pm_244. -:pm_244 a rr:PredicateMap; +:fn_81 rr:predicateObjectMap :pom_242. +:pom_242 a rr:PredicateObjectMap; + rr:predicateMap :pm_242. +:pm_242 a rr:PredicateMap; rr:constant grel:valueParameter2. -:pom_244 rr:objectMap :om_244. -:om_244 a rr:ObjectMap; +:pom_242 rr:objectMap :om_242. +:om_242 a rr:ObjectMap; rr:constant ""; rr:termType rr:Literal. -:fn_80 rr:predicateObjectMap :pom_245. -:pom_245 a rr:PredicateObjectMap; - rr:predicateMap :pm_245. -:pm_245 a rr:PredicateMap; +:fn_80 rr:predicateObjectMap :pom_243. +:pom_243 a rr:PredicateObjectMap; + rr:predicateMap :pm_243. +:pm_243 a rr:PredicateMap; rr:constant idlab-fn:str. -:pom_245 rr:objectMap :om_245. -:om_245 a rr:ObjectMap; +:pom_243 rr:objectMap :om_243. +:om_243 a rr:ObjectMap; rml:reference "OtherValue"; rr:termType rr:Literal. diff --git a/rml/sol-tracks_rml.ttl b/rml/sol-tracks_rml.ttl index 98e2d0a..f33d787 100644 --- a/rml/sol-tracks_rml.ttl +++ b/rml/sol-tracks_rml.ttl @@ -12,7 +12,6 @@ @prefix grel: . @prefix eu-country: . @prefix era: . -@prefix era-lni: . @prefix era-lc: . @prefix era-gaugings: . @prefix era-tds: . @@ -67,7 +66,7 @@ :pm_2 rr:constant era:lineNationalId. :pom_2 rr:objectMap :om_2. :om_2 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/line-national-ids#{UICCode}"; + rr:template "http://era.europa.eu/implementation#LNI_{UICCode}"; rr:termType rr:IRI. :pom_3 a rr:PredicateObjectMap. :map_sol-tracks_0 rr:predicateObjectMap :pom_3. From 8fc35a6c7c877f2bcf18cb0b4ee18decf3f5ccbb Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Mon, 25 Jan 2021 21:46:25 +0100 Subject: [PATCH 3/6] Add lineReference mappings for Operational Points --- mappings/operational-points.yml | 28 ++++++- rml/operational-points_rml.ttl | 129 ++++++++++++++++++++++++-------- 2 files changed, 125 insertions(+), 32 deletions(-) diff --git a/mappings/operational-points.yml b/mappings/operational-points.yml index b64a6d8..9d6ac07 100644 --- a/mappings/operational-points.yml +++ b/mappings/operational-points.yml @@ -50,7 +50,7 @@ mappings: function: idlab-fn:notEqual parameters: - [grel:valueParameter, $(TafTapCode)] - - [grel:valueParameter2, "NULL"] + - [grel:valueParameter2, ""] - p: era:opType o: - mapping: op-type @@ -60,6 +60,32 @@ mappings: - [str1, $(Value)] - [str2, $(label)] + op-line-reference: + sources: + - access: *host + type: *typeMSSQL + credentials: *credentials + queryFormulation: *queryFormulation + referenceFormulation: *referenceFormulation + query: SELECT TRIM(UOPID) AS UOPID, LineReferences.Kilometer, UICLines.UICCode FROM RINF.dbo.OperationalPoints, RINF.dbo.LineReferences, RINF.dbo.UICLines WHERE OperationalPoints.ID = LineReferences.OperationalPointId AND OperationalPoints.VersionID = LineReferences.VersionID AND LineReferences.UICLineId = UICLines.ID AND LineReferences.VersionID = UICLines.VersionID; + s: http://era.europa.eu/implementation#OP_$(UOPID) + po: + - [era:lineReference, http://era.europa.eu/abstraction#LR_$(UICCode)_$(Kilometer)~iri] + + line-reference: + sources: + - access: *host + type: *typeMSSQL + credentials: *credentials + queryFormulation: *queryFormulation + referenceFormulation: *referenceFormulation + query: SELECT TRIM(UOPID) AS UOPID, LineReferences.Kilometer, UICLines.UICCode FROM RINF.dbo.OperationalPoints, RINF.dbo.LineReferences, RINF.dbo.UICLines WHERE OperationalPoints.ID = LineReferences.OperationalPointId AND OperationalPoints.VersionID = LineReferences.VersionID AND LineReferences.UICLineId = UICLines.ID AND LineReferences.VersionID = UICLines.VersionID; + s: http://era.europa.eu/abstraction#LR_$(UICCode)_$(Kilometer) + po: + - [a, era:LineReference] + - [era:lineNationalId, http://era.europa.eu/implementation#LNI_$(UICCode)~iri] + - [era:kilometer, $(Kilometer), xsd:double] + location: sources: - access: *host diff --git a/rml/operational-points_rml.ttl b/rml/operational-points_rml.ttl index 83e6cc9..57a7ed8 100644 --- a/rml/operational-points_rml.ttl +++ b/rml/operational-points_rml.ttl @@ -138,7 +138,7 @@ rr:constant grel:valueParameter2. :pom_10 rr:objectMap :om_10. :om_10 a rr:ObjectMap; - rr:constant "NULL"; + rr:constant ""; rr:termType rr:Literal. :fn_0 rr:predicateObjectMap :pom_11. :pom_11 a rr:PredicateObjectMap; @@ -155,87 +155,154 @@ :pom_12 rr:predicateMap :pm_12. :pm_12 rr:constant era:opType. :pom_12 rr:objectMap :om_12. -:map_location_0 rml:logicalSource :source_1. +:map_op-line-reference_0 rml:logicalSource :source_1. :source_1 a rml:LogicalSource; rml:source :database_1; - rml:query "SELECT LineNodes.Latitude, LineNodes.Longitude FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPoints.ID = LineNodes.OperationalPointID AND OperationalPoints.VersionID = LineNodes.VersionID;". + rml:query "SELECT TRIM(UOPID) AS UOPID, LineReferences.Kilometer, UICLines.UICCode FROM RINF.dbo.OperationalPoints, RINF.dbo.LineReferences, RINF.dbo.UICLines WHERE OperationalPoints.ID = LineReferences.OperationalPointId AND OperationalPoints.VersionID = LineReferences.VersionID AND LineReferences.UICLineId = UICLines.ID AND LineReferences.VersionID = UICLines.VersionID;". :database_1 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_1 rml:referenceFormulation ql:CSV. -:map_location_0 a rr:TriplesMap; - rdfs:label "location". +:map_op-line-reference_0 a rr:TriplesMap; + rdfs:label "op-line-reference". :s_1 a rr:SubjectMap. -:map_location_0 rr:subjectMap :s_1. -:s_1 rr:template "http://era.europa.eu/location#GEO/{Longitude}/{Latitude}". +:map_op-line-reference_0 rr:subjectMap :s_1. +:s_1 rr:template "http://era.europa.eu/implementation#OP_{UOPID}". :pom_13 a rr:PredicateObjectMap. -:map_location_0 rr:predicateObjectMap :pom_13. +:map_op-line-reference_0 rr:predicateObjectMap :pom_13. :pm_13 a rr:PredicateMap. :pom_13 rr:predicateMap :pm_13. -:pm_13 rr:constant rdf:type. +:pm_13 rr:constant era:lineReference. :pom_13 rr:objectMap :om_13. :om_13 a rr:ObjectMap; - rr:constant "http://www.w3.org/2003/01/geo/wgs84_pos#Point"; + rr:template "http://era.europa.eu/abstraction#LR_{UICCode}_{Kilometer}"; rr:termType rr:IRI. +:map_line-reference_0 rml:logicalSource :source_2. +:source_2 a rml:LogicalSource; + rml:source :database_2; + rml:query "SELECT TRIM(UOPID) AS UOPID, LineReferences.Kilometer, UICLines.UICCode FROM RINF.dbo.OperationalPoints, RINF.dbo.LineReferences, RINF.dbo.UICLines WHERE OperationalPoints.ID = LineReferences.OperationalPointId AND OperationalPoints.VersionID = LineReferences.VersionID AND LineReferences.UICLineId = UICLines.ID AND LineReferences.VersionID = UICLines.VersionID;". +:database_2 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_2 rml:referenceFormulation ql:CSV. +:map_line-reference_0 a rr:TriplesMap; + rdfs:label "line-reference". +:s_2 a rr:SubjectMap. +:map_line-reference_0 rr:subjectMap :s_2. +:s_2 rr:template "http://era.europa.eu/abstraction#LR_{UICCode}_{Kilometer}". :pom_14 a rr:PredicateObjectMap. -:map_location_0 rr:predicateObjectMap :pom_14. +:map_line-reference_0 rr:predicateObjectMap :pom_14. :pm_14 a rr:PredicateMap. :pom_14 rr:predicateMap :pm_14. :pm_14 rr:constant rdf:type. :pom_14 rr:objectMap :om_14. :om_14 a rr:ObjectMap; - rr:constant "http://www.opengis.net/ont/geosparql#Geometry"; + rr:constant "http://era.europa.eu/ns#LineReference"; rr:termType rr:IRI. :pom_15 a rr:PredicateObjectMap. -:map_location_0 rr:predicateObjectMap :pom_15. +:map_line-reference_0 rr:predicateObjectMap :pom_15. :pm_15 a rr:PredicateMap. :pom_15 rr:predicateMap :pm_15. -:pm_15 rr:constant wgs:latitude. +:pm_15 rr:constant era:lineNationalId. :pom_15 rr:objectMap :om_15. :om_15 a rr:ObjectMap; - rml:reference "Latitude"; - rr:termType rr:Literal; - rr:datatype xsd:double. + rr:template "http://era.europa.eu/implementation#LNI_{UICCode}"; + rr:termType rr:IRI. :pom_16 a rr:PredicateObjectMap. -:map_location_0 rr:predicateObjectMap :pom_16. +:map_line-reference_0 rr:predicateObjectMap :pom_16. :pm_16 a rr:PredicateMap. :pom_16 rr:predicateMap :pm_16. -:pm_16 rr:constant wgs:longitude. +:pm_16 rr:constant era:kilometer. :pom_16 rr:objectMap :om_16. :om_16 a rr:ObjectMap; - rml:reference "Longitude"; + rml:reference "Kilometer"; rr:termType rr:Literal; rr:datatype xsd:double. +:map_location_0 rml:logicalSource :source_3. +:source_3 a rml:LogicalSource; + rml:source :database_3; + rml:query "SELECT LineNodes.Latitude, LineNodes.Longitude FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPoints.ID = LineNodes.OperationalPointID AND OperationalPoints.VersionID = LineNodes.VersionID;". +:database_3 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_3 rml:referenceFormulation ql:CSV. +:map_location_0 a rr:TriplesMap; + rdfs:label "location". +:s_3 a rr:SubjectMap. +:map_location_0 rr:subjectMap :s_3. +:s_3 rr:template "http://era.europa.eu/location#GEO/{Longitude}/{Latitude}". :pom_17 a rr:PredicateObjectMap. :map_location_0 rr:predicateObjectMap :pom_17. :pm_17 a rr:PredicateMap. :pom_17 rr:predicateMap :pm_17. -:pm_17 rr:constant geosparql:asWKT. +:pm_17 rr:constant rdf:type. :pom_17 rr:objectMap :om_17. :om_17 a rr:ObjectMap; + rr:constant "http://www.w3.org/2003/01/geo/wgs84_pos#Point"; + rr:termType rr:IRI. +:pom_18 a rr:PredicateObjectMap. +:map_location_0 rr:predicateObjectMap :pom_18. +:pm_18 a rr:PredicateMap. +:pom_18 rr:predicateMap :pm_18. +:pm_18 rr:constant rdf:type. +:pom_18 rr:objectMap :om_18. +:om_18 a rr:ObjectMap; + rr:constant "http://www.opengis.net/ont/geosparql#Geometry"; + rr:termType rr:IRI. +:pom_19 a rr:PredicateObjectMap. +:map_location_0 rr:predicateObjectMap :pom_19. +:pm_19 a rr:PredicateMap. +:pom_19 rr:predicateMap :pm_19. +:pm_19 rr:constant wgs:latitude. +:pom_19 rr:objectMap :om_19. +:om_19 a rr:ObjectMap; + rml:reference "Latitude"; + rr:termType rr:Literal; + rr:datatype xsd:double. +:pom_20 a rr:PredicateObjectMap. +:map_location_0 rr:predicateObjectMap :pom_20. +:pm_20 a rr:PredicateMap. +:pom_20 rr:predicateMap :pm_20. +:pm_20 rr:constant wgs:longitude. +:pom_20 rr:objectMap :om_20. +:om_20 a rr:ObjectMap; + rml:reference "Longitude"; + rr:termType rr:Literal; + rr:datatype xsd:double. +:pom_21 a rr:PredicateObjectMap. +:map_location_0 rr:predicateObjectMap :pom_21. +:pm_21 a rr:PredicateMap. +:pom_21 rr:predicateMap :pm_21. +:pm_21 rr:constant geosparql:asWKT. +:pom_21 rr:objectMap :om_21. +:om_21 a rr:ObjectMap; rr:template "POINT ({Longitude} {Latitude})"; rr:termType rr:Literal; rr:datatype geosparql:wktLiteral. -:map_op-type_0 rml:logicalSource :source_2. -:source_2 a rml:LogicalSource; +:map_op-type_0 rml:logicalSource :source_4. +:source_4 a rml:LogicalSource; rml:source "data/op_types.csv"; rml:referenceFormulation ql:CSV. :map_op-type_0 a rr:TriplesMap; rdfs:label "op-type". -:s_2 a rr:SubjectMap. -:map_op-type_0 rr:subjectMap :s_2. -:s_2 rr:template "http://era.europa.eu/concepts/op-types#{type}". -:map_eu-country_0 rml:logicalSource :source_3. -:source_3 a rml:LogicalSource; +:s_4 a rr:SubjectMap. +:map_op-type_0 rr:subjectMap :s_4. +:s_4 rr:template "http://era.europa.eu/concepts/op-types#{type}". +:map_eu-country_0 rml:logicalSource :source_5. +:source_5 a rml:LogicalSource; rml:source "data/countries.csv"; rml:referenceFormulation ql:CSV. :map_eu-country_0 a rr:TriplesMap; rdfs:label "eu-country". -:s_3 a rr:SubjectMap. -:map_eu-country_0 rr:subjectMap :s_3. -:s_3 rml:reference "eu". +:s_5 a rr:SubjectMap. +:map_eu-country_0 rr:subjectMap :s_5. +:s_5 rml:reference "eu". :om_6 a rr:ObjectMap; rr:parentTriplesMap :map_eu-country_0; rr:joinCondition :jc_0. From 50fd357f2921c3f0422eaa633f2a22c9d115f8f6 Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Tue, 26 Jan 2021 11:44:47 +0100 Subject: [PATCH 4/6] Make node port URI strategy sustainable --- mappings/node-ports.yml | 24 ++++++++++-- rml/node-ports_rml.ttl | 87 +++++++++++++++++++++++++++++++++++------ 2 files changed, 95 insertions(+), 16 deletions(-) diff --git a/mappings/node-ports.yml b/mappings/node-ports.yml index dc56da2..683496b 100644 --- a/mappings/node-ports.yml +++ b/mappings/node-ports.yml @@ -15,18 +15,34 @@ variables: referenceFormulation: &referenceFormulation csv mappings: - node-port: + departing-node-port: sources: - access: *host type: *typeMSSQL credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: (SELECT LineEdges.ID, LineEdges.VersionID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS NODE FROM RINF.dbo.LineEdges, RINF.dbo.LineNodes WHERE LineEdges.LineNodeEndID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID) UNION (SELECT LineEdges.ID, LineEdges.VersionID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS NODE FROM RINF.dbo.LineEdges, RINF.dbo.LineNodes WHERE LineEdges.LineNodeStartID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID); - s: http://era.europa.eu/abstraction#NP_$(NODE)_$(ID)_$(VersionID) + query: SELECT Tracks.UUID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LineNodes WHERE LineEdges.LineNodeStartID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID AND LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [a, era:NodePort] - [wgs:latitude, $(Latitude), xsd:double] - [wgs:longitude, $(Longitude), xsd:double] - [geosparql:asWKT, POINT ($(Longitude) $(Latitude)), geosparql:wktLiteral] - - [era:belongsToNode, http://era.europa.eu/abstraction#MN_$(NODE)~iri] \ No newline at end of file + - [era:belongsToNode, http://era.europa.eu/abstraction#MN_$(FROM_NODE)~iri] + + arriving-node-port: + sources: + - access: *host + type: *typeMSSQL + credentials: *credentials + queryFormulation: *queryFormulation + referenceFormulation: *referenceFormulation + query: SELECT Tracks.UUID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LineNodes WHERE LineEdges.LineNodeEndID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID AND LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE) + po: + - [a, era:NodePort] + - [wgs:latitude, $(Latitude), xsd:double] + - [wgs:longitude, $(Longitude), xsd:double] + - [geosparql:asWKT, POINT ($(Longitude) $(Latitude)), geosparql:wktLiteral] + - [era:belongsToNode, http://era.europa.eu/abstraction#MN_$(TO_NODE)~iri] \ No newline at end of file diff --git a/rml/node-ports_rml.ttl b/rml/node-ports_rml.ttl index 6c3e12b..161b40a 100644 --- a/rml/node-ports_rml.ttl +++ b/rml/node-ports_rml.ttl @@ -12,23 +12,23 @@ @prefix era: . @prefix xsd: . -:map_node-port_0 rml:logicalSource :source_0. +:map_departing-node-port_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source :database_0; - rml:query "(SELECT LineEdges.ID, LineEdges.VersionID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS NODE FROM RINF.dbo.LineEdges, RINF.dbo.LineNodes WHERE LineEdges.LineNodeEndID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID) UNION (SELECT LineEdges.ID, LineEdges.VersionID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS NODE FROM RINF.dbo.LineEdges, RINF.dbo.LineNodes WHERE LineEdges.LineNodeStartID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID);". + rml:query "SELECT Tracks.UUID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LineNodes WHERE LineEdges.LineNodeStartID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID AND LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_0 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_0 rml:referenceFormulation ql:CSV. -:map_node-port_0 a rr:TriplesMap; - rdfs:label "node-port". +:map_departing-node-port_0 a rr:TriplesMap; + rdfs:label "departing-node-port". :s_0 a rr:SubjectMap. -:map_node-port_0 rr:subjectMap :s_0. -:s_0 rr:template "http://era.europa.eu/abstraction#NP_{NODE}_{ID}_{VersionID}". +:map_departing-node-port_0 rr:subjectMap :s_0. +:s_0 rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_0 a rr:PredicateObjectMap. -:map_node-port_0 rr:predicateObjectMap :pom_0. +:map_departing-node-port_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. :pom_0 rr:predicateMap :pm_0. :pm_0 rr:constant rdf:type. @@ -37,7 +37,7 @@ rr:constant "http://era.europa.eu/ns#NodePort"; rr:termType rr:IRI. :pom_1 a rr:PredicateObjectMap. -:map_node-port_0 rr:predicateObjectMap :pom_1. +:map_departing-node-port_0 rr:predicateObjectMap :pom_1. :pm_1 a rr:PredicateMap. :pom_1 rr:predicateMap :pm_1. :pm_1 rr:constant wgs:latitude. @@ -47,7 +47,7 @@ rr:termType rr:Literal; rr:datatype xsd:double. :pom_2 a rr:PredicateObjectMap. -:map_node-port_0 rr:predicateObjectMap :pom_2. +:map_departing-node-port_0 rr:predicateObjectMap :pom_2. :pm_2 a rr:PredicateMap. :pom_2 rr:predicateMap :pm_2. :pm_2 rr:constant wgs:longitude. @@ -57,7 +57,7 @@ rr:termType rr:Literal; rr:datatype xsd:double. :pom_3 a rr:PredicateObjectMap. -:map_node-port_0 rr:predicateObjectMap :pom_3. +:map_departing-node-port_0 rr:predicateObjectMap :pom_3. :pm_3 a rr:PredicateMap. :pom_3 rr:predicateMap :pm_3. :pm_3 rr:constant geosparql:asWKT. @@ -67,11 +67,74 @@ rr:termType rr:Literal; rr:datatype geosparql:wktLiteral. :pom_4 a rr:PredicateObjectMap. -:map_node-port_0 rr:predicateObjectMap :pom_4. +:map_departing-node-port_0 rr:predicateObjectMap :pom_4. :pm_4 a rr:PredicateMap. :pom_4 rr:predicateMap :pm_4. :pm_4 rr:constant era:belongsToNode. :pom_4 rr:objectMap :om_4. :om_4 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#MN_{NODE}"; + rr:template "http://era.europa.eu/abstraction#MN_{FROM_NODE}"; + rr:termType rr:IRI. +:map_arriving-node-port_0 rml:logicalSource :source_1. +:source_1 a rml:LogicalSource; + rml:source :database_1; + rml:query "SELECT Tracks.UUID, LineNodes.Latitude, LineNodes.Longitude, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LineNodes WHERE LineEdges.LineNodeEndID = LineNodes.ID AND LineEdges.VersionID = LineNodes.VersionID AND LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". +:database_1 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_1 rml:referenceFormulation ql:CSV. +:map_arriving-node-port_0 a rr:TriplesMap; + rdfs:label "arriving-node-port". +:s_1 a rr:SubjectMap. +:map_arriving-node-port_0 rr:subjectMap :s_1. +:s_1 rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{UUID}_{FROM_NODE}". +:pom_5 a rr:PredicateObjectMap. +:map_arriving-node-port_0 rr:predicateObjectMap :pom_5. +:pm_5 a rr:PredicateMap. +:pom_5 rr:predicateMap :pm_5. +:pm_5 rr:constant rdf:type. +:pom_5 rr:objectMap :om_5. +:om_5 a rr:ObjectMap; + rr:constant "http://era.europa.eu/ns#NodePort"; + rr:termType rr:IRI. +:pom_6 a rr:PredicateObjectMap. +:map_arriving-node-port_0 rr:predicateObjectMap :pom_6. +:pm_6 a rr:PredicateMap. +:pom_6 rr:predicateMap :pm_6. +:pm_6 rr:constant wgs:latitude. +:pom_6 rr:objectMap :om_6. +:om_6 a rr:ObjectMap; + rml:reference "Latitude"; + rr:termType rr:Literal; + rr:datatype xsd:double. +:pom_7 a rr:PredicateObjectMap. +:map_arriving-node-port_0 rr:predicateObjectMap :pom_7. +:pm_7 a rr:PredicateMap. +:pom_7 rr:predicateMap :pm_7. +:pm_7 rr:constant wgs:longitude. +:pom_7 rr:objectMap :om_7. +:om_7 a rr:ObjectMap; + rml:reference "Longitude"; + rr:termType rr:Literal; + rr:datatype xsd:double. +:pom_8 a rr:PredicateObjectMap. +:map_arriving-node-port_0 rr:predicateObjectMap :pom_8. +:pm_8 a rr:PredicateMap. +:pom_8 rr:predicateMap :pm_8. +:pm_8 rr:constant geosparql:asWKT. +:pom_8 rr:objectMap :om_8. +:om_8 a rr:ObjectMap; + rr:template "POINT ({Longitude} {Latitude})"; + rr:termType rr:Literal; + rr:datatype geosparql:wktLiteral. +:pom_9 a rr:PredicateObjectMap. +:map_arriving-node-port_0 rr:predicateObjectMap :pom_9. +:pm_9 a rr:PredicateMap. +:pom_9 rr:predicateMap :pm_9. +:pm_9 rr:constant era:belongsToNode. +:pom_9 rr:objectMap :om_9. +:om_9 a rr:ObjectMap; + rr:template "http://era.europa.eu/abstraction#MN_{TO_NODE}"; rr:termType rr:IRI. From 0161ce68f558915dfeec834c5870c8f23f6b8f0a Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Tue, 26 Jan 2021 21:15:06 +0100 Subject: [PATCH 5/6] Make InternalNodeLink URIs sustainable --- mappings/internal-node-links.yml | 41 ++++++---- rml/internal-node-links_rml.ttl | 124 ++++++++++++++++++++++--------- 2 files changed, 116 insertions(+), 49 deletions(-) diff --git a/mappings/internal-node-links.yml b/mappings/internal-node-links.yml index e078138..68e2fa4 100644 --- a/mappings/internal-node-links.yml +++ b/mappings/internal-node-links.yml @@ -13,20 +13,35 @@ variables: referenceFormulation: &referenceFormulation csv mappings: - internal-node-link: + internal-node-link-in-out: sources: - access: *host type: *typeMSSQL credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT TRIM(OP2.UOPID) AS UOPID, LineEdges2.ID AS INCOMING, LineEdges1.ID AS OUTGOING, LineEdges2.VersionID AS StartV, LineEdges1.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID; - s: http://era.europa.eu/abstraction#INL_$(UOPID)_$(INCOMING)_$(OUTGOING)_$(StartV) + query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID; + s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP) po: - [a, era:InternalNodeLink] - [era:bidirectional, "true", xsd:boolean] - - [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(INCOMING)_$(StartV)~iri] - - [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(EndV)~iri] + - [era:startPort, http://era.europa.eu/abstraction#NP_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)~iri] + - [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)~iri] + + internal-node-link-out-in: + sources: + - access: *host + type: *typeMSSQL + credentials: *credentials + queryFormulation: *queryFormulation + referenceFormulation: *referenceFormulation + query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID; + s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP) + po: + - [a, era:InternalNodeLink] + - [era:bidirectional, "true", xsd:boolean] + - [era:startPort, http://era.europa.eu/abstraction#NP_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)~iri] + - [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)~iri] internal-node-link-no-out: sources: @@ -35,13 +50,13 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT TRIM(OP1.UOPID) AS UOPID, LineEdges1.ID AS Line1, LineEdges2.ID AS Line2, LineEdges1.VersionID AS StartV, LineEdges2.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID; - s: http://era.europa.eu/abstraction#INL_$(UOPID)_$(Line1)_$(Line2)_$(StartV) + query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID; + s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP) po: - [a, era:InternalNodeLink] - [era:bidirectional, "true", xsd:boolean] - - [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line1)_$(StartV)~iri] - - [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line2)_$(EndV)~iri] + - [era:startPort, http://era.europa.eu/abstraction#NP_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)~iri] + - [era:endPort, http://era.europa.eu/abstraction#NP_$(OUTGOING_REMOTE_OP)_$(OUTGOING)_$(UOPID)~iri] internal-node-link-no-in: sources: @@ -50,10 +65,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT TRIM(OP1.UOPID) AS UOPID, LineEdges1.ID AS Line1, LineEdges2.ID AS Line2, LineEdges1.VersionID AS StartV, LineEdges2.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID ORDER BY OP2.UOPID; - s: http://era.europa.eu/abstraction#INL_$(UOPID)_$(Line1)_$(Line2)_$(StartV) + query: SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID + s: http://era.europa.eu/abstraction#INL_$(INCOMING_REMOTE_OP)_$(INCOMING)_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP) po: - [a, era:InternalNodeLink] - [era:bidirectional, "true", xsd:boolean] - - [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line1)_$(StartV)~iri] - - [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(Line2)_$(EndV)~iri] \ No newline at end of file + - [era:startPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(INCOMING)_$(INCOMING_REMOTE_OP)~iri] + - [era:endPort, http://era.europa.eu/abstraction#NP_$(UOPID)_$(OUTGOING)_$(OUTGOING_REMOTE_OP)~iri] \ No newline at end of file diff --git a/rml/internal-node-links_rml.ttl b/rml/internal-node-links_rml.ttl index 52cf84b..293ff4c 100644 --- a/rml/internal-node-links_rml.ttl +++ b/rml/internal-node-links_rml.ttl @@ -10,23 +10,23 @@ @prefix era: . @prefix xsd: . -:map_internal-node-link_0 rml:logicalSource :source_0. +:map_internal-node-link-in-out_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source :database_0; - rml:query "SELECT TRIM(OP2.UOPID) AS UOPID, LineEdges2.ID AS INCOMING, LineEdges1.ID AS OUTGOING, LineEdges2.VersionID AS StartV, LineEdges1.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;". + rml:query "SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;". :database_0 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_0 rml:referenceFormulation ql:CSV. -:map_internal-node-link_0 a rr:TriplesMap; - rdfs:label "internal-node-link". +:map_internal-node-link-in-out_0 a rr:TriplesMap; + rdfs:label "internal-node-link-in-out". :s_0 a rr:SubjectMap. -:map_internal-node-link_0 rr:subjectMap :s_0. -:s_0 rr:template "http://era.europa.eu/abstraction#INL_{UOPID}_{INCOMING}_{OUTGOING}_{StartV}". +:map_internal-node-link-in-out_0 rr:subjectMap :s_0. +:s_0 rr:template "http://era.europa.eu/abstraction#INL_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}". :pom_0 a rr:PredicateObjectMap. -:map_internal-node-link_0 rr:predicateObjectMap :pom_0. +:map_internal-node-link-in-out_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. :pom_0 rr:predicateMap :pm_0. :pm_0 rr:constant rdf:type. @@ -35,7 +35,7 @@ rr:constant "http://era.europa.eu/ns#InternalNodeLink"; rr:termType rr:IRI. :pom_1 a rr:PredicateObjectMap. -:map_internal-node-link_0 rr:predicateObjectMap :pom_1. +:map_internal-node-link-in-out_0 rr:predicateObjectMap :pom_1. :pm_1 a rr:PredicateMap. :pom_1 rr:predicateMap :pm_1. :pm_1 rr:constant era:bidirectional. @@ -45,40 +45,40 @@ rr:termType rr:Literal; rr:datatype xsd:boolean. :pom_2 a rr:PredicateObjectMap. -:map_internal-node-link_0 rr:predicateObjectMap :pom_2. +:map_internal-node-link-in-out_0 rr:predicateObjectMap :pom_2. :pm_2 a rr:PredicateMap. :pom_2 rr:predicateMap :pm_2. :pm_2 rr:constant era:startPort. :pom_2 rr:objectMap :om_2. :om_2 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{INCOMING}_{StartV}"; + rr:template "http://era.europa.eu/abstraction#NP_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}"; rr:termType rr:IRI. :pom_3 a rr:PredicateObjectMap. -:map_internal-node-link_0 rr:predicateObjectMap :pom_3. +:map_internal-node-link-in-out_0 rr:predicateObjectMap :pom_3. :pm_3 a rr:PredicateMap. :pom_3 rr:predicateMap :pm_3. :pm_3 rr:constant era:endPort. :pom_3 rr:objectMap :om_3. :om_3 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{OUTGOING}_{EndV}"; + rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}"; rr:termType rr:IRI. -:map_internal-node-link-no-out_0 rml:logicalSource :source_1. +:map_internal-node-link-out-in_0 rml:logicalSource :source_1. :source_1 a rml:LogicalSource; rml:source :database_1; - rml:query "SELECT TRIM(OP1.UOPID) AS UOPID, LineEdges1.ID AS Line1, LineEdges2.ID AS Line2, LineEdges1.VersionID AS StartV, LineEdges2.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;". + rml:query "SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;". :database_1 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_1 rml:referenceFormulation ql:CSV. -:map_internal-node-link-no-out_0 a rr:TriplesMap; - rdfs:label "internal-node-link-no-out". +:map_internal-node-link-out-in_0 a rr:TriplesMap; + rdfs:label "internal-node-link-out-in". :s_1 a rr:SubjectMap. -:map_internal-node-link-no-out_0 rr:subjectMap :s_1. -:s_1 rr:template "http://era.europa.eu/abstraction#INL_{UOPID}_{Line1}_{Line2}_{StartV}". +:map_internal-node-link-out-in_0 rr:subjectMap :s_1. +:s_1 rr:template "http://era.europa.eu/abstraction#INL_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}". :pom_4 a rr:PredicateObjectMap. -:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_4. +:map_internal-node-link-out-in_0 rr:predicateObjectMap :pom_4. :pm_4 a rr:PredicateMap. :pom_4 rr:predicateMap :pm_4. :pm_4 rr:constant rdf:type. @@ -87,7 +87,7 @@ rr:constant "http://era.europa.eu/ns#InternalNodeLink"; rr:termType rr:IRI. :pom_5 a rr:PredicateObjectMap. -:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_5. +:map_internal-node-link-out-in_0 rr:predicateObjectMap :pom_5. :pm_5 a rr:PredicateMap. :pom_5 rr:predicateMap :pm_5. :pm_5 rr:constant era:bidirectional. @@ -97,40 +97,40 @@ rr:termType rr:Literal; rr:datatype xsd:boolean. :pom_6 a rr:PredicateObjectMap. -:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_6. +:map_internal-node-link-out-in_0 rr:predicateObjectMap :pom_6. :pm_6 a rr:PredicateMap. :pom_6 rr:predicateMap :pm_6. :pm_6 rr:constant era:startPort. :pom_6 rr:objectMap :om_6. :om_6 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{Line1}_{StartV}"; + rr:template "http://era.europa.eu/abstraction#NP_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}"; rr:termType rr:IRI. :pom_7 a rr:PredicateObjectMap. -:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_7. +:map_internal-node-link-out-in_0 rr:predicateObjectMap :pom_7. :pm_7 a rr:PredicateMap. :pom_7 rr:predicateMap :pm_7. :pm_7 rr:constant era:endPort. :pom_7 rr:objectMap :om_7. :om_7 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{Line2}_{EndV}"; + rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}"; rr:termType rr:IRI. -:map_internal-node-link-no-in_0 rml:logicalSource :source_2. +:map_internal-node-link-no-out_0 rml:logicalSource :source_2. :source_2 a rml:LogicalSource; rml:source :database_2; - rml:query "SELECT TRIM(OP1.UOPID) AS UOPID, LineEdges1.ID AS Line1, LineEdges2.ID AS Line2, LineEdges1.VersionID AS StartV, LineEdges2.VersionID AS EndV FROM RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.ID != LineEdges2.ID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID ORDER BY OP2.UOPID;". + rml:query "SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeEndID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeEndID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID;". :database_2 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:username "SA"; d2rq:password "ChooChoo2020". :source_2 rml:referenceFormulation ql:CSV. -:map_internal-node-link-no-in_0 a rr:TriplesMap; - rdfs:label "internal-node-link-no-in". +:map_internal-node-link-no-out_0 a rr:TriplesMap; + rdfs:label "internal-node-link-no-out". :s_2 a rr:SubjectMap. -:map_internal-node-link-no-in_0 rr:subjectMap :s_2. -:s_2 rr:template "http://era.europa.eu/abstraction#INL_{UOPID}_{Line1}_{Line2}_{StartV}". +:map_internal-node-link-no-out_0 rr:subjectMap :s_2. +:s_2 rr:template "http://era.europa.eu/abstraction#INL_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}". :pom_8 a rr:PredicateObjectMap. -:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_8. +:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_8. :pm_8 a rr:PredicateMap. :pom_8 rr:predicateMap :pm_8. :pm_8 rr:constant rdf:type. @@ -139,7 +139,7 @@ rr:constant "http://era.europa.eu/ns#InternalNodeLink"; rr:termType rr:IRI. :pom_9 a rr:PredicateObjectMap. -:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_9. +:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_9. :pm_9 a rr:PredicateMap. :pom_9 rr:predicateMap :pm_9. :pm_9 rr:constant era:bidirectional. @@ -149,20 +149,72 @@ rr:termType rr:Literal; rr:datatype xsd:boolean. :pom_10 a rr:PredicateObjectMap. -:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_10. +:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_10. :pm_10 a rr:PredicateMap. :pom_10 rr:predicateMap :pm_10. :pm_10 rr:constant era:startPort. :pom_10 rr:objectMap :om_10. :om_10 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{Line1}_{StartV}"; + rr:template "http://era.europa.eu/abstraction#NP_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}"; rr:termType rr:IRI. :pom_11 a rr:PredicateObjectMap. -:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_11. +:map_internal-node-link-no-out_0 rr:predicateObjectMap :pom_11. :pm_11 a rr:PredicateMap. :pom_11 rr:predicateMap :pm_11. :pm_11 rr:constant era:endPort. :pom_11 rr:objectMap :om_11. :om_11 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{Line2}_{EndV}"; + rr:template "http://era.europa.eu/abstraction#NP_{OUTGOING_REMOTE_OP}_{OUTGOING}_{UOPID}"; + rr:termType rr:IRI. +:map_internal-node-link-no-in_0 rml:logicalSource :source_3. +:source_3 a rml:LogicalSource; + rml:source :database_3; + rml:query "SELECT (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges2.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS INCOMING_REMOTE_OP, Tracks2.UUID AS INCOMING, TRIM(OP2.UOPID) AS UOPID, Tracks1.UUID AS OUTGOING, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE LineNodes.OperationalPointID = OperationalPoints.ID AND LineNodes.ID = LineEdges1.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS OUTGOING_REMOTE_OP FROM RINF.dbo.Tracks AS Tracks2, RINF.dbo.SOLTracks AS SOLTracks2, RINF.dbo.SectionOfLines AS SectionOfLines2, RINF.dbo.Tracks AS Tracks1, RINF.dbo.SOLTracks AS SOLTracks1, RINF.dbo.SectionOfLines AS SectionOfLines1, RINF.dbo.LineEdges AS LineEdges2, RINF.dbo.LineEdges AS LineEdges1, RINF.dbo.LineNodes AS LineNodes1, RINF.dbo.LineNodes AS LineNodes2, RINF.dbo.OperationalPoints AS OP1, RINF.dbo.OperationalPoints AS OP2, RINF.dbo.LookupValues WHERE Tracks2.ID = SOLTracks2.TrackID AND SOLTracks2.SectionOfLineID = SectionOfLines2.ID AND SectionOfLines2.LineEdgeID = LineEdges2.ID AND Tracks2.VersionID = LineEdges2.VersionID AND Tracks1.ID = SOLTracks1.TrackID AND SOLTracks1.SectionOfLineID = SectionOfLines1.ID AND SectionOfLines1.LineEdgeID = LineEdges1.ID AND Tracks1.VersionID = LineEdges1.VersionID AND Tracks2.ID != Tracks1.ID AND LineEdges2.LineNodeStartID = LineNodes2.ID AND LineEdges2.VersionID = LineNodes2.VersionID AND LineEdges1.LineNodeStartID = LineNodes1.ID AND LineEdges1.VersionID = LineNodes1.VersionID AND LineNodes2.OperationalPointID = OP2.ID AND LineNodes1.OperationalPointID = OP1.ID AND LineNodes2.VersionID = OP2.VersionID AND LineNodes1.VersionID = OP1.VersionID AND OP2.UOPID = OP1.UOPID AND OP1.[Type] = LookupValues.ID AND OP2.[Type] = LookupValues.ID". +:database_3 a d2rq:Database; + d2rq:jdbcDSN "//10.10.160.21:1433"; + d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; + d2rq:username "SA"; + d2rq:password "ChooChoo2020". +:source_3 rml:referenceFormulation ql:CSV. +:map_internal-node-link-no-in_0 a rr:TriplesMap; + rdfs:label "internal-node-link-no-in". +:s_3 a rr:SubjectMap. +:map_internal-node-link-no-in_0 rr:subjectMap :s_3. +:s_3 rr:template "http://era.europa.eu/abstraction#INL_{INCOMING_REMOTE_OP}_{INCOMING}_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}". +:pom_12 a rr:PredicateObjectMap. +:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_12. +:pm_12 a rr:PredicateMap. +:pom_12 rr:predicateMap :pm_12. +:pm_12 rr:constant rdf:type. +:pom_12 rr:objectMap :om_12. +:om_12 a rr:ObjectMap; + rr:constant "http://era.europa.eu/ns#InternalNodeLink"; + rr:termType rr:IRI. +:pom_13 a rr:PredicateObjectMap. +:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_13. +:pm_13 a rr:PredicateMap. +:pom_13 rr:predicateMap :pm_13. +:pm_13 rr:constant era:bidirectional. +:pom_13 rr:objectMap :om_13. +:om_13 a rr:ObjectMap; + rr:constant "true"; + rr:termType rr:Literal; + rr:datatype xsd:boolean. +:pom_14 a rr:PredicateObjectMap. +:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_14. +:pm_14 a rr:PredicateMap. +:pom_14 rr:predicateMap :pm_14. +:pm_14 rr:constant era:startPort. +:pom_14 rr:objectMap :om_14. +:om_14 a rr:ObjectMap; + rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{INCOMING}_{INCOMING_REMOTE_OP}"; + rr:termType rr:IRI. +:pom_15 a rr:PredicateObjectMap. +:map_internal-node-link-no-in_0 rr:predicateObjectMap :pom_15. +:pm_15 a rr:PredicateMap. +:pom_15 rr:predicateMap :pm_15. +:pm_15 rr:constant era:endPort. +:pom_15 rr:objectMap :om_15. +:om_15 a rr:ObjectMap; + rr:template "http://era.europa.eu/abstraction#NP_{UOPID}_{OUTGOING}_{OUTGOING_REMOTE_OP}"; rr:termType rr:IRI. From e8f916293981a6e09a3a7f6934b6e461f708ae67 Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Thu, 28 Jan 2021 12:01:26 +0100 Subject: [PATCH 6/6] Make stable URIs for micro links, tracks and tunnels --- mappings/keepers.yml | 3 +- mappings/micro-links.yml | 18 +-- mappings/sol-tracks.yml | 279 +++++++++++++++++++-------------------- mappings/tunnels.yml | 14 +- rml/keepers_rml.ttl | 15 +-- rml/micro-links_rml.ttl | 18 +-- rml/sol-tracks_rml.ttl | 278 +++++++++++++++++++------------------- rml/tunnels_rml.ttl | 14 +- 8 files changed, 318 insertions(+), 321 deletions(-) diff --git a/mappings/keepers.yml b/mappings/keepers.yml index 75f99f8..fe72b78 100644 --- a/mappings/keepers.yml +++ b/mappings/keepers.yml @@ -4,11 +4,10 @@ prefixes: rdfs: "http://www.w3.org/2000/01/rdf-schema#" schema: "https://schema.org/" era: "http://era.europa.eu/ns#" - era-manufacturers: "http://era.europa.eu/manufacturers#" xsd: "http://www.w3.org/2001/XMLSchema#" mappings: - manufacturer: + keeper: sources: - ["data/wagons_rsdr.csv~csv"] s: http://era.europa.eu/keepers#$(Keeper) diff --git a/mappings/micro-links.yml b/mappings/micro-links.yml index 300ff30..fe0be5f 100644 --- a/mappings/micro-links.yml +++ b/mappings/micro-links.yml @@ -22,48 +22,48 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, LineEdges.ID AS LineEdgeID, LineEdges.VersionID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS Direction FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.LookupValues WHERE LineEdges.ID=SectionOfLines.LineEdgeID AND LineEdges.VersionID=SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID=SectionOfLines.VersionID AND SOLTracks.Direction = LookupValues.ID; - s: http://era.europa.eu/abstraction#ML_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS Direction FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.Direction = LookupValues.ID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/abstraction#ML_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [a, era:MicroLink] - - [era:hasImplementation, http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID)~iri] + - [era:hasImplementation, http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri] - p: era:startPort - o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(LineEdgeID)_$(VersionID)~iri + o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri condition: function: idlab-fn:equal parameters: - [grel:valueParameter, $(Direction)] - [grel:valueParameter2, "N"] - p: era:startPort - o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(LineEdgeID)_$(VersionID)~iri + o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri condition: function: idlab-fn:equal parameters: - [grel:valueParameter, $(Direction)] - [grel:valueParameter2, "B"] - p: era:startPort - o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(LineEdgeID)_$(VersionID)~iri + o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE)~iri condition: function: idlab-fn:equal parameters: - [grel:valueParameter, $(Direction)] - [grel:valueParameter2, "O"] - p: era:endPort - o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(LineEdgeID)_$(VersionID)~iri + o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE)~iri condition: function: idlab-fn:equal parameters: - [grel:valueParameter, $(Direction)] - [grel:valueParameter2, "N"] - p: era:endPort - o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(LineEdgeID)_$(VersionID)~iri + o: http://era.europa.eu/abstraction#NP_$(TO_NODE)_$(UUID)_$(FROM_NODE)~iri condition: function: idlab-fn:equal parameters: - [grel:valueParameter, $(Direction)] - [grel:valueParameter2, "B"] - p: era:endPort - o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(LineEdgeID)_$(VersionID)~iri + o: http://era.europa.eu/abstraction#NP_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri condition: function: idlab-fn:equal parameters: diff --git a/mappings/sol-tracks.yml b/mappings/sol-tracks.yml index 4633247..fc1b53f 100644 --- a/mappings/sol-tracks.yml +++ b/mappings/sol-tracks.yml @@ -36,14 +36,14 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, SectionOfLines.Length, UICLines.UICCode, Tracks.UUID, MemberStates.Code FROM RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.UICLines, RINF.dbo.Tracks, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SOLTracks.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID AND SectionOfLines.UICLineID = UICLines.ID AND SectionOfLines.VersionID = UICLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, SectionOfLines.Length, UICLines.UICCode, MemberStates.Code, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.UICLines, RINF.dbo.MemberStateVersions, RINF.dbo.MemberStates WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SectionOfLines.UICLineID = UICLines.ID AND SectionOfLines.VersionID = UICLines.VersionID AND Tracks.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [a, era:Track] - [rdfs:label, $(UUID)] - [era:lineNationalId, http://era.europa.eu/implementation#LNI_$(UICCode)~iri] - [era:trackLength, $(Length), xsd:double] - - [era:hasAbstraction, http://era.europa.eu/abstraction#ML_$(ID)_$(VersionID)_$(TrackID)~iri] + - [era:hasAbstraction, http://era.europa.eu/abstraction#ML_$(FROM_NODE)_$(UUID)_$(TO_NODE)~iri] - p: era:inCountry o: - mapping: eu-country @@ -60,10 +60,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, TrackTunnels.TunnelID FROM RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels WHERE SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID AS TRACK_ID, REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.Tracks, RINF.dbo.Tunnels WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(TRACK_ID)_$(TO_NODE) po: - - [era:passesThroughTunnel, http://era.europa.eu/implementation#TN_$(VersionID)_$(TunnelID)~iri] + - [era:passesThroughTunnel, http://era.europa.eu/implementation#TN_$(TUNNEL_URI)~iri] eu-country: sources: @@ -80,8 +80,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT(LookupValues.[Value], '-' , TrackParameters.Value) AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, CONCAT(LookupValues.[Value], '-' , TrackParameters.Value) AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:loadCapability, era-lc:$(ParameterValue)~iri] @@ -92,8 +92,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.2.4.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.2.4.1'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:nationalLoadCapability, $(ParameterValue)] @@ -104,8 +104,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.2.4.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:highSpeedLoadModelCompliance o: @@ -133,8 +133,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.2.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:structureCheckLocation, $(ParameterValue), xsd:double] @@ -145,8 +145,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.2.4.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:compatibilityProcedureDocument, $(ParameterValue)] @@ -159,8 +159,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.3.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.3.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:gaugingProfile, http://era.europa.eu/concepts/gaugings#$(ParameterValue)~iri] @@ -171,8 +171,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.3.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.1.2'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:gaugingCheckLocation, $(ParameterValue), xsd:double] @@ -183,8 +183,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.3.1.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.1.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:gaugingTransversalDocument, $(ParameterValue)] @@ -197,8 +197,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.2.2.0.3.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.2.2.0.3.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:minimumVerticalRadius, $(ParameterValue)] @@ -211,8 +211,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.7.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.7.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:trainDetectionSystem, era-tds:$(ParameterValue)~iri] @@ -223,8 +223,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.7.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.7.1.2'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:trainDetectionSystemSpecificCheck, $(ParameterValue)] @@ -235,9 +235,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), '+', '_') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.7.1.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(TrackParameters.[Value], '+', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.7.1.4') + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:frenchTrainDetectionSystemLimitation, era-tds:$(ParameterValue)~iri] @@ -250,8 +249,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:hasHotAxleBoxDetector o: @@ -279,8 +278,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:hotAxleBoxDetectorTSICompliant o: @@ -308,8 +307,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:hotAxleBoxDetectorIdentification, $(ParameterValue)] @@ -320,8 +319,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.7') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.7') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:hotAxleBoxDetectorGeneration, $(ParameterValue)] @@ -332,8 +331,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, SUBSTRING(TrackParameters.Value, 2, LEN(TrackParameters.Value)) AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, SUBSTRING(TrackParameters.Value, 2, LEN(TrackParameters.Value)) AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.7.8'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:hotAxleBoxDetectorLocation, $(ParameterValue), xsd:double] @@ -344,8 +343,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:hotAxleBoxDetectorDirection, $(ParameterValue)] @@ -358,8 +357,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.4.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.4.2'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:cantDeficiency, $(ParameterValue)] @@ -370,8 +369,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.2.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.2.5'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:maximumPermittedSpeed, $(ParameterValue), xsd:integer] @@ -382,8 +381,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.4.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:railInclination, era-ri:1%2F$(ParameterValue)~iri] @@ -396,8 +395,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.4.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.4.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:wheelSetGauge o: @@ -416,8 +415,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.5.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.5.2'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:minimumWheelDiameter, $(ParameterValue), xsd:integer] @@ -430,8 +429,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.3.7') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.7'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:minimumHorizontalRadius, $(ParameterValue), xsd:integer] @@ -444,8 +443,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.11.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.11.1'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:maximumBrakingDistance, $(ParameterValue), xsd:integer] @@ -456,8 +455,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.3.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.6'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:gradientProfile, $(ParameterValue)] @@ -468,8 +467,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.6.1'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:maximumTrainDeceleration, $(ParameterValue), xsd:double] @@ -480,8 +479,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.11.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.11.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:hasAdditionalBrakingInformation o: @@ -509,8 +508,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.11.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.11.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:additionalBrakingInformationDocument, $(ParameterValue)] @@ -523,8 +522,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.6.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:magneticBraking o: @@ -579,8 +578,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.6.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:magneticBrakingConditionsDocument, $(ParameterValue)] @@ -593,8 +592,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.6.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:eddyCurrentBraking o: @@ -649,8 +648,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.6.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:eddyCurrentBrakingConditionsDocument, $(ParameterValue)] @@ -663,8 +662,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, "Index", Parameters.Name, SUBSTRING(LookupValues.[Value], 5, 3) AS MinimumTemperature, SUBSTRING(LookupValues.[Value], 13, 2) AS MaximumTemperature FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND "Index" IN ('1.1.1.1.2.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, SUBSTRING(LookupValues.[Value], 5, 3) AS MinimumTemperature, SUBSTRING(LookupValues.[Value], 13, 2) AS MaximumTemperature FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:minimumTemperature, $(MinimumTemperature), xsd:integer] - [era:maximumTemperature, $(MaximumTemperature), xsd:integer] @@ -676,8 +675,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.2.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:severeWeatherConditions o: @@ -707,10 +706,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:contactLineSystem, era-cls:$(UriName)~iri] + - [era:contactLineSystem, era-cls:$(ParameterValue)~iri] energy-supply-system: # 1.1.1.2.2.1.2 sources: @@ -719,15 +718,15 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:energySupplySystem - o: era-ess:$(ParameterURI)~iri + o: era-ess:$(ParameterValue)~iri condition: function: idlab-fn:notEqual parameters: - - [grel:valueParameter, $(ParameterURI)] + - [grel:valueParameter, $(ParameterValue)] - [grel:valueParameter2, "other"] energy-supply-system-tsi-compliant: # 1.1.1.2.2.1.2.1 @@ -737,8 +736,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.1.2.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.1.2.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:energySupplySystemTSICompliant o: @@ -766,8 +765,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.1.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.1.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:umax2, $(ParameterValue)] @@ -780,8 +779,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:hasRegenerativeBrake o: @@ -820,8 +819,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.5.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.5.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:currentLimitationRequired o: @@ -851,8 +850,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:maxCurrentStandstillPantograph, $(ParameterValue), xsd:double] @@ -863,8 +862,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.5'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:maximumContactWireHeight, $(ParameterValue), xsd:double] @@ -875,8 +874,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.2.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.6'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:minimumContactWireHeight, $(ParameterValue), xsd:double] @@ -887,10 +886,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.3.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.3.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:pantographHead, era-pth:$(UriName)~iri] + - [era:pantographHead, era-pth:$(ParameterValue)~iri] other-accepted-pantographs: # 1.1.1.2.3.2 sources: @@ -899,10 +898,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.3.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.3.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:pantographHead, era-pth:$(UriName)~iri] + - [era:pantographHead, era-pth:$(ParameterValue)~iri] contact-strip-material: # 1.1.1.2.3.4 sources: @@ -911,15 +910,15 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:contactStripMaterial - o: era-csm:$(ParameterURI)~iri + o: era-csm:$(ParameterValue)~iri condition: function: idlab-fn:notEqual parameters: - - [grel:valueParameter, $(ParameterURI)] + - [grel:valueParameter, $(ParameterValue)] - [grel:valueParameter2, "other"] contact-force: # 1.1.1.2.5.2 @@ -929,8 +928,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.5.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.5.2'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:permittedContactForce, $(ParameterValue)] @@ -941,8 +940,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.3.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.3.3'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:raisedPantographsDistanceAndSpeed, $(ParameterValue)] @@ -953,8 +952,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.2.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:automaticDroppingDeviceRequired o: @@ -994,8 +993,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.2.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.2.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - [era:etcsSystemCompatibility, era-esc:$(ParameterValue)~iri] @@ -1006,8 +1005,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.2.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.2.8'); + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:trainIntegrityOnBoardRequired o: @@ -1037,10 +1036,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.3.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:gsmrNetworkCoverage, era-gsmr:$(ParameterURI)~iri] + - [era:gsmrNetworkCoverage, era-gsmr:$(ParameterValue)~iri] group-555-support: # 1.1.1.3.3.4 sources: @@ -1049,8 +1048,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:usesGroup555 o: @@ -1078,10 +1077,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.3.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:voiceRadioCompatible, era-rsc:$(ParameterURI)~iri] + - [era:voiceRadioCompatible, era-rsc:$(ParameterValue)~iri] data-radio-compatible: # 1.1.1.3.3.10 sources: @@ -1090,10 +1089,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.3.10') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.10') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:dataRadioCompatible, era-rsc:$(ParameterURI)~iri] + - [era:dataRadioCompatible, era-rsc:$(ParameterValue)~iri] # -----------------------Class B-------------------------- @@ -1104,10 +1103,10 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - - [era:protectionLegacySystem, era-tpls:$(ParameterURI)~iri] + - [era:protectionLegacySystem, era-tpls:$(ParameterValue)~iri] legacy-radio-system: # 1.1.1.3.6.1 sources: @@ -1116,22 +1115,22 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.3.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:legacyRadioSystem - o: era-lrs:$(ParameterURI)~iri + o: era-lrs:$(ParameterValue)~iri condition: function: idlab-fn:equal parameters: - - [grel:valueParameter, $(ParameterURI)] + - [grel:valueParameter, $(ParameterValue)] - [grel:valueParameter2, "Analogue_Radio_Germany_-_UIC_751"] - p: era:legacyRadioSystem - o: era-lrs:$(ParameterURI)~iri + o: era-lrs:$(ParameterValue)~iri condition: function: idlab-fn:equal parameters: - - [grel:valueParameter, $(ParameterURI)] + - [grel:valueParameter, $(ParameterValue)] - [grel:valueParameter2, "RETB_(voice)"] # ---------------------Noise (pilot 1.2)-------------------------- @@ -1143,8 +1142,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND "Index" IN ('1.1.1.1.7.11') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID; - s: http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID) + query: SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.11') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID; + s: http://era.europa.eu/implementation#T_$(FROM_NODE)_$(UUID)_$(TO_NODE) po: - p: era:isQuietRoute o: diff --git a/mappings/tunnels.yml b/mappings/tunnels.yml index d899082..b9ae01b 100644 --- a/mappings/tunnels.yml +++ b/mappings/tunnels.yml @@ -25,15 +25,15 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, TrackTunnels.TunnelID, Tunnels.UUID, MemberStates.Code, ROUND(ABS(Tunnels.EndKm - Tunnels.StartKm), 2) AS TunnelLength, Tunnels.StartLat, Tunnels.StartLong, Tunnels.EndLat, Tunnels.EndLong FROM RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.Tunnels, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND TrackTunnels.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID; - s: http://era.europa.eu/implementation#TN_$(VersionID)_$(TunnelID) + query: SELECT Tracks.UUID AS TRACK_ID, Tunnels.UUID AS TUNNEL_LABEL, REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, ROUND(ABS(Tunnels.EndKm - Tunnels.StartKm), 2) AS TunnelLength, Tunnels.StartLat, Tunnels.StartLong, Tunnels.EndLat, Tunnels.EndLong, MemberStates.Code FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.Tracks, RINF.dbo.Tunnels, RINF.dbo.MemberStateVersions, RINF.dbo.MemberStates WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND Tunnels.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID; + s: http://era.europa.eu/implementation#TN_$(TUNNEL_URI) po: - [a, era:Tunnel] - - [rdfs:label, $(UUID)] + - [rdfs:label, $(TUNNEL_LABEL)] - [era:tunnelLength, $(TunnelLength)] - [era:startLocation, http://era.europa.eu/location#GEO/$(StartLong)/$(StartLat)~iri] - [era:endLocation, http://era.europa.eu/location#GEO/$(EndLong)/$(EndLat)~iri] - - [era:hasTrack, http://era.europa.eu/implementation#T_$(ID)_$(VersionID)_$(TrackID)~iri] + - [era:hasTrack, http://era.europa.eu/implementation#T_$(FROM_NODE)_$(TRACK_ID)_$(TO_NODE)~iri] - p: era:inCountry o: - mapping: eu-country @@ -89,8 +89,8 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SOLTracks.VersionID, TrackTunnels.TunnelID, LookupValues.[Value] FROM RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.10' AND TunnelParameters.LookupValueID = LookupValues.ID; - s: http://era.europa.eu/implementation#TN_$(VersionID)_$(TunnelID) + query: SELECT REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, LookupValues.[Value] FROM RINF.dbo.TrackTunnels, RINF.dbo.Tunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.10' AND TunnelParameters.LookupValueID = LookupValues.ID; + s: http://era.europa.eu/implementation#TN_$(TUNNEL_URI) po: - p: era:rollingStockFireCategory o: era-rsf:a~iri @@ -122,7 +122,7 @@ mappings: credentials: *credentials queryFormulation: *queryFormulation referenceFormulation: *referenceFormulation - query: SELECT SOLTracks.VersionID, TrackTunnels.TunnelID, LookupValues.[Value] FROM RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.11' AND TunnelParameters.LookupValueID = LookupValues.ID; + query: SELECT REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, LookupValues.[Value] FROM RINF.dbo.TrackTunnels, RINF.dbo.Tunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.11' AND TunnelParameters.LookupValueID = LookupValues.ID; s: http://era.europa.eu/implementation#TN_$(VersionID)_$(TunnelID) po: - [era:nationalRollingStockFireCategory, $(Value)] diff --git a/rml/keepers_rml.ttl b/rml/keepers_rml.ttl index 9ac82be..e24f433 100644 --- a/rml/keepers_rml.ttl +++ b/rml/keepers_rml.ttl @@ -11,20 +11,19 @@ @prefix grel: . @prefix schema: . @prefix era: . -@prefix era-manufacturers: . @prefix xsd: . -:map_manufacturer_0 rml:logicalSource :source_0. +:map_keeper_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source "data/wagons_rsdr.csv"; rml:referenceFormulation ql:CSV. -:map_manufacturer_0 a rr:TriplesMap; - rdfs:label "manufacturer". +:map_keeper_0 a rr:TriplesMap; + rdfs:label "keeper". :s_0 a rr:SubjectMap. -:map_manufacturer_0 rr:subjectMap :s_0. +:map_keeper_0 rr:subjectMap :s_0. :s_0 rr:template "http://era.europa.eu/keepers#{Keeper}". :pom_0 a rr:PredicateObjectMap. -:map_manufacturer_0 rr:predicateObjectMap :pom_0. +:map_keeper_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. :pom_0 rr:predicateMap :pm_0. :pm_0 rr:constant rdf:type. @@ -33,7 +32,7 @@ rr:constant "http://era.europa.eu/ns#VehicleKeeper"; rr:termType rr:IRI. :pom_1 a rr:PredicateObjectMap. -:map_manufacturer_0 rr:predicateObjectMap :pom_1. +:map_keeper_0 rr:predicateObjectMap :pom_1. :pm_1 a rr:PredicateMap. :pom_1 rr:predicateMap :pm_1. :pm_1 rr:constant schema:name. @@ -42,7 +41,7 @@ rml:reference "Keeper"; rr:termType rr:Literal. :pom_2 a rr:PredicateObjectMap. -:map_manufacturer_0 rr:predicateObjectMap :pom_2. +:map_keeper_0 rr:predicateObjectMap :pom_2. :pm_2 a rr:PredicateMap. :pom_2 rr:predicateMap :pm_2. :pm_2 rr:constant rdfs:label. diff --git a/rml/micro-links_rml.ttl b/rml/micro-links_rml.ttl index e9435c6..7f5b478 100644 --- a/rml/micro-links_rml.ttl +++ b/rml/micro-links_rml.ttl @@ -15,7 +15,7 @@ :map_micro-link_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source :database_0; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, LineEdges.ID AS LineEdgeID, LineEdges.VersionID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS Direction FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.LookupValues WHERE LineEdges.ID=SectionOfLines.LineEdgeID AND LineEdges.VersionID=SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID=SectionOfLines.VersionID AND SOLTracks.Direction = LookupValues.ID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS Direction FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.Tracks, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.Direction = LookupValues.ID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_0 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -26,7 +26,7 @@ rdfs:label "micro-link". :s_0 a rr:SubjectMap. :map_micro-link_0 rr:subjectMap :s_0. -:s_0 rr:template "http://era.europa.eu/abstraction#ML_{ID}_{VersionID}_{TrackID}". +:s_0 rr:template "http://era.europa.eu/abstraction#ML_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_0 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. @@ -43,7 +43,7 @@ :pm_1 rr:constant era:hasImplementation. :pom_1 rr:objectMap :om_1. :om_1 a rr:ObjectMap; - rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}"; + rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}"; rr:termType rr:IRI. :pom_2 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_2. @@ -101,7 +101,7 @@ rr:constant idlab-fn:str. :pom_6 rr:objectMap :om_6. :om_6 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{LineEdgeID}_{VersionID}"; + rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{UUID}_{TO_NODE}"; rr:termType rr:IRI. :pom_7 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_7. @@ -159,7 +159,7 @@ rr:constant idlab-fn:str. :pom_11 rr:objectMap :om_11. :om_11 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{LineEdgeID}_{VersionID}"; + rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{UUID}_{TO_NODE}"; rr:termType rr:IRI. :pom_12 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_12. @@ -217,7 +217,7 @@ rr:constant idlab-fn:str. :pom_16 rr:objectMap :om_16. :om_16 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{LineEdgeID}_{VersionID}"; + rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{UUID}_{FROM_NODE}"; rr:termType rr:IRI. :pom_17 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_17. @@ -275,7 +275,7 @@ rr:constant idlab-fn:str. :pom_21 rr:objectMap :om_21. :om_21 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{LineEdgeID}_{VersionID}"; + rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{UUID}_{FROM_NODE}"; rr:termType rr:IRI. :pom_22 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_22. @@ -333,7 +333,7 @@ rr:constant idlab-fn:str. :pom_26 rr:objectMap :om_26. :om_26 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{LineEdgeID}_{VersionID}"; + rr:template "http://era.europa.eu/abstraction#NP_{TO_NODE}_{UUID}_{FROM_NODE}"; rr:termType rr:IRI. :pom_27 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_27. @@ -391,7 +391,7 @@ rr:constant idlab-fn:str. :pom_31 rr:objectMap :om_31. :om_31 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{LineEdgeID}_{VersionID}"; + rr:template "http://era.europa.eu/abstraction#NP_{FROM_NODE}_{UUID}_{TO_NODE}"; rr:termType rr:IRI. :pom_32 a rr:PredicateObjectMap. :map_micro-link_0 rr:predicateObjectMap :pom_32. diff --git a/rml/sol-tracks_rml.ttl b/rml/sol-tracks_rml.ttl index f33d787..bc5a64c 100644 --- a/rml/sol-tracks_rml.ttl +++ b/rml/sol-tracks_rml.ttl @@ -29,7 +29,7 @@ :map_sol-tracks_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source :database_0; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, SectionOfLines.Length, UICLines.UICCode, Tracks.UUID, MemberStates.Code FROM RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.UICLines, RINF.dbo.Tracks, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SOLTracks.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID AND SectionOfLines.UICLineID = UICLines.ID AND SectionOfLines.VersionID = UICLines.VersionID;". + rml:query "SELECT Tracks.UUID, SectionOfLines.Length, UICLines.UICCode, MemberStates.Code, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.UICLines, RINF.dbo.MemberStateVersions, RINF.dbo.MemberStates WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SectionOfLines.UICLineID = UICLines.ID AND SectionOfLines.VersionID = UICLines.VersionID AND Tracks.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID;". :database_0 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -40,7 +40,7 @@ rdfs:label "sol-tracks". :s_0 a rr:SubjectMap. :map_sol-tracks_0 rr:subjectMap :s_0. -:s_0 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_0 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_0 a rr:PredicateObjectMap. :map_sol-tracks_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. @@ -85,7 +85,7 @@ :pm_4 rr:constant era:hasAbstraction. :pom_4 rr:objectMap :om_4. :om_4 a rr:ObjectMap; - rr:template "http://era.europa.eu/abstraction#ML_{ID}_{VersionID}_{TrackID}"; + rr:template "http://era.europa.eu/abstraction#ML_{FROM_NODE}_{UUID}_{TO_NODE}"; rr:termType rr:IRI. :pom_5 a rr:PredicateObjectMap. :map_sol-tracks_0 rr:predicateObjectMap :pom_5. @@ -96,7 +96,7 @@ :map_tunnel-reference_0 rml:logicalSource :source_1. :source_1 a rml:LogicalSource; rml:source :database_1; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, TrackTunnels.TunnelID FROM RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels WHERE SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID;". + rml:query "SELECT Tracks.UUID AS TRACK_ID, REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.Tracks, RINF.dbo.Tunnels WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID;". :database_1 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -107,7 +107,7 @@ rdfs:label "tunnel-reference". :s_1 a rr:SubjectMap. :map_tunnel-reference_0 rr:subjectMap :s_1. -:s_1 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_1 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{TRACK_ID}_{TO_NODE}". :pom_6 a rr:PredicateObjectMap. :map_tunnel-reference_0 rr:predicateObjectMap :pom_6. :pm_6 a rr:PredicateMap. @@ -115,7 +115,7 @@ :pm_6 rr:constant era:passesThroughTunnel. :pom_6 rr:objectMap :om_6. :om_6 a rr:ObjectMap; - rr:template "http://era.europa.eu/implementation#TN_{VersionID}_{TunnelID}"; + rr:template "http://era.europa.eu/implementation#TN_{TUNNEL_URI}"; rr:termType rr:IRI. :map_eu-country_0 rml:logicalSource :source_2. :source_2 a rml:LogicalSource; @@ -129,7 +129,7 @@ :map_load-capability_0 rml:logicalSource :source_3. :source_3 a rml:LogicalSource; rml:source :database_2; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT(LookupValues.[Value], '-' , TrackParameters.Value) AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, CONCAT(LookupValues.[Value], '-' , TrackParameters.Value) AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_2 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -140,7 +140,7 @@ rdfs:label "load-capability". :s_3 a rr:SubjectMap. :map_load-capability_0 rr:subjectMap :s_3. -:s_3 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_3 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_7 a rr:PredicateObjectMap. :map_load-capability_0 rr:predicateObjectMap :pom_7. :pm_7 a rr:PredicateMap. @@ -153,7 +153,7 @@ :map_national-load-capability_0 rml:logicalSource :source_4. :source_4 a rml:LogicalSource; rml:source :database_3; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.2.4.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.2.4.1');". :database_3 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -164,7 +164,7 @@ rdfs:label "national-load-capability". :s_4 a rr:SubjectMap. :map_national-load-capability_0 rr:subjectMap :s_4. -:s_4 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_4 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_8 a rr:PredicateObjectMap. :map_national-load-capability_0 rr:predicateObjectMap :pom_8. :pm_8 a rr:PredicateMap. @@ -177,7 +177,7 @@ :map_hslm-compliance_0 rml:logicalSource :source_5. :source_5 a rml:LogicalSource; rml:source :database_4; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.2.4.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_4 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -188,7 +188,7 @@ rdfs:label "hslm-compliance". :s_5 a rr:SubjectMap. :map_hslm-compliance_0 rr:subjectMap :s_5. -:s_5 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_5 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_9 a rr:PredicateObjectMap. :map_hslm-compliance_0 rr:predicateObjectMap :pom_9. :pm_9 a rr:PredicateMap. @@ -310,7 +310,7 @@ :map_structure-check-locations_0 rml:logicalSource :source_6. :source_6 a rml:LogicalSource; rml:source :database_5; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.2.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_5 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -321,7 +321,7 @@ rdfs:label "structure-check-locations". :s_6 a rr:SubjectMap. :map_structure-check-locations_0 rr:subjectMap :s_6. -:s_6 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_6 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_19 a rr:PredicateObjectMap. :map_structure-check-locations_0 rr:predicateObjectMap :pom_19. :pm_19 a rr:PredicateMap. @@ -335,7 +335,7 @@ :map_compatibility-procedure-document_0 rml:logicalSource :source_7. :source_7 a rml:LogicalSource; rml:source :database_6; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.2.4.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.4.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_6 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -346,7 +346,7 @@ rdfs:label "compatibility-procedure-document". :s_7 a rr:SubjectMap. :map_compatibility-procedure-document_0 rr:subjectMap :s_7. -:s_7 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_7 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_20 a rr:PredicateObjectMap. :map_compatibility-procedure-document_0 rr:predicateObjectMap :pom_20. :pm_20 a rr:PredicateMap. @@ -359,7 +359,7 @@ :map_gauging_0 rml:logicalSource :source_8. :source_8 a rml:LogicalSource; rml:source :database_7; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.3.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.3.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_7 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -370,7 +370,7 @@ rdfs:label "gauging". :s_8 a rr:SubjectMap. :map_gauging_0 rr:subjectMap :s_8. -:s_8 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_8 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_21 a rr:PredicateObjectMap. :map_gauging_0 rr:predicateObjectMap :pom_21. :pm_21 a rr:PredicateMap. @@ -383,7 +383,7 @@ :map_gauging-check-locations_0 rml:logicalSource :source_9. :source_9 a rml:LogicalSource; rml:source :database_8; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.3.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.1.2');". :database_8 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -394,7 +394,7 @@ rdfs:label "gauging-check-locations". :s_9 a rr:SubjectMap. :map_gauging-check-locations_0 rr:subjectMap :s_9. -:s_9 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_9 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_22 a rr:PredicateObjectMap. :map_gauging-check-locations_0 rr:predicateObjectMap :pom_22. :pm_22 a rr:PredicateMap. @@ -408,7 +408,7 @@ :map_gauging-transversal-document_0 rml:logicalSource :source_10. :source_10 a rml:LogicalSource; rml:source :database_9; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.3.1.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.1.3');". :database_9 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -419,7 +419,7 @@ rdfs:label "gauging-transversal-document". :s_10 a rr:SubjectMap. :map_gauging-transversal-document_0 rr:subjectMap :s_10. -:s_10 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_10 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_23 a rr:PredicateObjectMap. :map_gauging-transversal-document_0 rr:predicateObjectMap :pom_23. :pm_23 a rr:PredicateMap. @@ -432,7 +432,7 @@ :map_minimum-vertical-curve_0 rml:logicalSource :source_11. :source_11 a rml:LogicalSource; rml:source :database_10; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.2.2.0.3.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.2.2.0.3.3');". :database_10 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -443,7 +443,7 @@ rdfs:label "minimum-vertical-curve". :s_11 a rr:SubjectMap. :map_minimum-vertical-curve_0 rr:subjectMap :s_11. -:s_11 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_11 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_24 a rr:PredicateObjectMap. :map_minimum-vertical-curve_0 rr:predicateObjectMap :pom_24. :pm_24 a rr:PredicateMap. @@ -456,7 +456,7 @@ :map_train-detection-system-type_0 rml:logicalSource :source_12. :source_12 a rml:LogicalSource; rml:source :database_11; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.7.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.7.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_11 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -467,7 +467,7 @@ rdfs:label "train-detection-system-type". :s_12 a rr:SubjectMap. :map_train-detection-system-type_0 rr:subjectMap :s_12. -:s_12 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_12 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_25 a rr:PredicateObjectMap. :map_train-detection-system-type_0 rr:predicateObjectMap :pom_25. :pm_25 a rr:PredicateMap. @@ -480,7 +480,7 @@ :map_detection-system-specific-checks_0 rml:logicalSource :source_13. :source_13 a rml:LogicalSource; rml:source :database_12; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.7.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.7.1.2');". :database_12 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -491,7 +491,7 @@ rdfs:label "detection-system-specific-checks". :s_13 a rr:SubjectMap. :map_detection-system-specific-checks_0 rr:subjectMap :s_13. -:s_13 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_13 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_26 a rr:PredicateObjectMap. :map_detection-system-specific-checks_0 rr:predicateObjectMap :pom_26. :pm_26 a rr:PredicateMap. @@ -504,7 +504,7 @@ :map_french-detection-limitation_0 rml:logicalSource :source_14. :source_14 a rml:LogicalSource; rml:source :database_13; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), '+', '_') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.7.1.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(TrackParameters.[Value], '+', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.7.1.4')". :database_13 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -515,7 +515,7 @@ rdfs:label "french-detection-limitation". :s_14 a rr:SubjectMap. :map_french-detection-limitation_0 rr:subjectMap :s_14. -:s_14 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_14 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_27 a rr:PredicateObjectMap. :map_french-detection-limitation_0 rr:predicateObjectMap :pom_27. :pm_27 a rr:PredicateMap. @@ -528,7 +528,7 @@ :map_hot-axle-box-detector-existence_0 rml:logicalSource :source_15. :source_15 a rml:LogicalSource; rml:source :database_14; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_14 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -539,7 +539,7 @@ rdfs:label "hot-axle-box-detector-existence". :s_15 a rr:SubjectMap. :map_hot-axle-box-detector-existence_0 rr:subjectMap :s_15. -:s_15 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_15 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_28 a rr:PredicateObjectMap. :map_hot-axle-box-detector-existence_0 rr:predicateObjectMap :pom_28. :pm_28 a rr:PredicateMap. @@ -661,7 +661,7 @@ :map_hot-axle-box-detection-tsi-compliant_0 rml:logicalSource :source_16. :source_16 a rml:LogicalSource; rml:source :database_15; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_15 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -672,7 +672,7 @@ rdfs:label "hot-axle-box-detection-tsi-compliant". :s_16 a rr:SubjectMap. :map_hot-axle-box-detection-tsi-compliant_0 rr:subjectMap :s_16. -:s_16 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_16 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_38 a rr:PredicateObjectMap. :map_hot-axle-box-detection-tsi-compliant_0 rr:predicateObjectMap :pom_38. :pm_38 a rr:PredicateMap. @@ -794,7 +794,7 @@ :map_hot-axle-box-detector-identification_0 rml:logicalSource :source_17. :source_17 a rml:LogicalSource; rml:source :database_16; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_16 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -805,7 +805,7 @@ rdfs:label "hot-axle-box-detector-identification". :s_17 a rr:SubjectMap. :map_hot-axle-box-detector-identification_0 rr:subjectMap :s_17. -:s_17 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_17 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_48 a rr:PredicateObjectMap. :map_hot-axle-box-detector-identification_0 rr:predicateObjectMap :pom_48. :pm_48 a rr:PredicateMap. @@ -818,7 +818,7 @@ :map_hot-axle-box-detector-generation_0 rml:logicalSource :source_18. :source_18 a rml:LogicalSource; rml:source :database_17; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.7') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.7') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_17 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -829,7 +829,7 @@ rdfs:label "hot-axle-box-detector-generation". :s_18 a rr:SubjectMap. :map_hot-axle-box-detector-generation_0 rr:subjectMap :s_18. -:s_18 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_18 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_49 a rr:PredicateObjectMap. :map_hot-axle-box-detector-generation_0 rr:predicateObjectMap :pom_49. :pm_49 a rr:PredicateMap. @@ -842,7 +842,7 @@ :map_hot-axle-box-detector-location_0 rml:logicalSource :source_19. :source_19 a rml:LogicalSource; rml:source :database_18; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, SUBSTRING(TrackParameters.Value, 2, LEN(TrackParameters.Value)) AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, SUBSTRING(TrackParameters.Value, 2, LEN(TrackParameters.Value)) AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.7.8');". :database_18 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -853,7 +853,7 @@ rdfs:label "hot-axle-box-detector-location". :s_19 a rr:SubjectMap. :map_hot-axle-box-detector-location_0 rr:subjectMap :s_19. -:s_19 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_19 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_50 a rr:PredicateObjectMap. :map_hot-axle-box-detector-location_0 rr:predicateObjectMap :pom_50. :pm_50 a rr:PredicateMap. @@ -867,7 +867,7 @@ :map_hot-axle-box-detector-direction_0 rml:logicalSource :source_20. :source_20 a rml:LogicalSource; rml:source :database_19; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_19 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -878,7 +878,7 @@ rdfs:label "hot-axle-box-detector-direction". :s_20 a rr:SubjectMap. :map_hot-axle-box-detector-direction_0 rr:subjectMap :s_20. -:s_20 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_20 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_51 a rr:PredicateObjectMap. :map_hot-axle-box-detector-direction_0 rr:predicateObjectMap :pom_51. :pm_51 a rr:PredicateMap. @@ -891,7 +891,7 @@ :map_cant-deficiency_0 rml:logicalSource :source_21. :source_21 a rml:LogicalSource; rml:source :database_20; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.4.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.4.2');". :database_20 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -902,7 +902,7 @@ rdfs:label "cant-deficiency". :s_21 a rr:SubjectMap. :map_cant-deficiency_0 rr:subjectMap :s_21. -:s_21 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_21 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_52 a rr:PredicateObjectMap. :map_cant-deficiency_0 rr:predicateObjectMap :pom_52. :pm_52 a rr:PredicateMap. @@ -915,7 +915,7 @@ :map_maximum-permitted-speed_0 rml:logicalSource :source_22. :source_22 a rml:LogicalSource; rml:source :database_21; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.2.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.2.5');". :database_21 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -926,7 +926,7 @@ rdfs:label "maximum-permitted-speed". :s_22 a rr:SubjectMap. :map_maximum-permitted-speed_0 rr:subjectMap :s_22. -:s_22 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_22 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_53 a rr:PredicateObjectMap. :map_maximum-permitted-speed_0 rr:predicateObjectMap :pom_53. :pm_53 a rr:PredicateMap. @@ -940,7 +940,7 @@ :map_rail-inclination_0 rml:logicalSource :source_23. :source_23 a rml:LogicalSource; rml:source :database_22; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.4.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.4.3');". :database_22 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -951,7 +951,7 @@ rdfs:label "rail-inclination". :s_23 a rr:SubjectMap. :map_rail-inclination_0 rr:subjectMap :s_23. -:s_23 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_23 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_54 a rr:PredicateObjectMap. :map_rail-inclination_0 rr:predicateObjectMap :pom_54. :pm_54 a rr:PredicateMap. @@ -964,7 +964,7 @@ :map_nominal-track-gauge_0 rml:logicalSource :source_24. :source_24 a rml:LogicalSource; rml:source :database_23; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.4.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.4.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_23 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -975,7 +975,7 @@ rdfs:label "nominal-track-gauge". :s_24 a rr:SubjectMap. :map_nominal-track-gauge_0 rr:subjectMap :s_24. -:s_24 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_24 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_55 a rr:PredicateObjectMap. :map_nominal-track-gauge_0 rr:predicateObjectMap :pom_55. :pm_55 a rr:PredicateMap. @@ -1038,7 +1038,7 @@ :map_minimum-wheel-diameter_0 rml:logicalSource :source_25. :source_25 a rml:LogicalSource; rml:source :database_24; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.5.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.5.2');". :database_24 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1049,7 +1049,7 @@ rdfs:label "minimum-wheel-diameter". :s_25 a rr:SubjectMap. :map_minimum-wheel-diameter_0 rr:subjectMap :s_25. -:s_25 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_25 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_60 a rr:PredicateObjectMap. :map_minimum-wheel-diameter_0 rr:predicateObjectMap :pom_60. :pm_60 a rr:PredicateMap. @@ -1063,7 +1063,7 @@ :map_minimum-horizontal-curve-radius_0 rml:logicalSource :source_26. :source_26 a rml:LogicalSource; rml:source :database_25; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.3.7') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.7');". :database_25 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1074,7 +1074,7 @@ rdfs:label "minimum-horizontal-curve-radius". :s_26 a rr:SubjectMap. :map_minimum-horizontal-curve-radius_0 rr:subjectMap :s_26. -:s_26 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_26 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_61 a rr:PredicateObjectMap. :map_minimum-horizontal-curve-radius_0 rr:predicateObjectMap :pom_61. :pm_61 a rr:PredicateMap. @@ -1088,7 +1088,7 @@ :map_maximum-braking-distance_0 rml:logicalSource :source_27. :source_27 a rml:LogicalSource; rml:source :database_26; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.11.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.11.1');". :database_26 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1099,7 +1099,7 @@ rdfs:label "maximum-braking-distance". :s_27 a rr:SubjectMap. :map_maximum-braking-distance_0 rr:subjectMap :s_27. -:s_27 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_27 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_62 a rr:PredicateObjectMap. :map_maximum-braking-distance_0 rr:predicateObjectMap :pom_62. :pm_62 a rr:PredicateMap. @@ -1113,7 +1113,7 @@ :map_gradient-profile_0 rml:logicalSource :source_28. :source_28 a rml:LogicalSource; rml:source :database_27; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.3.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.3.6');". :database_27 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1124,7 +1124,7 @@ rdfs:label "gradient-profile". :s_28 a rr:SubjectMap. :map_gradient-profile_0 rr:subjectMap :s_28. -:s_28 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_28 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_63 a rr:PredicateObjectMap. :map_gradient-profile_0 rr:predicateObjectMap :pom_63. :pm_63 a rr:PredicateMap. @@ -1137,7 +1137,7 @@ :map_maximum-train-deceleration_0 rml:logicalSource :source_29. :source_29 a rml:LogicalSource; rml:source :database_28; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.1.6.1');". :database_28 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1148,7 +1148,7 @@ rdfs:label "maximum-train-deceleration". :s_29 a rr:SubjectMap. :map_maximum-train-deceleration_0 rr:subjectMap :s_29. -:s_29 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_29 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_64 a rr:PredicateObjectMap. :map_maximum-train-deceleration_0 rr:predicateObjectMap :pom_64. :pm_64 a rr:PredicateMap. @@ -1162,7 +1162,7 @@ :map_has-additional-braking-information_0 rml:logicalSource :source_30. :source_30 a rml:LogicalSource; rml:source :database_29; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.11.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.11.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_29 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1173,7 +1173,7 @@ rdfs:label "has-additional-braking-information". :s_30 a rr:SubjectMap. :map_has-additional-braking-information_0 rr:subjectMap :s_30. -:s_30 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_30 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_65 a rr:PredicateObjectMap. :map_has-additional-braking-information_0 rr:predicateObjectMap :pom_65. :pm_65 a rr:PredicateMap. @@ -1295,7 +1295,7 @@ :map_additional-braking-information-document_0 rml:logicalSource :source_31. :source_31 a rml:LogicalSource; rml:source :database_30; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.11.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.11.3');". :database_30 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1306,7 +1306,7 @@ rdfs:label "additional-braking-information-document". :s_31 a rr:SubjectMap. :map_additional-braking-information-document_0 rr:subjectMap :s_31. -:s_31 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_31 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_75 a rr:PredicateObjectMap. :map_additional-braking-information-document_0 rr:predicateObjectMap :pom_75. :pm_75 a rr:PredicateMap. @@ -1319,7 +1319,7 @@ :map_use-of-magnetic-brakes_0 rml:logicalSource :source_32. :source_32 a rml:LogicalSource; rml:source :database_31; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.6.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_31 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1330,7 +1330,7 @@ rdfs:label "use-of-magnetic-brakes". :s_32 a rr:SubjectMap. :map_use-of-magnetic-brakes_0 rr:subjectMap :s_32. -:s_32 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_32 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_76 a rr:PredicateObjectMap. :map_use-of-magnetic-brakes_0 rr:predicateObjectMap :pom_76. :pm_76 a rr:PredicateMap. @@ -1629,7 +1629,7 @@ :map_magnetic-braking-conditions-document_0 rml:logicalSource :source_33. :source_33 a rml:LogicalSource; rml:source :database_32; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.6.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_32 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1640,7 +1640,7 @@ rdfs:label "magnetic-braking-conditions-document". :s_33 a rr:SubjectMap. :map_magnetic-braking-conditions-document_0 rr:subjectMap :s_33. -:s_33 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_33 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_101 a rr:PredicateObjectMap. :map_magnetic-braking-conditions-document_0 rr:predicateObjectMap :pom_101. :pm_101 a rr:PredicateMap. @@ -1653,7 +1653,7 @@ :map_use-of-eddy-current-brakes_0 rml:logicalSource :source_34. :source_34 a rml:LogicalSource; rml:source :database_33; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.6.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_33 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1664,7 +1664,7 @@ rdfs:label "use-of-eddy-current-brakes". :s_34 a rr:SubjectMap. :map_use-of-eddy-current-brakes_0 rr:subjectMap :s_34. -:s_34 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_34 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_102 a rr:PredicateObjectMap. :map_use-of-eddy-current-brakes_0 rr:predicateObjectMap :pom_102. :pm_102 a rr:PredicateMap. @@ -1963,7 +1963,7 @@ :map_eddy-current-braking-conditions-document_0 rml:logicalSource :source_35. :source_35 a rml:LogicalSource; rml:source :database_34; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.6.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.6.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_34 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1974,7 +1974,7 @@ rdfs:label "eddy-current-braking-conditions-document". :s_35 a rr:SubjectMap. :map_eddy-current-braking-conditions-document_0 rr:subjectMap :s_35. -:s_35 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_35 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_127 a rr:PredicateObjectMap. :map_eddy-current-braking-conditions-document_0 rr:predicateObjectMap :pom_127. :pm_127 a rr:PredicateMap. @@ -1987,7 +1987,7 @@ :map_temperature-range_0 rml:logicalSource :source_36. :source_36 a rml:LogicalSource; rml:source :database_35; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, \"Index\", Parameters.Name, SUBSTRING(LookupValues.[Value], 5, 3) AS MinimumTemperature, SUBSTRING(LookupValues.[Value], 13, 2) AS MaximumTemperature FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND \"Index\" IN ('1.1.1.1.2.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, SUBSTRING(LookupValues.[Value], 5, 3) AS MinimumTemperature, SUBSTRING(LookupValues.[Value], 13, 2) AS MaximumTemperature FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_35 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -1998,7 +1998,7 @@ rdfs:label "temperature-range". :s_36 a rr:SubjectMap. :map_temperature-range_0 rr:subjectMap :s_36. -:s_36 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_36 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_128 a rr:PredicateObjectMap. :map_temperature-range_0 rr:predicateObjectMap :pom_128. :pm_128 a rr:PredicateMap. @@ -2022,7 +2022,7 @@ :map_severe-weather-conditions_0 rml:logicalSource :source_37. :source_37 a rml:LogicalSource; rml:source :database_36; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.2.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.2.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_36 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2033,7 +2033,7 @@ rdfs:label "severe-weather-conditions". :s_37 a rr:SubjectMap. :map_severe-weather-conditions_0 rr:subjectMap :s_37. -:s_37 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_37 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_130 a rr:PredicateObjectMap. :map_severe-weather-conditions_0 rr:predicateObjectMap :pom_130. :pm_130 a rr:PredicateMap. @@ -2155,7 +2155,7 @@ :map_contact-line-system-type_0 rml:logicalSource :source_38. :source_38 a rml:LogicalSource; rml:source :database_37; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.1.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_37 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2166,7 +2166,7 @@ rdfs:label "contact-line-system-type". :s_38 a rr:SubjectMap. :map_contact-line-system-type_0 rr:subjectMap :s_38. -:s_38 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_38 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_140 a rr:PredicateObjectMap. :map_contact-line-system-type_0 rr:predicateObjectMap :pom_140. :pm_140 a rr:PredicateMap. @@ -2174,12 +2174,12 @@ :pm_140 rr:constant era:contactLineSystem. :pom_140 rr:objectMap :om_140. :om_140 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/contact-line-systems#{UriName}"; + rr:template "http://era.europa.eu/concepts/contact-line-systems#{ParameterValue}"; rr:termType rr:IRI. :map_energy-supply-system_0 rml:logicalSource :source_39. :source_39 a rml:LogicalSource; rml:source :database_38; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.1.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_38 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2190,7 +2190,7 @@ rdfs:label "energy-supply-system". :s_39 a rr:SubjectMap. :map_energy-supply-system_0 rr:subjectMap :s_39. -:s_39 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_39 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_141 a rr:PredicateObjectMap. :map_energy-supply-system_0 rr:predicateObjectMap :pom_141. :pm_141 a rr:PredicateMap. @@ -2229,7 +2229,7 @@ rr:constant grel:valueParameter. :pom_143 rr:objectMap :om_143. :om_143 a rr:ObjectMap; - rml:reference "ParameterURI"; + rml:reference "ParameterValue"; rr:termType rr:Literal. :fn_43 rr:predicateObjectMap :pom_144. :pom_144 a rr:PredicateObjectMap; @@ -2247,12 +2247,12 @@ rr:constant idlab-fn:str. :pom_145 rr:objectMap :om_145. :om_145 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/energy-supply-systems#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/energy-supply-systems#{ParameterValue}"; rr:termType rr:IRI. :map_energy-supply-system-tsi-compliant_0 rml:logicalSource :source_40. :source_40 a rml:LogicalSource; rml:source :database_39; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.1.2.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.1.2.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_39 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2263,7 +2263,7 @@ rdfs:label "energy-supply-system-tsi-compliant". :s_40 a rr:SubjectMap. :map_energy-supply-system-tsi-compliant_0 rr:subjectMap :s_40. -:s_40 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_40 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_146 a rr:PredicateObjectMap. :map_energy-supply-system-tsi-compliant_0 rr:predicateObjectMap :pom_146. :pm_146 a rr:PredicateMap. @@ -2385,7 +2385,7 @@ :map_umax2_0 rml:logicalSource :source_41. :source_41 a rml:LogicalSource; rml:source :database_40; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.1.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.1.3');". :database_40 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2396,7 +2396,7 @@ rdfs:label "umax2". :s_41 a rr:SubjectMap. :map_umax2_0 rr:subjectMap :s_41. -:s_41 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_41 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_156 a rr:PredicateObjectMap. :map_umax2_0 rr:predicateObjectMap :pom_156. :pm_156 a rr:PredicateMap. @@ -2409,7 +2409,7 @@ :map_regenerative-braking_0 rml:logicalSource :source_42. :source_42 a rml:LogicalSource; rml:source :database_41; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.2.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_41 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2420,7 +2420,7 @@ rdfs:label "regenerative-braking". :s_42 a rr:SubjectMap. :map_regenerative-braking_0 rr:subjectMap :s_42. -:s_42 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_42 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_157 a rr:PredicateObjectMap. :map_regenerative-braking_0 rr:predicateObjectMap :pom_157. :pm_157 a rr:PredicateMap. @@ -2601,7 +2601,7 @@ :map_current-limitation_0 rml:logicalSource :source_43. :source_43 a rml:LogicalSource; rml:source :database_42; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.5.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.5.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_42 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2612,7 +2612,7 @@ rdfs:label "current-limitation". :s_43 a rr:SubjectMap. :map_current-limitation_0 rr:subjectMap :s_43. -:s_43 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_43 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_172 a rr:PredicateObjectMap. :map_current-limitation_0 rr:predicateObjectMap :pom_172. :pm_172 a rr:PredicateMap. @@ -2734,7 +2734,7 @@ :map_maximum-current-standstill_0 rml:logicalSource :source_44. :source_44 a rml:LogicalSource; rml:source :database_43; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.3');". :database_43 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2745,7 +2745,7 @@ rdfs:label "maximum-current-standstill". :s_44 a rr:SubjectMap. :map_maximum-current-standstill_0 rr:subjectMap :s_44. -:s_44 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_44 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_182 a rr:PredicateObjectMap. :map_maximum-current-standstill_0 rr:predicateObjectMap :pom_182. :pm_182 a rr:PredicateMap. @@ -2759,7 +2759,7 @@ :map_maximum-wire-height_0 rml:logicalSource :source_45. :source_45 a rml:LogicalSource; rml:source :database_44; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.5');". :database_44 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2770,7 +2770,7 @@ rdfs:label "maximum-wire-height". :s_45 a rr:SubjectMap. :map_maximum-wire-height_0 rr:subjectMap :s_45. -:s_45 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_45 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_183 a rr:PredicateObjectMap. :map_maximum-wire-height_0 rr:predicateObjectMap :pom_183. :pm_183 a rr:PredicateMap. @@ -2784,7 +2784,7 @@ :map_minimum-wire-height_0 rml:logicalSource :source_46. :source_46 a rml:LogicalSource; rml:source :database_45; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.2.6') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.2.6');". :database_45 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2795,7 +2795,7 @@ rdfs:label "minimum-wire-height". :s_46 a rr:SubjectMap. :map_minimum-wire-height_0 rr:subjectMap :s_46. -:s_46 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_46 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_184 a rr:PredicateObjectMap. :map_minimum-wire-height_0 rr:predicateObjectMap :pom_184. :pm_184 a rr:PredicateMap. @@ -2809,7 +2809,7 @@ :map_pantograph-tsi-compliant_0 rml:logicalSource :source_47. :source_47 a rml:LogicalSource; rml:source :database_46; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.3.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_46 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2820,7 +2820,7 @@ rdfs:label "pantograph-tsi-compliant". :s_47 a rr:SubjectMap. :map_pantograph-tsi-compliant_0 rr:subjectMap :s_47. -:s_47 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_47 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_185 a rr:PredicateObjectMap. :map_pantograph-tsi-compliant_0 rr:predicateObjectMap :pom_185. :pm_185 a rr:PredicateMap. @@ -2828,12 +2828,12 @@ :pm_185 rr:constant era:pantographHead. :pom_185 rr:objectMap :om_185. :om_185 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/pantograph-heads#{UriName}"; + rr:template "http://era.europa.eu/concepts/pantograph-heads#{ParameterValue}"; rr:termType rr:IRI. :map_other-accepted-pantographs_0 rml:logicalSource :source_48. :source_48 a rml:LogicalSource; rml:source :database_47; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS UriName FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.3.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_47 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2844,7 +2844,7 @@ rdfs:label "other-accepted-pantographs". :s_48 a rr:SubjectMap. :map_other-accepted-pantographs_0 rr:subjectMap :s_48. -:s_48 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_48 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_186 a rr:PredicateObjectMap. :map_other-accepted-pantographs_0 rr:predicateObjectMap :pom_186. :pm_186 a rr:PredicateMap. @@ -2852,12 +2852,12 @@ :pm_186 rr:constant era:pantographHead. :pom_186 rr:objectMap :om_186. :om_186 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/pantograph-heads#{UriName}"; + rr:template "http://era.europa.eu/concepts/pantograph-heads#{ParameterValue}"; rr:termType rr:IRI. :map_contact-strip-material_0 rml:logicalSource :source_49. :source_49 a rml:LogicalSource; rml:source :database_48; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_48 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2868,7 +2868,7 @@ rdfs:label "contact-strip-material". :s_49 a rr:SubjectMap. :map_contact-strip-material_0 rr:subjectMap :s_49. -:s_49 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_49 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_187 a rr:PredicateObjectMap. :map_contact-strip-material_0 rr:predicateObjectMap :pom_187. :pm_187 a rr:PredicateMap. @@ -2907,7 +2907,7 @@ rr:constant grel:valueParameter. :pom_189 rr:objectMap :om_189. :om_189 a rr:ObjectMap; - rml:reference "ParameterURI"; + rml:reference "ParameterValue"; rr:termType rr:Literal. :fn_59 rr:predicateObjectMap :pom_190. :pom_190 a rr:PredicateObjectMap; @@ -2925,12 +2925,12 @@ rr:constant idlab-fn:str. :pom_191 rr:objectMap :om_191. :om_191 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/contact-strip-materials#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/contact-strip-materials#{ParameterValue}"; rr:termType rr:IRI. :map_contact-force_0 rml:logicalSource :source_50. :source_50 a rml:LogicalSource; rml:source :database_49; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.5.2') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.5.2');". :database_49 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2941,7 +2941,7 @@ rdfs:label "contact-force". :s_50 a rr:SubjectMap. :map_contact-force_0 rr:subjectMap :s_50. -:s_50 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_50 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_192 a rr:PredicateObjectMap. :map_contact-force_0 rr:predicateObjectMap :pom_192. :pm_192 a rr:PredicateMap. @@ -2954,7 +2954,7 @@ :map_raised-pantograph-distance-speed_0 rml:logicalSource :source_51. :source_51 a rml:LogicalSource; rml:source :database_50; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.3.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.2.3.3');". :database_50 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2965,7 +2965,7 @@ rdfs:label "raised-pantograph-distance-speed". :s_51 a rr:SubjectMap. :map_raised-pantograph-distance-speed_0 rr:subjectMap :s_51. -:s_51 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_51 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_193 a rr:PredicateObjectMap. :map_raised-pantograph-distance-speed_0 rr:predicateObjectMap :pom_193. :pm_193 a rr:PredicateMap. @@ -2978,7 +2978,7 @@ :map_automatic-dropping-device-required_0 rml:logicalSource :source_52. :source_52 a rml:LogicalSource; rml:source :database_51; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.2.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.2.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_51 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -2989,7 +2989,7 @@ rdfs:label "automatic-dropping-device-required". :s_52 a rr:SubjectMap. :map_automatic-dropping-device-required_0 rr:subjectMap :s_52. -:s_52 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_52 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_194 a rr:PredicateObjectMap. :map_automatic-dropping-device-required_0 rr:predicateObjectMap :pom_194. :pm_194 a rr:PredicateMap. @@ -3111,7 +3111,7 @@ :map_etcs-compatible_0 rml:logicalSource :source_53. :source_53 a rml:LogicalSource; rml:source :database_52; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), ' ', '_') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.2.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.2.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_52 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3122,7 +3122,7 @@ rdfs:label "etcs-compatible". :s_53 a rr:SubjectMap. :map_etcs-compatible_0 rr:subjectMap :s_53. -:s_53 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_53 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_204 a rr:PredicateObjectMap. :map_etcs-compatible_0 rr:predicateObjectMap :pom_204. :pm_204 a rr:PredicateMap. @@ -3135,7 +3135,7 @@ :map_train-integrity-required_0 rml:logicalSource :source_54. :source_54 a rml:LogicalSource; rml:source :database_53; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.2.8') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, TrackParameters.Value AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND Tracks.ID = TrackParameters.TrackID AND Tracks.VersionID = TrackParameters.VersionID AND TrackParameters.ParameterID = Parameters.ID AND TrackParameters.[Value] IS NOT NULL AND Parameters.[Index] IN ('1.1.1.3.2.8');". :database_53 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3146,7 +3146,7 @@ rdfs:label "train-integrity-required". :s_54 a rr:SubjectMap. :map_train-integrity-required_0 rr:subjectMap :s_54. -:s_54 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_54 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_205 a rr:PredicateObjectMap. :map_train-integrity-required_0 rr:predicateObjectMap :pom_205. :pm_205 a rr:PredicateMap. @@ -3268,7 +3268,7 @@ :map_gsm-r-network-coverage_0 rml:logicalSource :source_55. :source_55 a rml:LogicalSource; rml:source :database_54; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.3.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.5') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_54 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3279,7 +3279,7 @@ rdfs:label "gsm-r-network-coverage". :s_55 a rr:SubjectMap. :map_gsm-r-network-coverage_0 rr:subjectMap :s_55. -:s_55 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_55 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_215 a rr:PredicateObjectMap. :map_gsm-r-network-coverage_0 rr:predicateObjectMap :pom_215. :pm_215 a rr:PredicateMap. @@ -3287,12 +3287,12 @@ :pm_215 rr:constant era:gsmrNetworkCoverage. :pom_215 rr:objectMap :om_215. :om_215 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/gsmr-networks#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/gsmr-networks#{ParameterValue}"; rr:termType rr:IRI. :map_group-555-support_0 rml:logicalSource :source_56. :source_56 a rml:LogicalSource; rml:source :database_55; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.4') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_55 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3303,7 +3303,7 @@ rdfs:label "group-555-support". :s_56 a rr:SubjectMap. :map_group-555-support_0 rr:subjectMap :s_56. -:s_56 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_56 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_216 a rr:PredicateObjectMap. :map_group-555-support_0 rr:predicateObjectMap :pom_216. :pm_216 a rr:PredicateMap. @@ -3425,7 +3425,7 @@ :map_voice-radio-compatible_0 rml:logicalSource :source_57. :source_57 a rml:LogicalSource; rml:source :database_56; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.3.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.9') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_56 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3436,7 +3436,7 @@ rdfs:label "voice-radio-compatible". :s_57 a rr:SubjectMap. :map_voice-radio-compatible_0 rr:subjectMap :s_57. -:s_57 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_57 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_226 a rr:PredicateObjectMap. :map_voice-radio-compatible_0 rr:predicateObjectMap :pom_226. :pm_226 a rr:PredicateMap. @@ -3444,12 +3444,12 @@ :pm_226 rr:constant era:voiceRadioCompatible. :pom_226 rr:objectMap :om_226. :om_226 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/radio-system-compatibilities#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/radio-system-compatibilities#{ParameterValue}"; rr:termType rr:IRI. :map_data-radio-compatible_0 rml:logicalSource :source_58. :source_58 a rml:LogicalSource; rml:source :database_57; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.3.10') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.3.10') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_57 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3460,7 +3460,7 @@ rdfs:label "data-radio-compatible". :s_58 a rr:SubjectMap. :map_data-radio-compatible_0 rr:subjectMap :s_58. -:s_58 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_58 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_227 a rr:PredicateObjectMap. :map_data-radio-compatible_0 rr:predicateObjectMap :pom_227. :pm_227 a rr:PredicateMap. @@ -3468,12 +3468,12 @@ :pm_227 rr:constant era:dataRadioCompatible. :pom_227 rr:objectMap :om_227. :om_227 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/radio-system-compatibilities#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/radio-system-compatibilities#{ParameterValue}"; rr:termType rr:IRI. :map_protection-legacy-system_0 rml:logicalSource :source_59. :source_59 a rml:LogicalSource; rml:source :database_58; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.5.3') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_58 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3484,7 +3484,7 @@ rdfs:label "protection-legacy-system". :s_59 a rr:SubjectMap. :map_protection-legacy-system_0 rr:subjectMap :s_59. -:s_59 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_59 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_228 a rr:PredicateObjectMap. :map_protection-legacy-system_0 rr:predicateObjectMap :pom_228. :pm_228 a rr:PredicateMap. @@ -3492,12 +3492,12 @@ :pm_228 rr:constant era:protectionLegacySystem. :pom_228 rr:objectMap :om_228. :om_228 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/train-protection-legacy-systems#{ParameterValue}"; rr:termType rr:IRI. :map_legacy-radio-system_0 rml:logicalSource :source_60. :source_60 a rml:LogicalSource; rml:source :database_59; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, REPLACE(CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, ''), ' ', '_') AS ParameterURI FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.3.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, REPLACE(LookupValues.[Value], ' ', '_') AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.3.6.1') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID". :database_59 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3508,7 +3508,7 @@ rdfs:label "legacy-radio-system". :s_60 a rr:SubjectMap. :map_legacy-radio-system_0 rr:subjectMap :s_60. -:s_60 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_60 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_229 a rr:PredicateObjectMap. :map_legacy-radio-system_0 rr:predicateObjectMap :pom_229. :pm_229 a rr:PredicateMap. @@ -3547,7 +3547,7 @@ rr:constant grel:valueParameter. :pom_231 rr:objectMap :om_231. :om_231 a rr:ObjectMap; - rml:reference "ParameterURI"; + rml:reference "ParameterValue"; rr:termType rr:Literal. :fn_73 rr:predicateObjectMap :pom_232. :pom_232 a rr:PredicateObjectMap; @@ -3565,7 +3565,7 @@ rr:constant idlab-fn:str. :pom_233 rr:objectMap :om_233. :om_233 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterValue}"; rr:termType rr:IRI. :pom_234 a rr:PredicateObjectMap. :map_legacy-radio-system_0 rr:predicateObjectMap :pom_234. @@ -3605,7 +3605,7 @@ rr:constant grel:valueParameter. :pom_236 rr:objectMap :om_236. :om_236 a rr:ObjectMap; - rml:reference "ParameterURI"; + rml:reference "ParameterValue"; rr:termType rr:Literal. :fn_75 rr:predicateObjectMap :pom_237. :pom_237 a rr:PredicateObjectMap; @@ -3623,12 +3623,12 @@ rr:constant idlab-fn:str. :pom_238 rr:objectMap :om_238. :om_238 a rr:ObjectMap; - rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterURI}"; + rr:template "http://era.europa.eu/concepts/legacy-radio-systems#{ParameterValue}"; rr:termType rr:IRI. :map_quieter-route_0 rml:logicalSource :source_61. :source_61 a rml:LogicalSource; rml:source :database_60; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, CONCAT((SELECT LookupValues.[Value] FROM RINF.dbo.LookupValues WHERE LookupValues.ID = TrackParameters.LookupValueID), TrackParameters.Value, '') AS ParameterValue FROM RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines WHERE SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND (TrackParameters.[Value] IS NOT NULL OR TrackParameters.LookupValueID IS NOT NULL) AND \"Index\" IN ('1.1.1.1.7.11') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID;". + rml:query "SELECT Tracks.UUID, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, LookupValues.[Value] AS ParameterValue FROM RINF.dbo.LineEdges, RINF.dbo.SOLTracks, RINF.dbo.SectionOfLines, RINF.dbo.Tracks, RINF.dbo.TrackParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = TrackParameters.TrackID AND TrackParameters.ParameterId = Parameters.ID AND TrackParameters.LookupValueID = LookupValues.ID AND Parameters.[Index] IN ('1.1.1.1.7.11') AND SOLTracks.SectionOfLineID = SectionOfLines.ID AND SOLTracks.VersionID = SectionOfLines.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID;". :database_60 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -3639,7 +3639,7 @@ rdfs:label "quieter-route". :s_61 a rr:SubjectMap. :map_quieter-route_0 rr:subjectMap :s_61. -:s_61 rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}". +:s_61 rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{UUID}_{TO_NODE}". :pom_239 a rr:PredicateObjectMap. :map_quieter-route_0 rr:predicateObjectMap :pom_239. :pm_239 a rr:PredicateMap. diff --git a/rml/tunnels_rml.ttl b/rml/tunnels_rml.ttl index bb707f4..780a8c0 100644 --- a/rml/tunnels_rml.ttl +++ b/rml/tunnels_rml.ttl @@ -18,7 +18,7 @@ :map_tunnel_0 rml:logicalSource :source_0. :source_0 a rml:LogicalSource; rml:source :database_0; - rml:query "SELECT SectionOfLines.ID, SOLTracks.TrackID, SOLTracks.VersionID, TrackTunnels.TunnelID, Tunnels.UUID, MemberStates.Code, ROUND(ABS(Tunnels.EndKm - Tunnels.StartKm), 2) AS TunnelLength, Tunnels.StartLat, Tunnels.StartLong, Tunnels.EndLat, Tunnels.EndLong FROM RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.Tunnels, RINF.dbo.MemberStates, RINF.dbo.MemberStateVersions WHERE SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND TrackTunnels.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID;". + rml:query "SELECT Tracks.UUID AS TRACK_ID, Tunnels.UUID AS TUNNEL_LABEL, REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeStartID AND OperationalPoints.VersionID=LineNodes.VersionID) AS FROM_NODE, (SELECT TRIM(UOPID) FROM RINF.dbo.OperationalPoints, RINF.dbo.LineNodes WHERE OperationalPointID=OperationalPoints.ID AND LineNodes.ID=LineEdges.LineNodeEndID AND OperationalPoints.VersionID=LineNodes.VersionID) AS TO_NODE, ROUND(ABS(Tunnels.EndKm - Tunnels.StartKm), 2) AS TunnelLength, Tunnels.StartLat, Tunnels.StartLong, Tunnels.EndLat, Tunnels.EndLong, MemberStates.Code FROM RINF.dbo.LineEdges, RINF.dbo.SectionOfLines, RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.Tracks, RINF.dbo.Tunnels, RINF.dbo.MemberStateVersions, RINF.dbo.MemberStates WHERE LineEdges.ID = SectionOfLines.LineEdgeID AND LineEdges.VersionID = SectionOfLines.VersionID AND SectionOfLines.ID = SOLTracks.SectionOfLineID AND SectionOfLines.VersionID = SOLTracks.VersionID AND SOLTracks.TrackID = Tracks.ID AND SOLTracks.VersionID = Tracks.VersionID AND SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND Tunnels.VersionID = MemberStateVersions.ID AND MemberStateVersions.MemberStateID = MemberStates.ID;". :database_0 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -29,7 +29,7 @@ rdfs:label "tunnel". :s_0 a rr:SubjectMap. :map_tunnel_0 rr:subjectMap :s_0. -:s_0 rr:template "http://era.europa.eu/implementation#TN_{VersionID}_{TunnelID}". +:s_0 rr:template "http://era.europa.eu/implementation#TN_{TUNNEL_URI}". :pom_0 a rr:PredicateObjectMap. :map_tunnel_0 rr:predicateObjectMap :pom_0. :pm_0 a rr:PredicateMap. @@ -46,7 +46,7 @@ :pm_1 rr:constant rdfs:label. :pom_1 rr:objectMap :om_1. :om_1 a rr:ObjectMap; - rml:reference "UUID"; + rml:reference "TUNNEL_LABEL"; rr:termType rr:Literal. :pom_2 a rr:PredicateObjectMap. :map_tunnel_0 rr:predicateObjectMap :pom_2. @@ -82,7 +82,7 @@ :pm_5 rr:constant era:hasTrack. :pom_5 rr:objectMap :om_5. :om_5 a rr:ObjectMap; - rr:template "http://era.europa.eu/implementation#T_{ID}_{VersionID}_{TrackID}"; + rr:template "http://era.europa.eu/implementation#T_{FROM_NODE}_{TRACK_ID}_{TO_NODE}"; rr:termType rr:IRI. :pom_6 a rr:PredicateObjectMap. :map_tunnel_0 rr:predicateObjectMap :pom_6. @@ -228,7 +228,7 @@ :map_required-rolling-stock-fire-category_0 rml:logicalSource :source_4. :source_4 a rml:LogicalSource; rml:source :database_3; - rml:query "SELECT SOLTracks.VersionID, TrackTunnels.TunnelID, LookupValues.[Value] FROM RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.10' AND TunnelParameters.LookupValueID = LookupValues.ID;". + rml:query "SELECT REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, LookupValues.[Value] FROM RINF.dbo.TrackTunnels, RINF.dbo.Tunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.10' AND TunnelParameters.LookupValueID = LookupValues.ID;". :database_3 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; @@ -239,7 +239,7 @@ rdfs:label "required-rolling-stock-fire-category". :s_4 a rr:SubjectMap. :map_required-rolling-stock-fire-category_0 rr:subjectMap :s_4. -:s_4 rr:template "http://era.europa.eu/implementation#TN_{VersionID}_{TunnelID}". +:s_4 rr:template "http://era.europa.eu/implementation#TN_{TUNNEL_URI}". :pom_17 a rr:PredicateObjectMap. :map_required-rolling-stock-fire-category_0 rr:predicateObjectMap :pom_17. :pm_17 a rr:PredicateMap. @@ -417,7 +417,7 @@ :map_required-national-rolling-stock-fire-category_0 rml:logicalSource :source_5. :source_5 a rml:LogicalSource; rml:source :database_4; - rml:query "SELECT SOLTracks.VersionID, TrackTunnels.TunnelID, LookupValues.[Value] FROM RINF.dbo.SOLTracks, RINF.dbo.TrackTunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE SOLTracks.TrackID = TrackTunnels.TrackID AND SOLTracks.VersionID = TrackTunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.11' AND TunnelParameters.LookupValueID = LookupValues.ID;". + rml:query "SELECT REPLACE(Tunnels.UUID, ' ', '_') AS TUNNEL_URI, LookupValues.[Value] FROM RINF.dbo.TrackTunnels, RINF.dbo.Tunnels, RINF.dbo.TunnelParameters, RINF.dbo.Parameters, RINF.dbo.LookupValues WHERE TrackTunnels.TunnelID = Tunnels.ID AND TrackTunnels.VersionID = Tunnels.VersionID AND TunnelParameters.TunnelID = TrackTunnels.TunnelID AND TunnelParameters.VersionID = TrackTunnels.VersionID AND TunnelParameters.ParameterId = Parameters.ID AND Parameters.[Index] = '1.1.1.1.8.11' AND TunnelParameters.LookupValueID = LookupValues.ID;". :database_4 a d2rq:Database; d2rq:jdbcDSN "//10.10.160.21:1433"; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver";