Created
February 22, 2015 21:18
-
-
Save ktk/1df91a3d8e281ac9575d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rr: <http://www.w3.org/ns/r2rml#>. | |
@prefix rml: <http://semweb.mmlab.be/ns/rml#> . | |
@prefix ql: <http://semweb.mmlab.be/ns/ql#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | |
@prefix oslo: <http://purl.org/oslo/ns/localgov#>. | |
@prefix adms: <http://www.w3.org/ns/adms#>. | |
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | |
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> . | |
@prefix dcterms: <http://purl.org/dc/terms/> . | |
@prefix adms: <http://www.w3.org/ns/adms#>. | |
@prefix locn: <http://www.w3.org/ns/locn#>. | |
@prefix schema: <http://schema.org/>. | |
@prefix eCH-0071: <http://www.ech.ch/xmlns/eCH-0071/1> . | |
@prefix bfs: <http://data.example.org/id/>. | |
<#Canton> | |
rml:logicalSource [ | |
rml:source "ech_sample.xml"; | |
rml:referenceFormulation ql:XPath; | |
rml:iterator "/eCH-0071:nomenclature/cantons/canton" ]; | |
rr:subjectMap [ | |
rr:template "http://data.example.org/id/canton/{cantonId}"; | |
rr:class eCH-0071:Canton ; | |
]; | |
rr:predicateObjectMap [ | |
rr:predicate eCH-0071:cantonAbbreviation; | |
rr:objectMap [ | |
rml:reference "/canton/cantonAbbreviation"; | |
] | |
] . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment