Skip to content

Commit 6843e93

Browse files
committed
2 parents 472594f + e96287f commit 6843e93

File tree

79 files changed

+402
-525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+402
-525
lines changed

shapes/logical_source.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
###############################################################################
55
@prefix sh: <http://www.w3.org/ns/shacl#> .
66
@prefix schema: <http://schema.org/> .
7-
@prefix ql: <http://w3id.org/rml/io/ql/> .
87
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
98
@prefix rml: <http://w3id.org/rml/> .
109
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

shapes/logical_target.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
###############################################################################
55
@prefix sh: <http://www.w3.org/ns/shacl#> .
66
@prefix schema: <http://schema.org/> .
7-
@prefix ql: </http://w3id.org/rml/io/ql/> .
87
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
98
@prefix rml: <http://w3id.org/rml/> .
109
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

shapes/source.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
###############################################################################
55
@prefix sh: <http://www.w3.org/ns/shacl#> .
66
@prefix schema: <http://schema.org/> .
7-
@prefix ql: <http://w3id.org/rml/io/ql/> .
87
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
98
@prefix rml: <http://w3id.org/rml/> .
109
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

shapes/target.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
###############################################################################
55
@prefix sh: <http://www.w3.org/ns/shacl#> .
66
@prefix schema: <http://schema.org/> .
7-
@prefix ql: <http://w3id.org/rml/io/ql/> .
87
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
98
@prefix rml: <http://w3id.org/rml/> .
109
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

spec/section/abstract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ and is therefore not limited to a specific set of targets or data sources.
1414
The current document describes the Logical Source and Logical Target concepts
1515
through definitions and examples.
1616

17-
The version of this document is *v1.3*.
17+
The version of this document is *DRAFT*.

