123456789101112131415161718192021222324252627282930313233343536 |
- @prefix rr: <http://www.w3.org/ns/r2rml#> .
- @prefix odef: <http://adaptcentre.ie/ont/odef#> .
- @prefix csv: </Users/chrdebru/Desktop/workspace_local/generate-mapping/test/resources/fccweatherstationsp201108292221.csv#> .
- <#TriplesMap> rr:logicalTable [ rr:sqlQuery "SELECT rownum() AS ROW_NUM, * FROM fccweatherstationsp201108292221;" ] ;
- rr:predicateObjectMap [ odef:label "LONG" ;
- odef:order "5"^^<http://www.w3.org/2001/XMLSchema#int> ;
- rr:objectMap [ rr:column "LONG" ] ;
- rr:predicate csv:LONG
- ] ;
- rr:predicateObjectMap [ odef:label "LAT" ;
- odef:order "4"^^<http://www.w3.org/2001/XMLSchema#int> ;
- rr:objectMap [ rr:column "LAT" ] ;
- rr:predicate csv:LAT
- ] ;
- rr:predicateObjectMap [ odef:label "Agency" ;
- odef:order "3"^^<http://www.w3.org/2001/XMLSchema#int> ;
- rr:objectMap [ rr:column "AGENCY" ] ;
- rr:predicate csv:AGENCY
- ] ;
- rr:predicateObjectMap [ odef:label "Weather_Reading" ;
- odef:order "2"^^<http://www.w3.org/2001/XMLSchema#int> ;
- rr:objectMap [ rr:column "WEATHER_READING" ] ;
- rr:predicate csv:WEATHER_READING
- ] ;
- rr:predicateObjectMap [ odef:label "Name" ;
- odef:order "1"^^<http://www.w3.org/2001/XMLSchema#int> ;
- rr:objectMap [ rr:column "NAME" ] ;
- rr:predicate csv:NAME
- ] ;
- rr:predicateObjectMap [ rr:objectMap [ rr:column "ROW_NUM" ] ;
- rr:predicate csv:ROW_NUM
- ] ;
- rr:subjectMap [ rr:class odef:Record ;
- rr:template "http://www.example.org/record/{ROW_NUM}"
- ] .
|