Skip to content

Commit 801e373

Browse files
davidlehngkellogg
authored andcommitted
Test <subject> <rdf:first> <rdf:nil> triple.
1 parent ec9c184 commit 801e373

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

tests/fromRdf-manifest.jsonld

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,13 @@
188188
"purpose": "Uniqness of triples should include the value type",
189189
"input": "fromRdf/0025-in.nq",
190190
"expect": "fromRdf/0025-out.jsonld"
191+
}, {
192+
"@id": "#t0026",
193+
"@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
194+
"name": "triple with rdf:first property and rdf:nil value",
195+
"purpose": "Check list generation with rdf:first property and rdf:nil value.",
196+
"input": "fromRdf/0026-in.nq",
197+
"expect": "fromRdf/0026-out.jsonld"
191198
}, {
192199
"@id": "#tli01",
193200
"@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],

tests/fromRdf/0026-in.nq

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<ex:s> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

tests/fromRdf/0026-out.jsonld

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"@id": "ex:s",
4+
"http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [
5+
{
6+
"@list": []
7+
}
8+
]
9+
}
10+
]
11+

0 commit comments

Comments
 (0)