Getting started with SPARQLBot
by Michael Hausenblas
HOME: semsol.org/semcamp/sparqlbot
A hands-on introduction to SPARQLBot (SB), the Semantic Web command line tool.
SB is an IRC bot available on irc: #sparqlbot (as sparqlbot) and #foaf (as foafbot).
SB can load and query a bunch of Semantic Web formats, be it RDF-based or not (such as µF).
Many commands already exist from low-level stuff to specific tasks.
(ACTION) Launch your IRC client and connect to #sparqlbot
(ACTION) Copy and paste the following commands. Try one after the other and see what happens.
Have a look at the commands to see what happens behind the scenes.
General stuff
sparqlbot, helpsparqlbot, smush
sparqlbot, count graphs
sparqlbot, count triples
XFN
sparqlbot, load http://twitter.com/Scobleizersparqlbot, Scobleizer's contacts
sparqlbot, Dan Brickley is contact of Benjamin Nowack
FOAF
sparqlbot, load http://sw-app.org/mic.xhtmlsparqlbot, load (your foaf file URL here)
sparqlbot, my name
sparqlbot, my blog
sparqlbot, my depiction
sparqlbot, mhausenblas' homepage
sparqlbot, mhausenblas knows bengee
sparqlbot, mhausenblas x-knows-y ?whom
sparqlbot, mhausenblas x-knows-y-nick ?whom
RSS and AtomOwl based news
sparqlbot, load http://rss.slashdot.org/Slashdot/slashdotsparqlbot, news about
sparqlbot, load http://riese.joanneum.at/updates
sparqlbot, whatsup prices
Semantic Web FAQ
sparqlbot, load http://www.w3.org/RDF/FAQsparqlbot, faq SPARQL
sparqlbot, faq SKOS
LastFM recently listened
sparqlbot, load http://dbtune.org/last-fm/moustakisparqlbot, moustaki's last tracks
Geonames-based location on Google map
sparqlbot, geo-load Viennasparqlbot, where is Vienna
sparqlbot, list places Poland
FOAF-based person's geo-home (location on Google map)
sparqlbot, load http://sw-app.org/mic.xhtmlsparqlbot, mhausenblas's geo-home
Geonames-based pictures from flickr
sparqlbot, geo-load Romesparqlbot, pictures from Rome
SIOC-based blog post query
sparqlbot, load http://community.linkeddata.org/dataspace/mhausenblas/weblog/Michael%27s%20Weblog/sioc.rdfsparqlbot, query DELETE FROM http://community.linkeddata.org/dataspace/mhausenblas/weblog/Michael%27s%20Weblog/sioc.rdf
DOAP-based project description
sparqlbot, sf-load clispsparqlbot, describe project clisp
Exif data
sparqlbot, load http://www.kanzaki.com/test/exif2rdf?u=http%3A%2F%2Fsw.joanneum.at%2Frammx%2Fusecases%2Fexample%2Fch_example.jpgsparqlbot, when was http://sw.joanneum.at/rammx/usecases/example/ch_example.jpg taken
