-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from kg-construct/fix/0006
fixing 0006
- Loading branch information
Showing
4 changed files
with
45 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix ex: <http://example.com/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
@prefix fno: <https://w3id.org/function/ontology#> . | ||
@prefix fns: <http://example.com/functions/> . | ||
@prefix morph-kgc: <https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#> . | ||
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> . | ||
@prefix idlab-fn: <http://example.com/idlab/function/> . | ||
|
||
@base <http://example.com/base/> . | ||
|
||
<TriplesMap1> | ||
rml:logicalSource [ | ||
rml:source [ a rml:RelativePathSource; | ||
rml:root rml:MappingDirectory; | ||
rml:path "student.csv" | ||
]; | ||
rml:referenceFormulation rml:CSV | ||
]; | ||
rml:subjectMap [ | ||
rml:template "http://example.com/{Name}" | ||
]; | ||
rml:predicateObjectMap [ | ||
rml:predicate foaf:name; | ||
rml:objectMap [ | ||
rml:functionExecution <#Execution> ; | ||
rml:termType rml:IRI | ||
]; | ||
] . | ||
|
||
<#Execution> | ||
rml:function fns:schema ; | ||
rml:input | ||
[ | ||
rml:parameter fns:stringParameter ; | ||
rml:inputValueMap [ | ||
rml:reference "Name" | ||
]; | ||
] . |
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 @@ | ||
<http://example.com/Venus> <http://xmlns.com/foaf/0.1/name> <https://schema.org/Venus> . |
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,2 @@ | ||
Id,Name,Comment,Class,url | ||
1,Venus,A&B,A,http://example.com/venus |