118 lines
2.8 KiB
Text
118 lines
2.8 KiB
Text
|
[
|
||
|
{
|
||
|
"@id": "http://example.org/indexTest",
|
||
|
"http://example.com/container": [
|
||
|
{
|
||
|
"@id": "http://example.org/nodeWithoutIndexA",
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@id": "http://example.org/nodeWithIndexA",
|
||
|
"@index": "this overrides the 'A' index from the container"
|
||
|
},
|
||
|
{
|
||
|
"@value": 1,
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@value": true,
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@value": false,
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@value": "simple string A",
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@value": "typed literal A",
|
||
|
"@type": "http://example.org/type",
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@value": "language-tagged string A",
|
||
|
"@language": "en",
|
||
|
"@index": "A"
|
||
|
},
|
||
|
{
|
||
|
"@value": "simple string B",
|
||
|
"@index": "B"
|
||
|
},
|
||
|
{
|
||
|
"@id": "http://example.org/nodeWithoutIndexC",
|
||
|
"@index": "C"
|
||
|
},
|
||
|
{
|
||
|
"@id": "http://example.org/nodeWithIndexC",
|
||
|
"@index": "this overrides the 'C' index from the container"
|
||
|
},
|
||
|
{
|
||
|
"@value": 3,
|
||
|
"@index": "C"
|
||
|
},
|
||
|
{
|
||
|
"@value": true,
|
||
|
"@index": "C"
|
||
|
},
|
||
|
{
|
||
|
"@value": false,
|
||
|
"@index": "C"
|
||
|
},
|
||
|
{
|
||
|
"@value": "simple string C",
|
||
|
"@index": "C"
|
||
|
},
|
||
|
{
|
||
|
"@value": "typed literal C",
|
||
|
"@type": "http://example.org/type",
|
||
|
"@index": "C"
|
||
|
},
|
||
|
{
|
||
|
"@value": "language-tagged string C",
|
||
|
"@language": "en",
|
||
|
"@index": "C"
|
||
|
}
|
||
|
],
|
||
|
"http://example.com/property": [
|
||
|
{
|
||
|
"@id": "http://example.org/nodeWithoutIndexProp"
|
||
|
},
|
||
|
{
|
||
|
"@id": "http://example.org/nodeWithIndexProp",
|
||
|
"@index": "prop"
|
||
|
},
|
||
|
{
|
||
|
"@value": 3,
|
||
|
"@index": "prop"
|
||
|
},
|
||
|
{
|
||
|
"@value": true,
|
||
|
"@index": "prop"
|
||
|
},
|
||
|
{
|
||
|
"@value": false,
|
||
|
"@index": "prop"
|
||
|
},
|
||
|
{
|
||
|
"@value": "simple string no index"
|
||
|
},
|
||
|
{
|
||
|
"@value": "typed literal Prop",
|
||
|
"@type": "http://example.org/type",
|
||
|
"@index": "prop"
|
||
|
},
|
||
|
{
|
||
|
"@value": "language-tagged string Prop",
|
||
|
"@language": "en",
|
||
|
"@index": "prop"
|
||
|
},
|
||
|
{
|
||
|
"@value": "index using an array with just one element (automatic recovery)",
|
||
|
"@index": "prop"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|