-
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 #39 from kg-construct/fix/0004
0004 suggestion
- Loading branch information
Showing
5 changed files
with
57 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,39 @@ | ||
@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:predicateMap [ | ||
rml:functionExecution <#Execution> ; | ||
]; | ||
rml:object foaf:name; | ||
] . | ||
|
||
<#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> <https://schema.org/Venus> <http://xmlns.com/foaf/0.1/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,2 @@ | ||
Id,Name,Comment,Class | ||
1,Venus,A&B,A |
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