-
Notifications
You must be signed in to change notification settings - Fork 0
/
example3.jsonld
30 lines (28 loc) · 1.06 KB
/
example3.jsonld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"@comment": "testing deduplication",
"@context": { "ex": "http://example.com/ns#" },
"@id": "#test",
"ex:one": "literal",
"ex:two": { "@id": "ex:link" },
"ex:primitives": [ null, true, false, 3, "literal" ],
"@included": [
{
"@comment": "these are duplicates and shouldn’t result in new triples except for ex:three and ex:primitives",
"@id": "#test",
"ex:one": { "@value": "literal" },
"ex:two": { "@id": "ex:link" },
"ex:primitives": [ "literal", 3, false, -4, true, null ],
"ex:three": ["literal", "literal"]
},
{
"@comment": "'literal' and 'literal@en-us' are distinct",
"@id": "#test2",
"ex:four": [ { "@value": "literal" }, { "@value": "literal", "@language": "en-us" }, "literal" ]
},
{
"@comment": "this list should have three entries even though they're the same",
"@id": "#test",
"ex:five": { "@list": [ "literal", "literal", "literal" ] }
}
]
}