spec/section/logical-source-in-rml.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Logical Source in RML {#logical-source-in-rml}
22

33
RML is aligned with the Logical Source vocabulary
4-
by extending `rr:TriplesMap` with the `rml:logicalSource` property
4+
by extending `rml:TriplesMap` with the `rml:logicalSource` property
55
to describe on Triples Map [[RML]] level where the data must be retrieved
66
from and where the references refer to.
77
A Triples Map is a function that generates an RDF triples
@@ -13,7 +13,7 @@ RDF triples.
1313

1414
| Property | Domain | Range |
1515
| ------------------- | ------------ | -------------------- |
16-
| `rml:logicalSource` | `rr:TriplesMap` | `rml:LogicalSource` |
16+
| `rml:logicalSource` | `rml:TriplesMap` | `rml:LogicalSource` |
1717

1818
In the example below, a CSV file is transformed into a knowledge graph.
1919
The CSV file is accessed using the [[CSVW]] vocabulary,
@@ -42,27 +42,27 @@ id;name;nickname
4242
<pre class="ex-mapping">
4343
@base &lt;http://example.com/ns#&gt; .
4444

45-
&lt;#TriplesMap&gt; a rr:TriplesMap;
45+
&lt;#TriplesMap&gt; a rml:TriplesMap;
4646
rml:logicalSource [ a rml:LogicalSource;
4747
rml:source &lt;#CSVSourceAccess&gt;;
4848
];
49-
rr:subjectMap [ a rr:SubjectMap;
50-
rr:template "http://example.com/{id}";
51-
rr:class foaf:Person;
49+
rml:subjectMap [ a rml:SubjectMap;
50+
rml:template "http://example.com/{id}";
51+
rml:class foaf:Person;
5252
];
53-
rr:predicateObjectMap [ a rr:PredicateObjectMap;
54-
rr:predicateMap [ a rr:PredicateMap;
55-
rr:constant foaf:name;
53+
rml:predicateObjectMap [ a rml:PredicateObjectMap;
54+
rml:predicateMap [ a rml:PredicateMap;
55+
rml:constant foaf:name;
5656
];
57-
rr:objectMap [ a rr:ObjectMap;
57+
rml:objectMap [ a rml:ObjectMap;
5858
rml:reference "name";
5959
];
6060
];
61-
rr:predicateObjectMap [ a rr:PredicateObjectMap;
62-
rr:predicateMap [ a rr:PredicateMap;
63-
rr:constant foaf:nickname;
61+
rml:predicateObjectMap [ a rml:PredicateObjectMap;
62+
rml:predicateMap [ a rml:PredicateMap;
63+
rml:constant foaf:nickname;
6464
];
65-
rr:objectMap [ a rr:ObjectMap;
65+
rml:objectMap [ a rml:ObjectMap;
6666
rml:reference "nickname";
6767
];
6868
];

spec/section/logical-target-in-rml.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Logical Target in RML {#logical-target-in-rml}
22

33
RML is aligned with the Logical Target vocabulary
4-
by extending `rr:TermMap` with the `rml:logicalTarget` property
4+
by extending `rml:TermMap` with the `rml:logicalTarget` property
55
to describe on Term Map [[RML]] level where each triple must be directed to.
66
A Term Map is a function that generates an RDF term
77
from a logical reference [[RML]].
@@ -31,7 +31,7 @@ are exported to the default target of the processor.
3131

3232
| Property | Domain | Range |
3333
| ------------------- | ------------ | -------------------- |
34-
| `rml:logicalTarget` | `rr:TermMap` | `rml:LogicalTarget` |
34+
| `rml:logicalTarget` | `rml:TermMap` | `rml:LogicalTarget` |
3535

3636
In the example below, a CSV file is transformed into a knowledge graph.
3737
The CSV file is accessed using the [[CSVW]] vocabulary,
@@ -66,29 +66,29 @@ id;name;nickname
6666
<pre class="ex-mapping">
6767
@base &lt;http://example.com/ns#&gt; .
6868

69-
&lt;#TriplesMap&gt; a rr:TriplesMap;
69+
&lt;#TriplesMap&gt; a rml:TriplesMap;
7070
rml:logicalSource [ a rml:LogicalSource;
7171
rml:source &lt;#CSVSourceAccess&gt;;
7272
];
73-
rr:subjectMap [ a rr:SubjectMap;
74-
rr:template "http://example.com/{id}";
73+
rml:subjectMap [ a rml:SubjectMap;
74+
rml:template "http://example.com/{id}";
7575
rml:logicalTarget &lt;#TargetDump1&gt;;
76-
rr:class foaf:Person;
76+
rml:class foaf:Person;
7777
];
78-
rr:predicateObjectMap [ a rr:PredicateObjectMap;
79-
rr:predicateMap [ a rr:PredicateMap;
80-
rr:constant foaf:name;
78+
rml:predicateObjectMap [ a rml:PredicateObjectMap;
79+
rml:predicateMap [ a rml:PredicateMap;
80+
rml:constant foaf:name;
8181
rml:logicalTarget &lt;#TargetDump2&gt;;
8282
];
83-
rr:objectMap [ a rr:ObjectMap;
83+
rml:objectMap [ a rml:ObjectMap;
8484
rml:reference "name";
8585
];
8686
];
87-
rr:predicateObjectMap [ a rr:PredicateObjectMap;
88-
rr:predicateMap [ a rr:PredicateMap;
89-
rr:constant foaf:nickname;
87+
rml:predicateObjectMap [ a rml:PredicateObjectMap;
88+
rml:predicateMap [ a rml:PredicateMap;
89+
rml:constant foaf:nickname;
9090
];
91-
rr:objectMap [ a rr:ObjectMap;
91+
rml:objectMap [ a rml:ObjectMap;
9292
rml:reference "nickname";
9393
];
9494
];
@@ -104,7 +104,7 @@ id;name;nickname
104104
&lt;#TargetDump2&gt; a rml:LogicalTarget;
105105
rml:target &lt;#VoIDDump2&gt;;
106106
rml:serialization formats:Turtle;
107-
rml:compression comp:zip;
107+
rml:compression rml:zip;
108108
.
109109
</pre>
110110

0 commit comments

Comments
 (0)