-
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.
Merge pull request #47 from RMLio/development
v1.0.2
- Loading branch information
Showing
12 changed files
with
307 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Issue type: :bug: Bug | ||
|
||
### Description | ||
_A clear and concise description of what the bug is._ | ||
|
||
### Steps | ||
_Add the necessary steps to replicate the bug._ | ||
|
||
### Environment | ||
_Add the version of Java and OS that is used._ |
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,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Issue type: :unicorn: Feature | ||
|
||
### Description | ||
_Add a clear and concise description of what the feature is_ | ||
|
||
### Why it is useful | ||
_Add why the feature is useful._ | ||
|
||
### Existing features it breaks | ||
_List all existing features that this new feature will break._ |
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
72 changes: 72 additions & 0 deletions
72
test/joincondition-template-1-reference-text/mapping.rml.ttl
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,72 @@ | ||
@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: <https://w3id.org/function/ontology#>. | ||
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#>. | ||
@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 "test.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 "http://example.com/person/{id}". | ||
: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 <http://schema.org/creator>. | ||
:pom_0 rr:objectMap :om_0. | ||
:map_project_0 rml:logicalSource :source_1. | ||
:source_1 a rml:LogicalSource; | ||
rml:source "test.csv"; | ||
rml:referenceFormulation ql:CSV. | ||
:map_project_0 a rr:TriplesMap; | ||
rdfs:label "project". | ||
:s_1 a rr:SubjectMap. | ||
:map_project_0 rr:subjectMap :s_1. | ||
:s_1 rr:template "http://example.com/project/{id}". | ||
:pom_1 a rr:PredicateObjectMap. | ||
:map_project_0 rr:predicateObjectMap :pom_1. | ||
:pm_1 a rr:PredicateMap. | ||
:pom_1 rr:predicateMap :pm_1. | ||
:pm_1 rr:constant rdf:type. | ||
:pom_1 rr:objectMap :om_1. | ||
:om_1 a rr:ObjectMap; | ||
rr:constant "http://schema.org/Project"; | ||
rr:termType rr:IRI. | ||
:om_0 a rr:ObjectMap; | ||
rr:parentTriplesMap :map_project_0; | ||
rml:joinCondition :jc_0. | ||
:jc_0 a fnml:FunctionTermMap; | ||
fnml:functionValue :fn_0. | ||
:fn_0 rr:predicateObjectMap :pomexec_0. | ||
:pomexec_0 rr:predicateMap :pmexec_0. | ||
:pmexec_0 rr:constant fno:executes. | ||
:pomexec_0 rr:objectMap :omexec_0. | ||
:omexec_0 rr:constant "http://example.com/idlab/function/equal"; | ||
rr:termType rr:IRI. | ||
:fn_0 rr:predicateObjectMap :pom_2. | ||
:pom_2 a rr:PredicateObjectMap; | ||
rr:predicateMap :pm_2. | ||
:pm_2 a rr:PredicateMap; | ||
rr:constant <http://users.ugent.be/~bjdmeest/function/grel.ttl#valueParameter>. | ||
:pom_2 rr:objectMap :om_2. | ||
:om_2 a rr:ObjectMap; | ||
rr:template "{id}_"; | ||
rr:termType rr:Literal. | ||
:fn_0 rr:predicateObjectMap :pom_3. | ||
:pom_3 a rr:PredicateObjectMap; | ||
rr:predicateMap :pm_3. | ||
:pm_3 a rr:PredicateMap; | ||
rr:constant <http://users.ugent.be/~bjdmeest/function/grel.ttl#valueParameter2>. | ||
:pom_3 rr:objectMap :om_3. | ||
:om_3 a rr:ObjectMap; | ||
rml:parentTermMap :ptm_0. | ||
:ptm_0 rml:reference "id". |
20 changes: 20 additions & 0 deletions
20
test/joincondition-template-1-reference-text/mapping.yarrrml
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,20 @@ | ||
mappings: | ||
person: | ||
sources: | ||
- [test.csv~csv] | ||
s: http://example.com/person/$(id) | ||
po: | ||
- p: schema:creator | ||
o: | ||
mapping: project | ||
condition: | ||
function: equal | ||
parameters: | ||
- [str1, $(id)_, s] | ||
- [str2, $(id), o] | ||
project: | ||
sources: | ||
- [test.csv~csv] | ||
s: http://example.com/project/$(id) | ||
po: | ||
- [a, schema:Project] |
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,72 @@ | ||
@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: <https://w3id.org/function/ontology#>. | ||
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#>. | ||
@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 "test.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 "http://example.com/person/{id}". | ||
: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 <http://schema.org/creator>. | ||
:pom_0 rr:objectMap :om_0. | ||
:map_project_0 rml:logicalSource :source_1. | ||
:source_1 a rml:LogicalSource; | ||
rml:source "test.csv"; | ||
rml:referenceFormulation ql:CSV. | ||
:map_project_0 a rr:TriplesMap; | ||
rdfs:label "project". | ||
:s_1 a rr:SubjectMap. | ||
:map_project_0 rr:subjectMap :s_1. | ||
:s_1 rr:template "http://example.com/project/{id}". | ||
:pom_1 a rr:PredicateObjectMap. | ||
:map_project_0 rr:predicateObjectMap :pom_1. | ||
:pm_1 a rr:PredicateMap. | ||
:pom_1 rr:predicateMap :pm_1. | ||
:pm_1 rr:constant rdf:type. | ||
:pom_1 rr:objectMap :om_1. | ||
:om_1 a rr:ObjectMap; | ||
rr:constant "http://schema.org/Project"; | ||
rr:termType rr:IRI. | ||
:om_0 a rr:ObjectMap; | ||
rr:parentTriplesMap :map_project_0; | ||
rml:joinCondition :jc_0. | ||
:jc_0 a fnml:FunctionTermMap; | ||
fnml:functionValue :fn_0. | ||
:fn_0 rr:predicateObjectMap :pomexec_0. | ||
:pomexec_0 rr:predicateMap :pmexec_0. | ||
:pmexec_0 rr:constant fno:executes. | ||
:pomexec_0 rr:objectMap :omexec_0. | ||
:omexec_0 rr:constant "http://example.com/idlab/function/equal"; | ||
rr:termType rr:IRI. | ||
:fn_0 rr:predicateObjectMap :pom_2. | ||
:pom_2 a rr:PredicateObjectMap; | ||
rr:predicateMap :pm_2. | ||
:pm_2 a rr:PredicateMap; | ||
rr:constant <http://users.ugent.be/~bjdmeest/function/grel.ttl#valueParameter>. | ||
:pom_2 rr:objectMap :om_2. | ||
:om_2 a rr:ObjectMap; | ||
rr:template "{id}_{name}"; | ||
rr:termType rr:Literal. | ||
:fn_0 rr:predicateObjectMap :pom_3. | ||
:pom_3 a rr:PredicateObjectMap; | ||
rr:predicateMap :pm_3. | ||
:pm_3 a rr:PredicateMap; | ||
rr:constant <http://users.ugent.be/~bjdmeest/function/grel.ttl#valueParameter2>. | ||
:pom_3 rr:objectMap :om_3. | ||
:om_3 a rr:ObjectMap; | ||
rml:parentTermMap :ptm_0. | ||
:ptm_0 rr:template "{id}_{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,20 @@ | ||
mappings: | ||
person: | ||
sources: | ||
- [test.csv~csv] | ||
s: http://example.com/person/$(id) | ||
po: | ||
- p: schema:creator | ||
o: | ||
mapping: project | ||
condition: | ||
function: equal | ||
parameters: | ||
- [str1, $(id)_$(name), s] | ||
- [str2, $(id)_$(name), o] | ||
project: | ||
sources: | ||
- [test.csv~csv] | ||
s: http://example.com/project/$(id) | ||
po: | ||
- [a, schema:Project] |
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: <https://w3id.org/function/ontology#>. | ||
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#>. | ||
@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 "test.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 "http://example.com/{id}_{name}". | ||
: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: | ||
- [test.csv~csv] | ||
s: http://example.com/$(id)_$(name) | ||
po: | ||
- [a, schema:Person] |