-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@prefix rr: <http://www.w3.org/ns/r2rml#>. | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | ||
@prefix fnml: <http://semweb.mmlab.be/ns/fnml#>. | ||
@prefix fno: <http://w3id.org/function/ontology#>. | ||
@prefix rml: <http://semweb.mmlab.be/ns/rml#>. | ||
@prefix ql: <http://semweb.mmlab.be/ns/ql#>. | ||
@prefix : <http://mapping.example.com/>. | ||
|
||
:map_person_0 rml:logicalSource :source_0. | ||
:source_0 a rml:LogicalSource; | ||
rml:source "person.csv"; | ||
rml:referenceFormulation ql:CSV. | ||
:map_person_0 a rr:TriplesMap; | ||
rdfs:label "person". | ||
:s_0 a rr:SubjectMap. | ||
:map_person_0 rr:subjectMap :s_0. | ||
:s_0 rr:template "{id}::number". | ||
:pom_0 a rr:PredicateObjectMap. | ||
:map_person_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://schema.org/Person"; | ||
rr:termType rr:IRI. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
mappings: | ||
person: | ||
sources: | ||
- ["person.csv~csv"] | ||
s: $(id)\:\:number | ||
po: | ||
- [a, schema:Person] |