Add namespace documents
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 04 Dec 2012 19:47:16 +0100
changeset 983 01738f6df556
parent 982 b84a657f139e
child 984 d7cf44fe51eb
Add namespace documents

This addresses issue #199.
ns/json-ld.html
ns/json-ld.jsonld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ns/json-ld.html	Tue Dec 04 19:47:16 2012 +0100
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <title>The JSON-LD Vocabulary</title>
+    <base href="http://www.w3.org/ns/json-ld" typeof="owl:Ontology" />
+    <link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet">
+    <style>
+      body {
+        background-image: none;
+      }
+    </style>
+  </head>
+  <body>
+    <p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72"></a></p>
+    <h1 property="rdfs:label">The JSON-LD Vocabulary</h1>
+    <p property="rdfs:comment">This is a vocabulary document and is used to achieve certain features of the JSON-LD language.</p>
+    <h2>Vocabulary Terms</h2>
+    <p>The vocabulary terms below constitute the complete JSON-LD vocabulary.</p>
+    <div resource="#context" typeof="rdf:Property">
+      <h3 property="rdfs:label">JSON-LD context</h3>
+      <p><code>http://www.w3.org/ns/json-ld#context</code></p>
+      <p property="rdfs:comment">This link relation is used to reference a JSON-LD context from a JSON document so that it can be interpreted as JSON-LD.</p>
+      <p>You can read more about this feature in the <a property="rdfs:seeAlso" href="http://www.w3.org/TR/json-ld-syntax/#referencing-contexts-from-json-documents">JSON-LD Syntax specification</a>.</p>
+      <link property="rdfs:isDefinedBy" href="" />
+    </div>
+    <p>&nbsp;</p>
+    <hr>
+    <p class="copyright">
+        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 2012
+        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup>
+        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
+        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
+        <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
+        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
+        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
+        <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
+      </p>
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ns/json-ld.jsonld	Tue Dec 04 19:47:16 2012 +0100
@@ -0,0 +1,26 @@
+{
+  "@context": {
+    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+    "label": "rdfs:label",
+    "description": "rdfs:comment",
+    "seeAlso": { "@id": "rdfs:seeAlso", "@type": "@id" },
+    "isDefinedBy": { "@id": "rdfs:isDefinedBy", "@type": "@id" },
+    "@language": "en"
+  },
+  "@graph": [
+    {
+      "@id": "http://www.w3.org/ns/json-ld",
+      "@type": "http://www.w3.org/2002/07/owl#Ontology",
+      "label": "The JSON-LD Vocabulary",
+      "description": "This is a vocabulary document and is used to achieve certain features of the JSON-LD language."
+    },
+    {
+      "@id": "http://www.w3.org/ns/json-ld#context",
+      "@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
+      "label": "JSON-LD context",
+      "description": "This link relation is used to reference a JSON-LD context from a JSON document so that it can be interpreted as JSON-LD.",
+      "seeAlso": "http://www.w3.org/TR/json-ld-syntax/#referencing-contexts-from-json-documents",
+      "isDefinedBy": "http://www.w3.org/ns/json-ld"
+    }
+  ]
+}