-
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 #43 from kg-construct/fix/prefixes
fixed old prefixes
- Loading branch information
Showing
8 changed files
with
45 additions
and
53 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
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 |
---|---|---|
@@ -1,37 +1,36 @@ | ||
@prefix dbo: <http://dbpedia.org/ontology/> . | ||
@prefix grel: <http://users.ugent.be/~bjdmeest/function/grel.ttl#> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
@prefix rr: <http://www.w3.org/ns/r2rml#> . | ||
|
||
<#Person_Mapping> | ||
rml:logicalSource <#LogicalSource> ; # Specify the data source | ||
rr:subjectMap <#SubjectMap> ; # Specify the subject | ||
rr:predicateObjectMap <#NameMapping> . # Specify the predicate-object-map | ||
rml:subjectMap <#SubjectMap> ; # Specify the subject | ||
rml:predicateObjectMap <#NameMapping> . # Specify the predicate-object-map | ||
|
||
<#NameMapping> | ||
rr:predicate dbo:title ; # Specify the predicate | ||
rr:objectMap [ # Specify the object-map: a function-valued expression map | ||
rml:predicate dbo:title ; # Specify the predicate | ||
rml:objectMap [ # Specify the object-map: a function-valued expression map | ||
rml:functionExecution <#Execution> ; # Link to a Function Execution | ||
rml:returnMap [ | ||
a rml:ReturnMap ; | ||
rr:constant grel:stringOut # Specify which return of the referenced function to use | ||
rml:constant grel:stringOut # Specify which return of the referenced function to use | ||
] | ||
] . | ||
|
||
<#Execution> a rml:FunctionExecution ; # A new class | ||
rml:functionMap [ | ||
a rml:FunctionMap ; | ||
rr:constant grel:toUppercase # Specify which FnO function | ||
rml:constant grel:toUppercase # Specify which FnO function | ||
] ; | ||
rml:input # Specify the inputs | ||
[ | ||
a rml:Input ; # A new class | ||
rml:parameterMap [ | ||
a rml:ParameterMap ; | ||
rr:constant grel:valueParam ; # Specify this specific parameter | ||
rml:constant grel:valueParam ; # Specify this specific parameter | ||
] ; | ||
rml:inputValueMap [ # Link to the term map that creates the input value | ||
a rr:TermMap ; | ||
a rml:TermMap ; | ||
rml:reference "name" # Specify the reference within the data source | ||
] | ||
] . |
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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
@prefix dbo: <http://dbpedia.org/ontology/> . | ||
@prefix rml: <http://semweb.mmlab.be/ns/rml#> . | ||
@prefix rr: <http://www.w3.org/ns/r2rml#> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
|
||
<#Person_Mapping> | ||
rml:logicalSource <#LogicalSource> ; # Specify the data source | ||
rr:subjectMap <#SubjectMap> ; # Specify the subject | ||
rr:predicateObjectMap [ # Specify the predicate-object-map | ||
rr:predicate dbo:title ; # Specify the predicate | ||
rr:objectMap [ # Specify the object-map | ||
rml:subjectMap <#SubjectMap> ; # Specify the subject | ||
rml:predicateObjectMap [ # Specify the predicate-object-map | ||
rml:predicate dbo:title ; # Specify the predicate | ||
rml:objectMap [ # Specify the object-map | ||
rml:reference "name" # Specify the reference within the data source | ||
] | ||
] . |