annotate tutorial/index.html @ 1:2d859f5e3676

ClioPatria instances now have path prefixes that match those of the instance within the main server, so that internal links work
author Chris Cannam
date Tue, 31 Oct 2017 11:47:10 +0000
parents 1e44d666ced1
children
rev   line source
Chris@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Chris@0 2
Chris@0 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Chris@0 4
Chris@0 5 <head>
Chris@0 6 <title>DBTune - Music-Related RDF</title>
Chris@0 7
Chris@0 8 <style type="text/css" media="all">
Chris@0 9 @import url(style.css);
Chris@0 10 </style>
Chris@0 11 <link rel="meta" type="application/rdf+xml" title="FOAF" href="http://moustaki.org/foaf.rdf" />
Chris@0 12 </head>
Chris@0 13
Chris@0 14 <body>
Chris@0 15
Chris@0 16 <h1 style="font-size: 250%;">RDF posting service</h1>
Chris@0 17
Chris@0 18 <h2>Description</h2>
Chris@0 19 <p>This service is just a small hack, allowing to post RDF and serve
Chris@0 20 it from this server. This is just intended for tutorial purposes.
Chris@0 21 </p>
Chris@0 22 <p>
Chris@0 23 To use it, you can can fill in the form below, or use <b>curl</b>
Chris@0 24 at <b>http://dbtune.org/tutorial/dataset</b>, posting two fields: <b>name</b>
Chris@0 25 and <b>turtle</b>.
Chris@0 26 </p>
Chris@0 27
Chris@0 28 <h2>Post it!</h2>
Chris@0 29 <form method="POST" action="http://dbtune.org/tutorial/dataset">
Chris@0 30 <p>
Chris@0 31 <select name="type">
Chris@0 32 <option value="ttl">RDF/Turtle</option>
Chris@0 33 <option value="rdf">RDF/XML</option>
Chris@0 34 </select>
Chris@0 35 </p>
Chris@0 36 <p>
Chris@0 37 <textarea name="rdf" rows="30" cols="80">
Chris@0 38 @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;.
Chris@0 39 @prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt;.
Chris@0 40 @prefix tutorial: <http://dbtune.org/tutorial/resource/> .
Chris@0 41 @prefix : &lt;#&gt;.
Chris@0 42
Chris@0 43 tutorial:sinclp01
Chris@0 44 a foaf:Person;
Chris@0 45 foaf:name "Patrick Sinclair";
Chris@0 46 foaf:knows tutorial:humfrn01, tutorial:raimoy01;
Chris@0 47 foaf:interest <http://dbpedia.org/resource/Francesinha>, <http://dbpedia.org/resource/Semantic_Web> .
Chris@0 48 </textarea>
Chris@0 49 </p>
Chris@0 50 <p>
Chris@0 51 <input type="submit" name="press" value=" OK "/>
Chris@0 52 </p>
Chris@0 53 </form>
Chris@0 54
Chris@0 55 <h2>Query it!</h2>
Chris@0 56 <form method="POST" action="http://dbtune.org/tutorial/sparql/">
Chris@0 57 <p>
Chris@0 58 <textarea name="query" rows="30" cols="80">
Chris@0 59 SELECT DISTINCT ?t
Chris@0 60 WHERE
Chris@0 61 { [] a ?t }
Chris@0 62 </textarea>
Chris@0 63 </p>
Chris@0 64 <p>
Chris@0 65 <input type="submit" name="press" value=" OK "/>
Chris@0 66 </p>
Chris@0 67 </form>
Chris@0 68
Chris@0 69 </body>
Chris@0 70
Chris@0 71 </html>
Chris@0 72