1
0

F02.mapping.ttl 848 B

12345678910111213141516171819202122232425262728293031
  1. @prefix rr: <http://www.w3.org/ns/r2rml#> .
  2. @prefix rrf: <http://kdeg.scss.tcd.ie/ns/rrf#> .
  3. @prefix foaf: <http://xmlns.com/foaf/0.1/> .
  4. <#TriplesMap1>
  5. rr:logicalTable [ rr:tableName "EMP" ];
  6. rr:subjectMap [
  7. rr:template "http://data.example.com/employee/{EMPNO}";
  8. rr:class foaf:Person;
  9. ];
  10. rr:predicateObjectMap [
  11. rr:predicate foaf:givenName;
  12. rr:objectMap [ rr:column "FNAME" ];
  13. ];
  14. rr:predicateObjectMap [
  15. rr:predicate foaf:lastName;
  16. rr:objectMap [ rr:column "LNAME" ];
  17. ];
  18. rr:predicateObjectMap [
  19. rr:predicate foaf:name;
  20. rr:objectMap [
  21. rrf:functionCall [
  22. rrf:function <http://data.example.org/functions/concat> ;
  23. rrf:parameterBindings (
  24. [ rr:column "FNAME" ]
  25. [ rr:column "LNAME" ]
  26. ) ;
  27. ] ;
  28. ]
  29. ]
  30. .