-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
prefixes:
ex: http://example.com/
n1: http://n1.com/
mappings:
person:
sources:
- [test.csv~csv]
s: http://example.com/$(id)
po:
- p: ex:name
o: n1:$(name)/test::hello
results in
@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: <http://w3id.org/function/ontology#>.
@prefix rml: <http://semweb.mmlab.be/ns/rml#>.
@prefix ql: <http://semweb.mmlab.be/ns/ql#>.
@prefix : <http://mapping.example.com/>.
@prefix ex: <http://example.com/>.
@prefix n1: <http://n1.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}".
: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 ex:name.
:pom_0 rr:objectMap :om_0.
:om_0 a rr:ObjectMap;
rr:template "http://n1.com/{name}/test@@@@____@@@@hello";
rr:termType rr:Literal.
while it should be
@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: <http://w3id.org/function/ontology#>.
@prefix rml: <http://semweb.mmlab.be/ns/rml#>.
@prefix ql: <http://semweb.mmlab.be/ns/ql#>.
@prefix : <http://mapping.example.com/>.
@prefix ex: <http://example.com/>.
@prefix n1: <http://n1.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}".
: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 ex:name.
:pom_0 rr:objectMap :om_0.
:om_0 a rr:ObjectMap;
rr:template "http://n1.com/{name}/test:hello";
rr:termType rr:Literal.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working