Mercurial > hg > dbtune-site
view tutorial/index.html @ 19:1e79ce3ff5f5 tip
Simplify and cut some non-working resource paths
author | Chris Cannam |
---|---|
date | Wed, 08 Nov 2017 15:27:23 +0000 |
parents | 1e44d666ced1 |
children |
line wrap: on
line source
<!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: <http://xmlns.com/foaf/0.1/>. @prefix owl: <http://www.w3.org/2002/07/owl#>. @prefix tutorial: <http://dbtune.org/tutorial/resource/> . @prefix : <#>. 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>