Skip to content

Updated test results for JSON-LD-star #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 16 additions & 106 deletions tests/compact-manifest.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
{
"@id": "#tst04",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 1",
"purpose": "Node with embedded subject having no @id",
"name": "triple term 1",
"purpose": "Node with triple term having no @id",
"input": "compact/st04-in.jsonld",
"context": "compact/st04-out.jsonld",
"expect": "compact/st04-out.jsonld",
Expand All @@ -19,8 +19,8 @@
}, {
"@id": "#tst05",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 2",
"purpose": "Node with embedded subject having IRI @id",
"name": "triple term 2",
"purpose": "Node with triple term having IRI @id",
"input": "compact/st05-in.jsonld",
"context": "compact/st05-out.jsonld",
"expect": "compact/st05-out.jsonld",
Expand All @@ -29,8 +29,8 @@
}, {
"@id": "#tst06",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 3",
"purpose": "Node with embedded subject having BNode @id",
"name": "triple term 3",
"purpose": "Node with triple term having BNode @id",
"input": "compact/st06-in.jsonld",
"context": "compact/st06-out.jsonld",
"expect": "compact/st06-out.jsonld",
Expand All @@ -39,8 +39,8 @@
}, {
"@id": "#tst07",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 4",
"purpose": "Node with embedded subject having a type",
"name": "triple term 4",
"purpose": "Node with triple term having a type",
"input": "compact/st07-in.jsonld",
"context": "compact/st07-out.jsonld",
"expect": "compact/st07-out.jsonld",
Expand All @@ -49,8 +49,8 @@
}, {
"@id": "#tst08",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 5",
"purpose": "Node with embedded subject having an IRI value",
"name": "triple term 5",
"purpose": "Node with triple term having an IRI value",
"input": "compact/st08-in.jsonld",
"context": "compact/st08-out.jsonld",
"expect": "compact/st08-out.jsonld",
Expand All @@ -59,8 +59,8 @@
}, {
"@id": "#tst09",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 6",
"purpose": "Node with embedded subject having an BNode value",
"name": "triple term 6",
"purpose": "Node with triple term having an BNode value",
"input": "compact/st09-in.jsonld",
"context": "compact/st09-out.jsonld",
"expect": "compact/st09-out.jsonld",
Expand All @@ -69,43 +69,13 @@
}, {
"@id": "#tst10",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 7",
"purpose": "Node with recursive embedded subject",
"name": "triple term 7",
"purpose": "Node with recursive triple term",
"input": "compact/st10-in.jsonld",
"context": "compact/st10-out.jsonld",
"expect": "compact/st10-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst15",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 8",
"purpose": "Node with embedded object",
"input": "compact/st15-in.jsonld",
"context": "compact/st15-out.jsonld",
"expect": "compact/st15-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst16",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 9",
"purpose": "Node with embedded object having properties",
"input": "compact/st16-in.jsonld",
"context": "compact/st16-out.jsonld",
"expect": "compact/st16-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst17",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 10",
"purpose": "Node with recursive embedded object",
"input": "compact/st17-in.jsonld",
"context": "compact/st17-out.jsonld",
"expect": "compact/st17-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst18",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
Expand Down Expand Up @@ -156,46 +126,6 @@
"expect": "compact/st20b-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst28",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Embedded annotation node 1",
"purpose": "Node with @annotation property on embedded subject",
"input": "compact/st28-in.jsonld",
"context": "compact/st28-out.jsonld",
"expect": "compact/st28-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst29",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Embedded annotation node 2",
"purpose": "Node with @annotation property on embedded object",
"input": "compact/st29-in.jsonld",
"context": "compact/st29-out.jsonld",
"expect": "compact/st29-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst32",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 13",
"purpose": "Embedded node used as subject in reverse relationship",
"input": "compact/st32-in.jsonld",
"context": "compact/st32-out.jsonld",
"expect": "compact/st32-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst33",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "embedded node 14",
"purpose": "Embedded node used as object in reverse relationship",
"input": "compact/st33-in.jsonld",
"context": "compact/st33-out.jsonld",
"expect": "compact/st33-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst34",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
Expand All @@ -219,8 +149,8 @@
}, {
"@id": "#tst36",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Alias for embedded node",
"purpose": "embedded node with an alias of `@id`",
"name": "Alias for triple term",
"purpose": "triple term with an alias of `@triple`",
"input": "compact/st36-in.jsonld",
"context": "compact/st36-out.jsonld",
"expect": "compact/st36-out.jsonld",
Expand All @@ -236,26 +166,6 @@
"expect": "compact/st37-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst38",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "annotation value 1",
"purpose": "embedded node with annotation on value object",
"input": "compact/st38-in.jsonld",
"context": "compact/st38-out.jsonld",
"expect": "compact/st38-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst39",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "annotation with embedded node 1",
"purpose": "annotation node containing an embedded node",
"input": "compact/st39-in.jsonld",
"context": "compact/st39-out.jsonld",
"expect": "compact/st39-out.jsonld",
"requires": "JSON-LD-star",
"option": {"specVersion": "json-ld-star", "rdfstar": true}
}, {
"@id": "#tst40",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
Expand Down
10 changes: 6 additions & 4 deletions tests/compact/st04-in.jsonld
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[{
"@id": {
"ex:prop": [{"@value": "value"}]
},
"ex:prop": [{"@value": "value2"}]
"@id": "ex:s",
"ex:p": [{
"@triple": {
"ex:prop": [{"@value": "value"}]
}
}]
}]
12 changes: 7 additions & 5 deletions tests/compact/st04-out.jsonld
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"@id": {
"ex:prop": "value"
},
"ex:prop": "value2"
}
"@id": "ex:s",
"ex:p": {
"@triple": {
"ex:prop": "value"
}
}
}
12 changes: 7 additions & 5 deletions tests/compact/st05-in.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[{
"@id": {
"@id": "ex:rei",
"ex:prop": [{"@value": "value"}]
},
"ex:prop": [{"@value": "value2"}]
"@id": "ex:s",
"ex:p": [{
"@triple": {
"@id": "ex:rei",
"ex:prop": [{"@value": "value"}]
}
}]
}]
14 changes: 8 additions & 6 deletions tests/compact/st05-out.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"@id": {
"@id": "ex:rei",
"ex:prop": "value"
},
"ex:prop": "value2"
}
"@id": "ex:s",
"ex:p": {
"@triple": {
"@id": "ex:rei",
"ex:prop": "value"
}
}
}
12 changes: 7 additions & 5 deletions tests/compact/st06-in.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[{
"@id": {
"@id": "_:rei",
"ex:prop": [{"@value": "value"}]
},
"ex:prop": [{"@value": "value2"}]
"@id": "ex:s",
"ex:p": [{
"@triple": {
"@id": "_:rei",
"ex:prop": [{"@value": "value"}]
}
}]
}]
14 changes: 8 additions & 6 deletions tests/compact/st06-out.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"@id": {
"@id": "_:rei",
"ex:prop": "value"
},
"ex:prop": "value2"
}
"@id": "ex:s",
"ex:p": {
"@triple": {
"@id": "_:rei",
"ex:prop": "value"
}
}
}
12 changes: 7 additions & 5 deletions tests/compact/st07-in.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[{
"@id": {
"@id": "ex:rei",
"@type": ["ex:Type"]
},
"ex:prop": [{"@value": "value2"}]
"@id": "ex:s",
"ex:p": [{
"@triple": {
"@id": "ex:rei",
"@type": ["ex:Type"]
}
}]
}]
14 changes: 8 additions & 6 deletions tests/compact/st07-out.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"@id": {
"@id": "ex:rei",
"@type": "ex:Type"
},
"ex:prop": "value2"
}
"@id": "ex:s",
"ex:p": {
"@triple": {
"@id": "ex:rei",
"@type": "ex:Type"
}
}
}
12 changes: 7 additions & 5 deletions tests/compact/st08-in.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[{
"@id": {
"@id": "ex:rei",
"ex:prop": [{"@id": "ex:value"}]
},
"ex:prop": [{"@value": "value2"}]
"@id": "ex:s",
"ex:p": [{
"@triple": {
"@id": "ex:rei",
"ex:prop": [{"@id": "ex:value"}]
}
}]
}]
14 changes: 8 additions & 6 deletions tests/compact/st08-out.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"@id": {
"@id": "ex:rei",
"ex:prop": {"@id": "ex:value"}
},
"ex:prop": "value2"
}
"@id": "ex:s",
"ex:p": {
"@triple": {
"@id": "ex:rei",
"ex:prop": {"@id": "ex:value"}
}
}
}
12 changes: 7 additions & 5 deletions tests/compact/st09-in.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[{
"@id": {
"@id": "ex:rei",
"ex:prop": [{"@id": "_:value"}]
},
"ex:prop": [{"@value": "value2"}]
"@id": "ex:s",
"ex:p": [{
"@triple": {
"@id": "ex:rei",
"ex:prop": [{"@id": "_:value"}]
}
}]
}]
14 changes: 8 additions & 6 deletions tests/compact/st09-out.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"@id": {
"@id": "ex:rei",
"ex:prop": {"@id": "_:value"}
},
"ex:prop": "value2"
}
"@id": "ex:s",
"ex:p": {
"@triple": {
"@id": "ex:rei",
"ex:prop": {"@id": "_:value"}
}
}
}
Loading