-
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.
- Loading branch information
Showing
5 changed files
with
67 additions
and
1 deletion.
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,41 @@ | ||
@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 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:returnMap [ | ||
rr:constant fns:domainOutput | ||
] | ||
] | ||
] . | ||
|
||
<#Execution> | ||
rml:function fns:parseURL ; | ||
rml:input | ||
[ | ||
rml:parameter fns:stringParameter ; | ||
rml:inputValueMap [ | ||
rml:reference "url" ; | ||
] | ||
] . |
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> "example.com" . |
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 |
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