aboutsummaryrefslogtreecommitdiffstats
path: root/tests/JSONLDTests/toRdf-0052-in.jsonld
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-11-11 14:00:49 +0100
committerDavid Robillard <d@drobilla.net>2019-05-25 11:15:50 +0200
commit5da18484b9af2406caff5f0daeeb493ead13fc70 (patch)
treeaf0d9f683d434c828d14b10b81f33355b1a74fd2 /tests/JSONLDTests/toRdf-0052-in.jsonld
parentd14838cf7217d27e499908fe324ebf4cd7863ed8 (diff)
downloadserd-5da18484b9af2406caff5f0daeeb493ead13fc70.tar.gz
serd-5da18484b9af2406caff5f0daeeb493ead13fc70.tar.bz2
serd-5da18484b9af2406caff5f0daeeb493ead13fc70.zip
Add JSON-LD test suite
Diffstat (limited to 'tests/JSONLDTests/toRdf-0052-in.jsonld')
-rw-r--r--tests/JSONLDTests/toRdf-0052-in.jsonld39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/JSONLDTests/toRdf-0052-in.jsonld b/tests/JSONLDTests/toRdf-0052-in.jsonld
new file mode 100644
index 00000000..d081e7fb
--- /dev/null
+++ b/tests/JSONLDTests/toRdf-0052-in.jsonld
@@ -0,0 +1,39 @@
+{
+ "@context": {
+ "dc": "http://purl.org/dc/elements/1.1/",
+ "ex": "http://example.org/vocab#",
+ "ex:authored": {
+ "@type": "@id"
+ },
+ "ex:contains": {
+ "@type": "@id"
+ },
+ "foaf": "http://xmlns.com/foaf/0.1/",
+ "xsd": "http://www.w3.org/2001/XMLSchema#"
+ },
+ "@graph": [
+ {
+ "@id": "http://example.org/test#chapter",
+ "dc:description": "Fun",
+ "dc:title": "Chapter One"
+ },
+ {
+ "@id": "http://example.org/test#jane",
+ "ex:authored": "http://example.org/test#chapter",
+ "foaf:name": "Jane"
+ },
+ {
+ "@id": "http://example.org/test#john",
+ "foaf:name": "John"
+ },
+ {
+ "@id": "http://example.org/test#library",
+ "ex:contains": {
+ "@id": "http://example.org/test#book",
+ "dc:contributor": "Writer",
+ "dc:title": "My Book",
+ "ex:contains": "http://example.org/test#chapter"
+ }
+ }
+ ]
+} \ No newline at end of file