Create a gist now

Instantly share code, notes, and snippets.

Example of a Journal entry in the triple store
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Raptor Graph Serialisation</title>
</head>
<body>
<table id="triples" border="1">
<tr>
<th>Subject</th>
<th>Predicate</th>
<th>Object</th>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#share-scope">http://example.org/terms#share-scope</a></span></td>
<td><span class="literal"><span class="value">private</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#activity_id">http://example.org/terms#activity_id</a></span></td>
<td><span class="literal"><span class="value">4b1f8eabf7c3f9304e0ed14d2d3d3ea8f4eb6f50</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#title_set_by_user">http://example.org/terms#title_set_by_user</a></span></td>
<td><span class="literal"><span class="value">1</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#title">http://example.org/terms#title</a></span></td>
<td><span class="literal"><span class="value">Measure Activity</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#activity">http://example.org/terms#activity</a></span></td>
<td><span class="literal"><span class="value">org.laptop.Measure</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#description">http://example.org/terms#description</a></span></td>
<td><span class="literal"><span class="value">Orci justo et nullam eni, senectus commodo. Justo. Sociosqu massa, elementum ultrices primis odio diam et fames sociis diam elit nibh quis duis. Etiam ac ve mattis per, mauris, viverra aliquet ridiculus. Sodales amet per. Tempor nibh, arcu laoreet ut. Massa habitasse quisque pellentesque gravida purus parturient orci purus vivamus facilisis interdum interdum auctor. Hymenaeos. Dis phasellus. Primis sed diam eu turpis praesent condimentum. Etiam ut augue. Nisl etiam. Vitae fringilla scelerisque consequat duis dis. Semper conubia posuere habitant turpis taciti conubia, eni, pulvinar natoque aliquet pede duis parturient. Eget, cras euismod semper neque ullamcorper suscipit amet.</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#uid">http://example.org/terms#uid</a></span></td>
<td><span class="literal"><span class="value">113477d3-33e0-4a78-a11c-00479d323a2d</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#icon-color">http://example.org/terms#icon-color</a></span></td>
<td><span class="literal"><span class="value">#00588C,#00A0FF</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#timestamp">http://example.org/terms#timestamp</a></span></td>
<td><span class="literal"><span class="value">1320229774</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#mime_type">http://example.org/terms#mime_type</a></span></td>
<td><span class="literal"><span class="value">text/plain</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#tags">http://example.org/terms#tags</a></span></td>
<td><span class="literal"><span class="value">interdum, mi, orci</span></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">http://www.w3.org/1999/02/22-rdf-syntax-ns#type</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#DSObject">http://example.org/terms#DSObject</a></span></td>
</tr>
<tr class="triple">
<td><span class="uri"><a href="http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d">http://example.org/resource/113477d3-33e0-4a78-a11c-00479d323a2d</a></span></td>
<td><span class="uri"><a href="http://example.org/terms#mtime">http://example.org/terms#mtime</a></span></td>
<td><span class="literal"><span class="value">2011-11-02T11:29:34.649457</span></span></td>
</tr>
</table>
<p>Total number of triples: <span class="count">13</span>.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment