Skip to content

Commit dce76b7

Browse files
authored
Merge pull request #258 from dachafra/test-cases
solving #256 and #257
2 parents 90e4194 + 8705fe7 commit dce76b7

8 files changed

Lines changed: 4955 additions & 854 deletions

File tree

test-cases/RMLTC0002g-JSON/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
];
3636
rml:predicateObjectMap [
3737
rml:objectMap [
38-
rml:reference "$.IDs"
38+
rml:reference "$.ID"
3939
];
4040
rml:predicate ex:id
4141
];

test-cases/RMLTC0002g-JSON/mapping.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
];
1313
rml:predicateObjectMap [
1414
rml:objectMap [
15-
rml:reference "$.IDs"
15+
rml:reference "$.ID"
1616
];
1717
rml:predicate ex:id
1818
];

test-cases/RMLTC0008a-JSON/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
```
6969
<http://example.com/Student/10/Venus%20Williams> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> <http://example.com/graph/Student/10/Venus%20Williams> .
7070
<http://example.com/Student/10/Venus%20Williams> <http://xmlns.com/foaf/0.1/name> "Venus Williams" <http://example.com/graph/Student/10/Venus%20Williams> .
71-
<http://example.com/Student/10/Venus%20Williams> <http://example.com/id> "10" <http://example.com/graph/Student/10/Venus%20Williams> .
71+
<http://example.com/Student/10/Venus%20Williams> <http://example.com/id> "10"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.com/graph/Student/10/Venus%20Williams> .
7272
<http://example.com/Student/10/Venus%20Williams> <http://example.com/Sport> "Tennis" <http://example.com/graph/Student/10/Venus%20Williams> .
7373
7474
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<http://example.com/Student/10/Venus%20Williams> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> <http://example.com/graph/Student/10/Venus%20Williams> .
22
<http://example.com/Student/10/Venus%20Williams> <http://xmlns.com/foaf/0.1/name> "Venus Williams" <http://example.com/graph/Student/10/Venus%20Williams> .
3-
<http://example.com/Student/10/Venus%20Williams> <http://example.com/id> "10" <http://example.com/graph/Student/10/Venus%20Williams> .
3+
<http://example.com/Student/10/Venus%20Williams> <http://example.com/id> "10"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.com/graph/Student/10/Venus%20Williams> .
44
<http://example.com/Student/10/Venus%20Williams> <http://example.com/Sport> "Tennis" <http://example.com/graph/Student/10/Venus%20Williams> .
55

test-cases/docs/20260121/index.html

Lines changed: 3910 additions & 0 deletions
Large diffs are not rendered by default.

test-cases/docs/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,17 +244,17 @@
244244
"copyrightStart": "2024",
245245
"doJsonLd": true,
246246
"group": "kg-construct",
247-
"publishISODate": "2026-01-17T00:00:00.000Z",
248-
"generatedSubtitle": "Draft Community Group Report 17 January 2026"
247+
"publishISODate": "2026-01-21T00:00:00.000Z",
248+
"generatedSubtitle": "Draft Community Group Report 21 January 2026"
249249
}</script>
250250
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/cg-draft"></head>
251251

252-
<body data-new-gr-c-s-check-loaded="14.1268.0" data-gr-ext-installed="" class="h-entry informative"><div class="head">
252+
<body data-new-gr-c-s-check-loaded="14.1269.0" data-gr-ext-installed="" class="h-entry informative"><div class="head">
253253

254254
<h1 id="title" class="title">RML-Core: Test Cases</h1>
255255
<p id="w3c-state">
256256
<a href="https://www.w3.org/standards/types#reports">Draft Community Group Report</a>
257-
<time class="dt-published" datetime="2026-01-17">17 January 2026</time>
257+
<time class="dt-published" datetime="2026-01-21">21 January 2026</time>
258258
</p>
259259
<dl>
260260

@@ -659,7 +659,7 @@ <h1 id="title" class="title">RML-Core: Test Cases</h1>
659659
];
660660
rml:predicateObjectMap [
661661
rml:objectMap [
662-
rml:reference <span class="hljs-string">"$.IDs"</span>
662+
rml:reference <span class="hljs-string">"$.ID"</span>
663663
];
664664
rml:predicate ex:id
665665
];
@@ -1367,7 +1367,7 @@ <h1 id="title" class="title">RML-Core: Test Cases</h1>
13671367
<p><strong>Output</strong></p>
13681368
<pre><code aria-busy="false" class="hljs css">&lt;http://example.com/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; &lt;http://www.w3.org/<span class="hljs-number">1999</span>/<span class="hljs-number">02</span>/<span class="hljs-number">22</span>-rdf-syntax-ns#type&gt; &lt;http://xmlns.com/foaf/<span class="hljs-number">0.1</span>/Person&gt; &lt;http://example.com/graph/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; .
13691369
&lt;http://example.com/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; &lt;http://xmlns.com/foaf/<span class="hljs-number">0.1</span>/name&gt; <span class="hljs-string">"Venus Williams"</span> &lt;http://example.com/graph/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; .
1370-
&lt;http://example.com/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; &lt;http://example.com/id&gt; <span class="hljs-string">"10"</span> &lt;http://example.com/graph/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; .
1370+
&lt;http://example.com/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; &lt;http://example.com/id&gt; <span class="hljs-string">"10"</span>^^&lt;http://www.w3.org/<span class="hljs-number">2001</span>/XMLSchema#integer&gt; &lt;http://example.com/graph/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; .
13711371
&lt;http://example.com/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; &lt;http://example.com/Sport&gt; <span class="hljs-string">"Tennis"</span> &lt;http://example.com/graph/Student/<span class="hljs-number">10</span>/Venus%<span class="hljs-number">20</span>Williams&gt; .
13721372

13731373
</code></pre>

0 commit comments

Comments
 (0)