aboutsummaryrefslogtreecommitdiffstats
path: root/tests/JSONLDTests/toRdf-0027-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-0027-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-0027-in.jsonld')
-rw-r--r--tests/JSONLDTests/toRdf-0027-in.jsonld30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/JSONLDTests/toRdf-0027-in.jsonld b/tests/JSONLDTests/toRdf-0027-in.jsonld
new file mode 100644
index 00000000..920dcb82
--- /dev/null
+++ b/tests/JSONLDTests/toRdf-0027-in.jsonld
@@ -0,0 +1,30 @@
+{
+ "@context": {
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+ "ex": "http://example.org/",
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "ex:locatedIn": {"@type": "@id"},
+ "ex:hasPopulaton": {"@type": "xsd:integer"},
+ "ex:hasReference": {"@type": "@id"}
+ },
+ "@graph": [
+ {
+ "@id": "http://example.org/ParisFact1",
+ "@type": "rdf:Graph",
+ "@graph": {
+ "@id": "http://example.org/location/Paris#this",
+ "ex:locatedIn": "http://example.org/location/France#this"
+ },
+ "ex:hasReference": ["http://www.britannica.com/", "http://www.wikipedia.org/", "http://www.brockhaus.de/"]
+ },
+ {
+ "@id": "http://example.org/ParisFact2",
+ "@type": "rdf:Graph",
+ "@graph": {
+ "@id": "http://example.org/location/Paris#this",
+ "ex:hasPopulation": 7000000
+ },
+ "ex:hasReference": "http://www.wikipedia.org/"
+ }
+ ]
+}