aboutsummaryrefslogtreecommitdiffstats
path: root/tests/JSONLDTests/toRdf-0063-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-0063-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-0063-in.jsonld')
-rw-r--r--tests/JSONLDTests/toRdf-0063-in.jsonld21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/JSONLDTests/toRdf-0063-in.jsonld b/tests/JSONLDTests/toRdf-0063-in.jsonld
new file mode 100644
index 00000000..2a33783d
--- /dev/null
+++ b/tests/JSONLDTests/toRdf-0063-in.jsonld
@@ -0,0 +1,21 @@
+{
+ "@context": {
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"},
+ "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"},
+ "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"},
+ "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"},
+ "idprop": {"@id": "http://example.com/idprop", "@type": "@id" },
+ "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" },
+ "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" },
+ "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" }
+ },
+ "idlist": ["http://example.org/id"],
+ "datelist": ["2012-04-12"],
+ "idprop": {"@list": ["http://example.org/id"]},
+ "dateprop": {"@list": ["2012-04-12"]},
+ "idset": ["http://example.org/id"],
+ "dateset": ["2012-04-12"],
+ "idprop2": {"@set": ["http://example.org/id"]},
+ "dateprop2": {"@set": ["2012-04-12"]}
+}