marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject [46/55] MARMOTTA-106: renamed sesame-rio modules
Date Thu, 21 Feb 2013 15:30:44 GMT
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-in.jsonld
new file mode 100644
index 0000000..d769f66
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-in.jsonld
@@ -0,0 +1,30 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": [
+    {
+      "@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"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-out.jsonld
new file mode 100644
index 0000000..5435695
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0001-out.jsonld
@@ -0,0 +1,20 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#library",
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "@type": "ex:Book",
+    "dc:contributor": "Writer",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "@type": "ex:Chapter",
+      "dc:description": "Fun",
+      "dc:title": "Chapter One"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-frame.jsonld
new file mode 100644
index 0000000..16faf5b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-frame.jsonld
@@ -0,0 +1,13 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@type": "ex:Book",
+    "ex:contains": {
+      "@type": "ex:Chapter"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-in.jsonld
new file mode 100644
index 0000000..4174975
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-in.jsonld
@@ -0,0 +1,31 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": [
+    {
+      "@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",
+      "ex:act": "ex:ActOne"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-out.jsonld
new file mode 100644
index 0000000..241e10f
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0002-out.jsonld
@@ -0,0 +1,21 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#library",
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "@type": "ex:Book",
+    "dc:contributor": "Writer",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "@type": "ex:Chapter",
+      "dc:description": "Fun",
+      "dc:title": "Chapter One",
+      "ex:act": "ex:ActOne"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-frame.jsonld
new file mode 100644
index 0000000..9da49cf
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-frame.jsonld
@@ -0,0 +1,7 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:DoesNotExist"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-in.jsonld
new file mode 100644
index 0000000..d769f66
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-in.jsonld
@@ -0,0 +1,30 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": [
+    {
+      "@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"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-out.jsonld
new file mode 100644
index 0000000..ec747fa
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0003-out.jsonld
@@ -0,0 +1 @@
+null
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-frame.jsonld
new file mode 100644
index 0000000..81b9319
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-frame.jsonld
@@ -0,0 +1,10 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    }
+  },
+  "@type": "ex:Library"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-in.jsonld
new file mode 100644
index 0000000..84a8f8c
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-in.jsonld
@@ -0,0 +1,29 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    }
+  },
+  "@id": [
+    {
+      "@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"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-out.jsonld
new file mode 100644
index 0000000..5435695
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0004-out.jsonld
@@ -0,0 +1,20 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#library",
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "@type": "ex:Book",
+    "dc:contributor": "Writer",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "@type": "ex:Chapter",
+      "dc:description": "Fun",
+      "dc:title": "Chapter One"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-frame.jsonld
new file mode 100644
index 0000000..df6e66e
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-frame.jsonld
@@ -0,0 +1,19 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@explicit": true,
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@explicit": true,
+    "@type": "ex:Book",
+    "dc:title": {},
+    "ex:contains": {
+      "@explicit": true,
+      "@type": "ex:Chapter",
+      "dc:title": {},
+      "ex:null": {}
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-in.jsonld
new file mode 100644
index 0000000..d769f66
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-in.jsonld
@@ -0,0 +1,30 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": [
+    {
+      "@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"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-out.jsonld
new file mode 100644
index 0000000..4bcb6c2
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0005-out.jsonld
@@ -0,0 +1,19 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#library",
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "@type": "ex:Book",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "@type": "ex:Chapter",
+      "dc:title": "Chapter One",
+      "ex:null": null
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-frame.jsonld
new file mode 100644
index 0000000..16faf5b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-frame.jsonld
@@ -0,0 +1,13 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@type": "ex:Book",
+    "ex:contains": {
+      "@type": "ex:Chapter"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-in.jsonld
new file mode 100644
index 0000000..d769f66
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-in.jsonld
@@ -0,0 +1,30 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": [
+    {
+      "@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"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-out.jsonld
new file mode 100644
index 0000000..5435695
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0006-out.jsonld
@@ -0,0 +1,20 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#library",
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "@type": "ex:Book",
+    "dc:contributor": "Writer",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "@type": "ex:Chapter",
+      "dc:description": "Fun",
+      "dc:title": "Chapter One"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-frame.jsonld
new file mode 100644
index 0000000..16faf5b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-frame.jsonld
@@ -0,0 +1,13 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Library",
+  "ex:contains": {
+    "@type": "ex:Book",
+    "ex:contains": {
+      "@type": "ex:Chapter"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-in.jsonld
new file mode 100644
index 0000000..94c462f
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-in.jsonld
@@ -0,0 +1,33 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": [
+    {
+      "@id": "http://example.org/test/#library",
+      "@type": [
+        "ex:Library",
+        "ex:Building"
+      ],
+      "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"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-out.jsonld
new file mode 100644
index 0000000..2c521de
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0007-out.jsonld
@@ -0,0 +1,23 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#library",
+  "@type": [
+    "ex:Library",
+    "ex:Building"
+  ],
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "@type": "ex:Book",
+    "dc:contributor": "Writer",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "@type": "ex:Chapter",
+      "dc:description": "Fun",
+      "dc:title": "Chapter One"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-frame.jsonld
new file mode 100644
index 0000000..b28c75b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-frame.jsonld
@@ -0,0 +1,14 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Example",
+  "ex:embedded": [],
+  "ex:literal": [],
+  "ex:mixed": [
+    {
+      "@embed": false
+    }
+  ],
+  "ex:single": []
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-in.jsonld
new file mode 100644
index 0000000..db75633
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-in.jsonld
@@ -0,0 +1,38 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": [
+    {
+      "@id": "http://example.org/test/#example",
+      "@type": "ex:Example",
+      "ex:embedded": {
+        "@id": "http://example.org/test#subject1"
+      },
+      "ex:literal": [
+        "str1",
+        "str2",
+        "str3"
+      ],
+      "ex:mixed": [
+        {
+          "@id": "http://example.org/test#iri1"
+        },
+        "literal1",
+        {
+          "@id": "http://example.org/test#iri2"
+        },
+        "literal2",
+        {
+          "@id": "http://example.org/test#subject2",
+          "ex:prop": "property"
+        }
+      ],
+      "ex:single": "single"
+    },
+    {
+      "@id": "http://example.org/test#subject1",
+      "ex:prop": "property"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-out.jsonld
new file mode 100644
index 0000000..5bb767f
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0008-out.jsonld
@@ -0,0 +1,34 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#example",
+  "@type": "ex:Example",
+  "ex:embedded": [
+    {
+      "@id": "http://example.org/test#subject1",
+      "ex:prop": "property"
+    }
+  ],
+  "ex:literal": [
+    "str1",
+    "str2",
+    "str3"
+  ],
+  "ex:mixed": [
+    {
+      "@id": "http://example.org/test#iri1"
+    },
+    "literal1",
+    {
+      "@id": "http://example.org/test#iri2"
+    },
+    "literal2",
+    {
+      "@id": "http://example.org/test#subject2"
+    }
+  ],
+  "ex:single": [
+    "single"
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-frame.jsonld
new file mode 100644
index 0000000..cead004
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-frame.jsonld
@@ -0,0 +1,27 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Example1",
+  "ex:p2": {
+    "@default": "custom-default"
+  },
+  "ex:p3": {
+    "@default": 3
+  },
+  "ex:p4": {
+    "@omitDefault": true
+  },
+  "ex:p5": {},
+  "ex:p6": {
+    "@type": "ex:Example2",
+    "ex:p3": {
+      "@default": 4
+    }
+  },
+  "ex:p7": [
+    {
+      "@type": "ex:Example3"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-in.jsonld
new file mode 100644
index 0000000..7cb3ac6
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-in.jsonld
@@ -0,0 +1,19 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": [
+    {
+      "@id": "http://example.org/test/#example1",
+      "@type": "ex:Example1",
+      "ex:p1": "non-default",
+      "ex:p6": {
+        "@id": "http://example.org/test/#example2"
+      }
+    },
+    {
+      "@id": "http://example.org/test/#example2",
+      "@type": "ex:Example2"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-out.jsonld
new file mode 100644
index 0000000..48afe98
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0009-out.jsonld
@@ -0,0 +1,17 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test/#example1",
+  "@type": "ex:Example1",
+  "ex:p1": "non-default",
+  "ex:p2": "custom-default",
+  "ex:p3": 3,
+  "ex:p5": null,
+  "ex:p6": {
+    "@id": "http://example.org/test/#example2",
+    "@type": "ex:Example2",
+    "ex:p3": 4
+  },
+  "ex:p7": []
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-frame.jsonld
new file mode 100644
index 0000000..a6cea2b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-frame.jsonld
@@ -0,0 +1,13 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/terms/",
+    "dc:creator": {
+      "@type": "@id"
+    },
+    "foaf": "http://xmlns.com/foaf/0.1/",
+    "ps": "http://purl.org/payswarm#"
+  },
+  "@id": "http://example.com/asset",
+  "@type": "ps:Asset",
+  "dc:creator": {}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-in.jsonld
new file mode 100644
index 0000000..ecc4cdb
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-in.jsonld
@@ -0,0 +1,15 @@
+{
+  "@context": {
+    "dc0": "http://purl.org/dc/terms/",
+    "dc:creator": {
+      "@type": "@id"
+    },
+    "foaf": "http://xmlns.com/foaf/0.1/",
+    "ps": "http://purl.org/payswarm#"
+  },
+  "@id": "http://example.com/asset",
+  "@type": "ps:Asset",
+  "dc:creator": {
+    "foaf:name": "John Doe"
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-out.jsonld
new file mode 100644
index 0000000..e91362d
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0010-out.jsonld
@@ -0,0 +1,12 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/terms/",
+    "dc:creator": {
+      "@type": "@id"
+    },
+    "ps": "http://purl.org/payswarm#"
+  },
+  "@id": "http://example.com/asset",
+  "@type": "ps:Asset",
+  "dc:creator": null
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-frame.jsonld
new file mode 100644
index 0000000..c219d40
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-frame.jsonld
@@ -0,0 +1,12 @@
+{
+  "@context": {
+    "ex": "http://www.example.com/#"
+  },
+  "@type": "ex:Thing",
+  "ex:embed": {
+    "@embed": true
+  },
+  "ex:noembed": {
+    "@embed": false
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-in.jsonld
new file mode 100644
index 0000000..d5df9e3
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-in.jsonld
@@ -0,0 +1,15 @@
+{
+  "@context": {
+    "ex": "http://www.example.com/#"
+  },
+  "@id": "ex:subject",
+  "@type": "ex:Thing",
+  "ex:embed": {
+    "@id": "ex:embedded",
+    "ex:title": "Embedded"
+  },
+  "ex:noembed": {
+    "@id": "ex:notembedded",
+    "ex:title": "Not Embedded"
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-out.jsonld
new file mode 100644
index 0000000..641a51e
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0011-out.jsonld
@@ -0,0 +1,14 @@
+{
+  "@context": {
+    "ex": "http://www.example.com/#"
+  },
+  "@id": "ex:subject",
+  "@type": "ex:Thing",
+  "ex:embed": {
+    "@id": "ex:embedded",
+    "ex:title": "Embedded"
+  },
+  "ex:noembed": {
+    "@id": "ex:notembedded"
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-frame.jsonld
new file mode 100644
index 0000000..2159726
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-frame.jsonld
@@ -0,0 +1,11 @@
+[
+  {
+    "@context": {
+      "sp": "http://smartplatforms.org/terms#"
+    },
+    "@type": "http://smartplatforms.org/terms#Medication"
+  },
+  {
+    "@type": "http://smartplatforms.org/terms#Fulfillment"
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-in.jsonld
new file mode 100644
index 0000000..d06cec5
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-in.jsonld
@@ -0,0 +1,20 @@
+{
+  "@id": [
+    {
+      "@id": "http://example.org/med-1",
+      "@type": "http://smartplatforms.org/terms#Medication",
+      "http://smartplatforms.org/terms#hasFulfillment": {
+        "@id": "http://example.org/fill-1"
+      },
+      "http://smartplatforms.org/terms#label": "Lisinopril"
+    },
+    {
+      "@id": "http://example.org/fill-1",
+      "@type": "http://smartplatforms.org/terms#Fulfillment",
+      "http://smartplatforms.org/terms#hasMedication": {
+        "@id": "http://example.org/med-1"
+      },
+      "http://smartplatforms.org/terms#label": "30 pills on 2/2/2011"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-out.jsonld
new file mode 100644
index 0000000..920dfca
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0012-out.jsonld
@@ -0,0 +1,24 @@
+[
+  {
+    "@context": {
+      "sp": "http://smartplatforms.org/terms#"
+    },
+    "@id": "http://example.org/med-1",
+    "@type": "sp:Medication",
+    "sp:hasFulfillment": {
+      "@id": "http://example.org/fill-1"
+    },
+    "sp:label": "Lisinopril"
+  },
+  {
+    "@context": {
+      "sp": "http://smartplatforms.org/terms#"
+    },
+    "@id": "http://example.org/fill-1",
+    "@type": "sp:Fulfillment",
+    "sp:hasMedication": {
+      "@id": "http://example.org/med-1"
+    },
+    "sp:label": "30 pills on 2/2/2011"
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-frame.jsonld
new file mode 100644
index 0000000..0637a08
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-frame.jsonld
@@ -0,0 +1 @@
+[]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-in.jsonld
new file mode 100644
index 0000000..e95cc1b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-in.jsonld
@@ -0,0 +1,18 @@
+{
+  "@id": [
+    {
+      "@id": "looker",
+      "canSee": [
+        {
+          "@id": "forgotten"
+        },
+        {
+          "@id": "spotted"
+        }
+      ]
+    },
+    {
+      "@id": "spotted"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-out.jsonld
new file mode 100644
index 0000000..c58f9cb
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0013-out.jsonld
@@ -0,0 +1,19 @@
+[
+  {
+    "@id": "forgotten"
+  },
+  {
+    "@id": "looker",
+    "canSee": [
+      {
+        "@id": "forgotten"
+      },
+      {
+        "@id": "spotted"
+      }
+    ]
+  },
+  {
+    "@id": "spotted"
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-frame.jsonld
new file mode 100644
index 0000000..a8b5073
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-frame.jsonld
@@ -0,0 +1,7 @@
+[
+  {
+    "@type": [
+      "Node"
+    ]
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-in.jsonld
new file mode 100644
index 0000000..86fb3bc
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-in.jsonld
@@ -0,0 +1,11 @@
+{
+  "@id": "a",
+  "@type": "Node",
+  "sees": {
+    "@id": "b",
+    "@type": "Node",
+    "sees": {
+      "remember_me": "This value should not disappear."
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-out.jsonld
new file mode 100644
index 0000000..ed0b011
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0014-out.jsonld
@@ -0,0 +1,17 @@
+[
+  {
+    "@id": "a",
+    "@type": "Node",
+    "sees": {
+      "@id": "b"
+    }
+  },
+  {
+    "@id": "b",
+    "@type": "Node",
+    "sees": {
+      "@id": "_:c14n0",
+      "remember_me": "This value should not disappear."
+    }
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-frame.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-frame.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-frame.jsonld
new file mode 100644
index 0000000..bfe8672
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-frame.jsonld
@@ -0,0 +1,227 @@
+[
+  {
+    "@context": {
+      "api": "http://smartplatforms.org/terms/api#",
+      "dcterms": "http://purl.org/dc/terms/",
+      "foaf": "http://xmlns.com/foaf/0.1/",
+      "owl": "http://www.w3.org/2002/07/owl#",
+      "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+      "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+      "sp": "http://smartplatforms.org/terms#",
+      "sp:abnormalInterpretation": {
+        "@type": "@id"
+      },
+      "sp:address": {
+        "@type": "@id"
+      },
+      "sp:alertLevel": {
+        "@type": "@id"
+      },
+      "sp:allergicReaction": {
+        "@type": "@id"
+      },
+      "sp:allergyExclusionName": {
+        "@type": "@id"
+      },
+      "sp:belongsTo": {
+        "@type": "@id"
+      },
+      "sp:bloodPressure": {
+        "@type": "@id"
+      },
+      "sp:bodyMassIndex": {
+        "@type": "@id"
+      },
+      "sp:bodyPosition": {
+        "@type": "@id"
+      },
+      "sp:bodySite": {
+        "@type": "@id"
+      },
+      "sp:category": {
+        "@type": "@id"
+      },
+      "sp:code": {
+        "@type": "@id"
+      },
+      "sp:created": {
+        "@type": "@id"
+      },
+      "sp:denominator": {
+        "@type": "@id"
+      },
+      "sp:diastolic": {
+        "@type": "@id"
+      },
+      "sp:drugAllergen": {
+        "@type": "@id"
+      },
+      "sp:drugClass": {
+        "@type": "@id"
+      },
+      "sp:drugClassAllergen": {
+        "@type": "@id"
+      },
+      "sp:drugName": {
+        "@type": "@id"
+      },
+      "sp:encounter": {
+        "@type": "@id"
+      },
+      "sp:encounterType": {
+        "@type": "@id"
+      },
+      "sp:facility": {
+        "@type": "@id"
+      },
+      "sp:foodAllergen": {
+        "@type": "@id"
+      },
+      "sp:frequency": {
+        "@type": "@id"
+      },
+      "sp:fulfillment": {
+        "@type": "@id"
+      },
+      "sp:hasStatement": {
+        "@type": "@id"
+      },
+      "sp:heartRate": {
+        "@type": "@id"
+      },
+      "sp:height": {
+        "@type": "@id"
+      },
+      "sp:labName": {
+        "@type": "@id"
+      },
+      "sp:labResult": {
+        "@type": "@id"
+      },
+      "sp:labSpecimenCollected": {
+        "@type": "@id"
+      },
+      "sp:labStatus": {
+        "@type": "@id"
+      },
+      "sp:maximum": {
+        "@type": "@id"
+      },
+      "sp:medicalRecordNumber": {
+        "@type": "@id"
+      },
+      "sp:medication": {
+        "@type": "@id"
+      },
+      "sp:method": {
+        "@type": "@id"
+      },
+      "sp:minimum": {
+        "@type": "@id"
+      },
+      "sp:narrativeResult": {
+        "@type": "@id"
+      },
+      "sp:nominalResult": {
+        "@type": "@id"
+      },
+      "sp:nonCriticalRange": {
+        "@type": "@id"
+      },
+      "sp:normalRange": {
+        "@type": "@id"
+      },
+      "sp:numerator": {
+        "@type": "@id"
+      },
+      "sp:ordinalResult": {
+        "@type": "@id"
+      },
+      "sp:organization": {
+        "@type": "@id"
+      },
+      "sp:oxygenSaturation": {
+        "@type": "@id"
+      },
+      "sp:participant": {
+        "@type": "@id"
+      },
+      "sp:person": {
+        "@type": "@id"
+      },
+      "sp:pharmacy": {
+        "@type": "@id"
+      },
+      "sp:problemName": {
+        "@type": "@id"
+      },
+      "sp:provenance": {
+        "@type": "@id"
+      },
+      "sp:provider": {
+        "@type": "@id"
+      },
+      "sp:quantitativeResult": {
+        "@type": "@id"
+      },
+      "sp:quantity": {
+        "@type": "@id"
+      },
+      "sp:quantityDispensed": {
+        "@type": "@id"
+      },
+      "sp:respiratoryRate": {
+        "@type": "@id"
+      },
+      "sp:severity": {
+        "@type": "@id"
+      },
+      "sp:specimenCollected": {
+        "@type": "@id"
+      },
+      "sp:systolic": {
+        "@type": "@id"
+      },
+      "sp:temperature": {
+        "@type": "@id"
+      },
+      "sp:translationFidelity": {
+        "@type": "@id"
+      },
+      "sp:valueAndUnit": {
+        "@type": "@id"
+      },
+      "sp:vitalName": {
+        "@type": "@id"
+      },
+      "sp:weight": {
+        "@type": "@id"
+      },
+      "spcode": "http://smartplatforms.org/terms/codes/",
+      "vcard": "http://www.w3.org/2006/vcard/ns#",
+      "vcard:adr": {
+        "@type": "@id"
+      },
+      "vcard:n": {
+        "@type": "@id"
+      },
+      "vcard:tel": {
+        "@type": "@id"
+      }
+    },
+    "@type": [
+      "http://smartplatforms.org/terms#Statement",
+      "http://smartplatforms.org/terms#Fulfillment",
+      "http://smartplatforms.org/terms#Alert",
+      "http://smartplatforms.org/terms#AllergyExclusion",
+      "http://smartplatforms.org/terms#Demographics",
+      "http://smartplatforms.org/terms#Problem",
+      "http://smartplatforms.org/terms#Medication",
+      "http://smartplatforms.org/terms#VitalSigns",
+      "http://smartplatforms.org/terms#MedicalRecord",
+      "http://smartplatforms.org/terms#LabResult",
+      "http://smartplatforms.org/terms#Allergy",
+      "http://smartplatforms.org/terms#Encounter"
+    ]
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-in.jsonld
new file mode 100644
index 0000000..fce8c8c
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-in.jsonld
@@ -0,0 +1,70 @@
+[
+  {
+    "@id": "http://localhost:7000/records/999888",
+    "@type": "http://smartplatforms.org/terms#MedicalRecord"
+  },
+  {
+    "@id": "http://localhost:7000/records/999888",
+    "http://smartplatforms.org/terms#hasStatement": {
+      "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6"
+    }
+  },
+  {
+    "@id": "_:uDkkVEva509",
+    "@type": "http://smartplatforms.org/terms#VitalSign"
+  },
+  {
+    "@id": "_:uDkkVEva509",
+    "http://smartplatforms.org/terms#vitalName": {
+      "@id": "_:uDkkVEva510"
+    }
+  },
+  {
+    "@id": "_:uDkkVEva509",
+    "http://smartplatforms.org/terms#value": "111.226458141"
+  },
+  {
+    "@id": "_:uDkkVEva509",
+    "http://smartplatforms.org/terms#unit": "mm[Hg]"
+  },
+  {
+    "@id": "_:uDkkVEva508",
+    "@type": "http://smartplatforms.org/terms#BloodPressure"
+  },
+  {
+    "@id": "_:uDkkVEva508",
+    "http://smartplatforms.org/terms#systolic": {
+      "@id": "_:uDkkVEva509"
+    }
+  },
+  {
+    "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6",
+    "http://smartplatforms.org/terms#bloodPressure": {
+      "@id": "_:uDkkVEva508"
+    }
+  },
+  {
+    "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6",
+    "@type": "http://smartplatforms.org/terms#VitalSigns"
+  },
+  {
+    "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6",
+    "http://smartplatforms.org/terms#belongsTo": {
+      "@id": "http://localhost:7000/records/999888"
+    }
+  },
+  {
+    "@id": "_:uDkkVEva510",
+    "http://purl.org/dc/terms/title": "Systolic blood pressure"
+  },
+  {
+    "@id": "_:uDkkVEva510",
+    "@type": "http://smartplatforms.org/terms#CodedValue"
+  },
+  {
+    "@id": "_:uDkkVEva510",
+    "http://smartplatforms.org/terms#code": {
+      "@id": "http://loinc.org/codes/8480-6"
+    }
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-out.jsonld
new file mode 100644
index 0000000..8c433b3
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-0015-out.jsonld
@@ -0,0 +1,44 @@
+[
+  {
+    "@context": {
+      "sp": "http://smartplatforms.org/terms#",
+      "sp:hasStatement": {
+        "@type": "@id"
+      }
+    },
+    "@id": "http://localhost:7000/records/999888",
+    "@type": "sp:MedicalRecord",
+    "sp:hasStatement": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6"
+  },
+  {
+    "@context": {
+      "dcterms": "http://purl.org/dc/terms/",
+      "sp": "http://smartplatforms.org/terms#",
+      "sp:belongsTo": {
+        "@type": "@id"
+      },
+      "sp:code": {
+        "@type": "@id"
+      }
+    },
+    "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6",
+    "@type": "sp:VitalSigns",
+    "sp:belongsTo": "http://localhost:7000/records/999888",
+    "sp:bloodPressure": {
+      "@id": "_:c14n0",
+      "@type": "sp:BloodPressure",
+      "sp:systolic": {
+        "@id": "_:c14n2",
+        "@type": "sp:VitalSign",
+        "sp:unit": "mm[Hg]",
+        "sp:value": "111.226458141",
+        "sp:vitalName": {
+          "@id": "_:c14n1",
+          "@type": "sp:CodedValue",
+          "dcterms:title": "Systolic blood pressure",
+          "sp:code": "http://loinc.org/codes/8480-6"
+        }
+      }
+    }
+  }
+]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-manifest.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-manifest.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-manifest.jsonld
new file mode 100644
index 0000000..f3567d1
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/frame-manifest.jsonld
@@ -0,0 +1,98 @@
+{
+   "@context": "http://json-ld.org/test-suite/context.jsonld",
+   "@id": "",
+   "@type": "jld:Manifest",
+   "rdfs:comment": "JSON-LD to Framing tests use object compare",
+   "name": "frame",
+   "sequence": [{
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "simple",
+      "input": "frame-0001-in.jsonld",
+      "frame": "frame-0001-frame.jsonld",
+      "expect": "frame-0001-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "reframe w/extra CURIE value",
+      "input": "frame-0002-in.jsonld",
+      "frame": "frame-0002-frame.jsonld",
+      "expect": "frame-0002-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "reframe (null)",
+      "input": "frame-0003-in.jsonld",
+      "frame": "frame-0003-frame.jsonld",
+      "expect": "frame-0003-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "reframe (type)",
+      "input": "frame-0004-in.jsonld",
+      "frame": "frame-0004-frame.jsonld",
+      "expect": "frame-0004-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "reframe (explicit)",
+      "input": "frame-0005-in.jsonld",
+      "frame": "frame-0005-frame.jsonld",
+      "expect": "frame-0005-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "reframe (non-explicit)",
+      "input": "frame-0006-in.jsonld",
+      "frame": "frame-0006-frame.jsonld",
+      "expect": "frame-0006-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "input has multiple types",
+      "input": "frame-0007-in.jsonld",
+      "frame": "frame-0007-frame.jsonld",
+      "expect": "frame-0007-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "array framing cases",
+      "input": "frame-0008-in.jsonld",
+      "frame": "frame-0008-frame.jsonld",
+      "expect": "frame-0008-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "default value",
+      "input": "frame-0009-in.jsonld",
+      "frame": "frame-0009-frame.jsonld",
+      "expect": "frame-0009-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "property CURIE conflict",
+      "input": "frame-0010-in.jsonld",
+      "frame": "frame-0010-frame.jsonld",
+      "expect": "frame-0010-out.jsonld"
+   }, {  
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "@embed",
+      "input": "frame-0011-in.jsonld",
+      "frame": "frame-0011-frame.jsonld",
+      "expect": "frame-0011-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "Array frame",
+      "input": "frame-0012-in.jsonld",
+      "frame": "frame-0012-frame.jsonld",
+      "expect": "frame-0012-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "Replace existing embed",
+      "input": "frame-0013-in.jsonld",
+      "frame": "frame-0013-frame.jsonld",
+      "expect": "frame-0013-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "Replace existing embed on 2nd pass",
+      "input": "frame-0014-in.jsonld",
+      "frame": "frame-0014-frame.jsonld",
+      "expect": "frame-0014-out.jsonld"
+   }, {
+      "@type": ["test:TestCase", "jld:FrameTest"],
+      "name": "Replace deeply-nested embed",
+      "input": "frame-0015-in.jsonld",
+      "frame": "frame-0015-frame.jsonld",
+      "expect": "frame-0015-out.jsonld"
+   }]
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-in.jsonld
new file mode 100644
index 0000000..39c6605
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-in.jsonld
@@ -0,0 +1,3 @@
+{
+  "@id": "http://example.org/test#example"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-out.jsonld
new file mode 100644
index 0000000..aa595db
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0001-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-in.jsonld
new file mode 100644
index 0000000..bdcb83c
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-in.jsonld
@@ -0,0 +1,14 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test#example1",
+  "ex:p": [
+    {
+      "@id": "http://example.org/test#example2"
+    },
+    {
+      "@id": "http://example.org/test#example2"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-out.jsonld
new file mode 100644
index 0000000..90ab0e4
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0002-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example1","http://example.org/vocab#p":{"@id":"http://example.org/test#example2"}},{"@id":"http://example.org/test#example2"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-in.jsonld
new file mode 100644
index 0000000..efdc7a8
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-in.jsonld
@@ -0,0 +1,6 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Foo"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-out.jsonld
new file mode 100644
index 0000000..1d7f491
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0003-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"_:c14n0","@type":"http://example.org/vocab#Foo"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-in.jsonld
new file mode 100644
index 0000000..b6d71c5
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-in.jsonld
@@ -0,0 +1,9 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@type": "ex:Foo",
+  "ex:embed": {
+    "@id": "http://example.org/test#example"
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-out.jsonld
new file mode 100644
index 0000000..1296996
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0004-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"_:c14n0","@type":"http://example.org/vocab#Foo","http://example.org/vocab#embed":{"@id":"http://example.org/test#example"}},{"@id":"http://example.org/test#example"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-in.jsonld
new file mode 100644
index 0000000..28264b9
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-in.jsonld
@@ -0,0 +1,10 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test#example",
+  "@type": "ex:Foo",
+  "ex:embed": {
+    "@type": "ex:Bar"
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-out.jsonld
new file mode 100644
index 0000000..308a71d
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0005-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"_:c14n0","@type":"http://example.org/vocab#Bar"},{"@id":"http://example.org/test#example","@type":"http://example.org/vocab#Foo","http://example.org/vocab#embed":{"@id":"_:c14n0"}}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-in.jsonld
new file mode 100644
index 0000000..122aa0b
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-in.jsonld
@@ -0,0 +1,10 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#"
+  },
+  "@id": "http://example.org/test#example",
+  "@type": [
+    "ex:Foo",
+    "ex:Bar"
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-out.jsonld
new file mode 100644
index 0000000..e909479
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0006-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example","@type":["http://example.org/vocab#Foo","http://example.org/vocab#Bar"]}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-in.jsonld
new file mode 100644
index 0000000..13fe150
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-in.jsonld
@@ -0,0 +1,12 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#",
+    "ex:foo": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": "http://example.org/test#example",
+  "@type": "ex:Foo",
+  "ex:foo": "ex:Bar"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-out.jsonld
new file mode 100644
index 0000000..d3a24f7
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0007-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example","@type":"http://example.org/vocab#Foo","http://example.org/vocab#foo":{"@id":"http://example.org/vocab#Bar"}},{"@id":"http://example.org/vocab#Bar"}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-in.jsonld
new file mode 100644
index 0000000..311c34d
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-in.jsonld
@@ -0,0 +1,20 @@
+{
+  "@context": {
+    "dc": "http://purl.org/dc/elements/1.1/",
+    "ex": "http://example.org/vocab#",
+    "ex:contains": {
+      "@type": "@id"
+    }
+  },
+  "@id": "http://example.org/test#library",
+  "ex:contains": {
+    "@id": "http://example.org/test#book",
+    "dc:contributor": "Writer",
+    "dc:title": "My Book",
+    "ex:contains": {
+      "@id": "http://example.org/test#chapter",
+      "dc:description": "Fun",
+      "dc:title": "Chapter One"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-out.jsonld
new file mode 100644
index 0000000..fd9b5d9
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0008-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#book","http://example.org/vocab#contains":{"@id":"http://example.org/test#chapter"},"http://purl.org/dc/elements/1.1/contributor":"Writer","http://purl.org/dc/elements/1.1/title":"My Book"},{"@id":"http://example.org/test#chapter","http://purl.org/dc/elements/1.1/description":"Fun","http://purl.org/dc/elements/1.1/title":"Chapter One"},{"@id":"http://example.org/test#library","http://example.org/vocab#contains":{"@id":"http://example.org/test#book"}}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-in.jsonld
new file mode 100644
index 0000000..ac24485
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-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#"
+  },
+  "@id": [
+    {
+      "@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

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-out.jsonld
new file mode 100644
index 0000000..5af067a
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0009-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#book","http://example.org/vocab#contains":{"@id":"http://example.org/test#chapter"},"http://purl.org/dc/elements/1.1/contributor":"Writer","http://purl.org/dc/elements/1.1/title":"My Book"},{"@id":"http://example.org/test#chapter","http://purl.org/dc/elements/1.1/description":"Fun","http://purl.org/dc/elements/1.1/title":"Chapter One"},{"@id":"http://example.org/test#jane","http://example.org/vocab#authored":{"@id":"http://example.org/test#chapter"},"http://xmlns.com/foaf/0.1/name":"Jane"},{"@id":"http://example.org/test#john","http://xmlns.com/foaf/0.1/name":"John"},{"@id":"http://example.org/test#library","http://example.org/vocab#contains":{"@id":"http://example.org/test#book"}}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-in.jsonld
new file mode 100644
index 0000000..c71bc96
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-in.jsonld
@@ -0,0 +1,11 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#",
+    "ex:validFrom": {
+      "@type": "xsd:dateTime"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": "http://example.org/test#example",
+  "ex:validFrom": "2011-01-25T00:00:00+0000"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-out.jsonld
new file mode 100644
index 0000000..62a7e90
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0010-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example","http://example.org/vocab#validFrom":{"@value":"2011-01-25T00:00:00+0000","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-in.jsonld
new file mode 100644
index 0000000..4beabc9
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-in.jsonld
@@ -0,0 +1,11 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#",
+    "ex:validFrom": {
+      "@type": "xsd:dateTime"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": "http://example.org/test#example",
+  "ex:validFrom": "2011-01-25T00:00:00Z"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-out.jsonld
new file mode 100644
index 0000000..cfa685c
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0011-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example","http://example.org/vocab#validFrom":{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-in.jsonld
new file mode 100644
index 0000000..3c04439
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-in.jsonld
@@ -0,0 +1,14 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#",
+    "ex:date": {
+      "@type": "xsd:dateTime"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": "http://example.org/test#example",
+  "ex:date": [
+    "2011-01-25T00:00:00Z",
+    "2011-01-25T00:00:00Z"
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-out.jsonld
new file mode 100644
index 0000000..a447093
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0012-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example","http://example.org/vocab#date":{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-in.jsonld
new file mode 100644
index 0000000..b49fac4
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-in.jsonld
@@ -0,0 +1,18 @@
+{
+  "@context": {
+    "ex": "http://example.org/vocab#",
+    "ex:date": {
+      "@type": "xsd:dateTime"
+    },
+    "ex:parent": {
+      "@type": "@id"
+    },
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": "http://example.org/test#example1",
+  "ex:date": "2011-01-25T00:00:00Z",
+  "ex:embed": {
+    "@id": "http://example.org/test#example2",
+    "ex:parent": "http://example.org/test#example1"
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-out.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-out.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-out.jsonld
new file mode 100644
index 0000000..42a9ed6
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0013-out.jsonld
@@ -0,0 +1 @@
+[{"@id":"http://example.org/test#example1","http://example.org/vocab#date":{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"http://example.org/vocab#embed":{"@id":"http://example.org/test#example2"}},{"@id":"http://example.org/test#example2","http://example.org/vocab#parent":{"@id":"http://example.org/test#example1"}}]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/21a28cf8/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0014-in.jsonld
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0014-in.jsonld b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0014-in.jsonld
new file mode 100644
index 0000000..2998d9c
--- /dev/null
+++ b/commons/sesame-tools-rio-jsonld/src/test/resources/org/apache/marmotta/commons/sesame/rio/jsonld/normalize-0014-in.jsonld
@@ -0,0 +1,16 @@
+{
+  "@context": {
+    "d": "http://purl.org/dc/elements/1.1/",
+    "e": "http://example.org/vocab#",
+    "e:double-zero": {
+      "@type": "xsd:double"
+    },
+    "f": "http://xmlns.com/foaf/0.1/",
+    "xsd": "http://www.w3.org/2001/XMLSchema#"
+  },
+  "@id": "http://example.org/test",
+  "e:bool": true,
+  "e:double": 1.23,
+  "e:double-zero": 0,
+  "e:int": 123
+}
\ No newline at end of file


Mime
View raw message