Find file
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (88 sloc) 4.32 KB
<!DOCTYPE html>
<link rel="stylesheet" href="" />
<link rel="stylesheet" href="style.css" />
<div id="info">
Contact: <a href="">Michael Hausenblas</a> |
Last update: 2012-08-02 |
Source: <a href="">GitHub repo</a> |
<div id="top">
A simple online <a href="" target="_new" title="Turtle - Terse RDF Triple Language">RDF Turtle</a> editor that allows you to render an RDF graph visually, restrict to sub-graphs via SPARQL and to export the visualisation as SVG. Check out the <a href="" title="Introducing Turtled - YouTube" target="_new">5min screen cast</a> to get started ...
<div id="main">
<div id="in">
<div id="in-support">
<span class="ctrl-item" id="examples" title="click to show/hide"><img src="img/examples.png" alt="Examples" id="img-examples" /> Examples ...</span>
<span class="ctrl-item"><a href="" target="_new" title="A Quick Tutorial on the Turtle RDF Serialization">Turtle tutorial ...</a></span>
<span class="ctrl-item"><a href="" target="_new" title="namespace lookup for RDF developers">Prefixes ...</a></span>
<div id="examples-sel">
<span id="ex1" title="Two people with foaf:knows ...">Mini social network (FOAF) </span> -
<span id="ex2" title="A person who is the dc:author of an article ...">Authorship (Dublin Core) </span> -
<span id="ex3" title="A person's location ...">Location (Geo) </span>
<div id="currententry"></div>
<textarea id="tinput" rows="15" cols="70" title="Enter some valid RDF Turtle here and hit the 'Visualise!' button below ...">
@prefix rdf: <> .
@prefix rdfs: <> .
@prefix dc: <> .
@prefix foaf: <> .
@prefix schema: <> .
@prefix : <> .
:x a schema:Thing ;
rdfs:label "a thing" ;
<div id="status">Status: waiting for user input</div>
<div id="in-ctrl">
<button id="vis">Visualise!</button>
<button id="save">Save ...</button><span id="entries"></span>
<div id="restrict" title="click to show/hide"><img src="img/restrict.png" alt="Restrict" id="img-restrict" />Restrict ...</div>
<div id="restrictions">
The SPARQL CONSTRUCT below, is applied to the RDF Turtle input before rendering.
If you're unfamiliar with SPARQL CONSTRUCT queries, have a look at Olaf Hartig's <a href="" target="_new" title="An Introduction to SPARQL and Queries over Linked Data">tutorial</a>.
<textarea id="sinput" rows="8" cols="70" title="Enter a valid SPARQL CONSTRUCT query here that will be applied to the input ...">
PREFIX rdf: <>
<> rdf:type ?o .
<> rdf:type ?o .
<div id="out-support">
<button id="svgexport">Export SVG ...</button>
<span id="stats" title="Overall RDF Turtle statistics"></span>
<strong>Labels:</strong><span id="prefixes"><input id="useprefixes" type="checkbox" checked="checked" /> use prefixes</span>
<strong>Rendering:</strong> <span class="ctrl-item" id="labels" title="click to switch rendering">full</span>
<div id="out"></div>
<div id="prefixesused"></div>
<div id="ack">
<a href="" title="Digital Enterprise Research Institute (DERI)"><img src="img/deri-logo.png" alt="DERI" /></a>
<a href="" title="EC FP7 Linked Open Data (LOD) Around-The-Clock Support Action"><img src="img/latc-logo.png" alt="LATC" /></a>
<script src="jquery-1.7.2.min.js"></script>
<script src="vivagraph.min.js"></script>
<script src="rdf_store_min.js"></script>
<script src="json2.js"></script>
<script src="examples.js"></script>
<script src="prefixes.js"></script>
<script src="turtled.js"></script>