diff tutorial/index.html @ 0:1e44d666ced1

Import site from parrot
author Chris Cannam
date Fri, 13 Oct 2017 09:23:49 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tutorial/index.html	Fri Oct 13 09:23:49 2017 +0100
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+<title>DBTune - Music-Related RDF</title>
+
+<style type="text/css" media="all">
+        @import url(style.css);
+</style>
+<link rel="meta" type="application/rdf+xml" title="FOAF" href="http://moustaki.org/foaf.rdf" />
+</head>
+
+<body>
+
+<h1 style="font-size: 250%;">RDF posting service</h1>
+
+<h2>Description</h2>
+<p>This service is just a small hack, allowing to post RDF and serve
+it from this server. This is just intended for tutorial purposes.
+</p>
+<p>
+To use it, you can can fill in the form below, or use <b>curl</b>
+at <b>http://dbtune.org/tutorial/dataset</b>, posting two fields: <b>name</b>
+and <b>turtle</b>.
+</p>
+
+<h2>Post it!</h2>
+<form method="POST" action="http://dbtune.org/tutorial/dataset">
+<p>
+<select name="type">
+<option value="ttl">RDF/Turtle</option>
+<option value="rdf">RDF/XML</option>
+</select>
+</p>
+<p>
+<textarea name="rdf" rows="30" cols="80">
+@prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;.
+@prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt;.
+@prefix tutorial: <http://dbtune.org/tutorial/resource/> .
+@prefix : &lt;#&gt;.
+
+tutorial:sinclp01
+    a foaf:Person;
+    foaf:name "Patrick Sinclair";
+    foaf:knows tutorial:humfrn01, tutorial:raimoy01;
+    foaf:interest <http://dbpedia.org/resource/Francesinha>, <http://dbpedia.org/resource/Semantic_Web> .
+</textarea>
+</p>
+<p>
+<input type="submit" name="press" value=" OK "/>
+</p>
+</form>
+
+<h2>Query it!</h2>
+<form method="POST" action="http://dbtune.org/tutorial/sparql/">
+<p>
+<textarea name="query" rows="30" cols="80">
+SELECT DISTINCT ?t
+WHERE
+{ [] a ?t }
+</textarea>
+</p>
+<p>
+<input type="submit" name="press" value=" OK "/>
+</p>
+</form>
+
+</body>
+
+</html>
+