replace graph example diagram with an SVG version
authorRichard Cyganiak <richard@cyganiak.de>
Mon, 14 May 2012 19:26:19 +0100
changeset 368 6b719429a704
parent 367 360f854fcfa4
child 369 bd8ccb4a625c
replace graph example diagram with an SVG version
rdf-concepts/Graph-ex.gif
rdf-concepts/index.html
rdf-concepts/rdf-graph.png
rdf-concepts/rdf-graph.svg
Binary file rdf-concepts/Graph-ex.gif has changed
--- a/rdf-concepts/index.html	Mon May 14 10:14:27 2012 -0400
+++ b/rdf-concepts/index.html	Mon May 14 19:26:19 2012 +0100
@@ -4,7 +4,8 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>RDF 1.1 Concepts and Abstract Syntax</title>
     <style type="text/css">
-.figure { font-weight: bold; text-align: center; }
+.figure { text-align: center; }
+.figure a[href]:hover { background: transparent; }
 table td, table th { border: 1px solid #ddd; padding: 0.2em 0.5em; }
     </style>
     <script src='../ReSpec.js/js/respec.js' class='remove'></script>
@@ -173,7 +174,7 @@
     node-arc-node link; hence the term “graph”.</p>
 
     <div class="figure">
-      <img src="Graph-ex.gif" alt="image of the RDF triple comprising (subject, predicate, object)" />
+      <a href="rdf-graph.png"><img src="rdf-graph.svg" alt="An RDF graph with two nodes (Subject and Object) and a triple connecting them (Predicate)" /></a>
     </div>
 
     <p>There may be three kinds of <a title="node">nodes</a> in an
@@ -1136,6 +1137,7 @@
   <h2>Changes from RDF 2004</h2>
 
   <ul>
+    <li>2012-05-14: Replaced the example graph diagram in <a href="#data-model">Section 1.1</a> with a re-drawn SVG version, with support from Dominik Tomaszuk</li>
     <li>2012-05-10: New <a href="#conformance">Conformance section</a> to explain that this specification is not implemented directly, but through other specifications that use our definitions</li>
     <li>2012-05-10: Simplified <code><a>rdf:XMLLiteral</a></code>'s new value space slightly after feedback from Ivan Herman and Arnaud Le Hors.</li>
     <li>2012-05-10: Added an informative subsection on <a href="#vocabularies">RDF vocabularies and namespace IRIs</a>.</li>
Binary file rdf-concepts/rdf-graph.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-concepts/rdf-graph.svg	Mon May 14 19:26:19 2012 +0100
@@ -0,0 +1,19 @@
+<svg viewBox="0 -20.5 329 41" width="329" height="41" xmlns="http://www.w3.org/2000/svg">
+  <style type="text/css">
+ellipse, polyline { stroke-width: 1; stroke: black; }
+ellipse { fill: white; }
+polyline { fill: none; }
+text { fill: black; text-anchor: middle; font-family: Helvetica, sans-serif; }
+  </style>
+  <g transform="translate(55 0)">
+    <ellipse rx="54" ry="20"/><text y="5" font-size="16">Subject</text>
+  </g>
+  <g transform="translate(274 0)">
+    <ellipse rx="54" ry="20"/><text y="5" font-size="16">Object</text>
+  </g>
+  <g transform="translate(109 0)">
+    <text x="52" y="-5" font-size="16">Predicate</text>
+    <polyline points="0,0 109,0"/>
+    <polyline points="98,-5 110,0 98,5"/>
+  </g>
+</svg>