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