27 lines
660 B
Text
27 lines
660 B
Text
|
{
|
||
|
"@context": {
|
||
|
"dc": "http://purl.org/dc/elements/1.1/",
|
||
|
"ex": "http://example.org/vocab#",
|
||
|
"ex:contains": {"@type": "@id"}
|
||
|
},
|
||
|
"@graph": [
|
||
|
{
|
||
|
"@id": "http://example.org/test/#library",
|
||
|
"@type": "ex:Library",
|
||
|
"ex:contains": "http://example.org/test#book"
|
||
|
},
|
||
|
{
|
||
|
"@id": "http://example.org/test#book",
|
||
|
"@type": "ex:Book",
|
||
|
"dc:contributor": "Writer",
|
||
|
"dc:title": "My Book",
|
||
|
"ex:contains": "http://example.org/test#chapter"
|
||
|
},
|
||
|
{
|
||
|
"@id": "http://example.org/test#chapter",
|
||
|
"@type": "ex:Chapter",
|
||
|
"dc:description": "Fun",
|
||
|
"dc:title": "Chapter One"
|
||
|
}
|
||
|
]
|
||
|
}
|