The Sun BabelFish Blog

Don't panic !

Wednesday Mar 08, 2006

twinkle, twinkle little star

Twinkle is a beautiful little java GUI for playing with Sparql. Load a little RDF file, write out a little query and see what results you get. This is an excellent tool for prototyping an ontology as well as for learning Sparql. Many thanks to Leigh Dodds .

Anyone playing with the semantic web should of course have the python cwm installed on their computer. With this one can convert any rdf/xml file into the much easier to read N3 format. The latest version of cwm 1.1.0rc2 also allows one to query a file using Sparql. Just use the command line:

cwm --n3 somerdf.n3 --sparql=simple.sparql

where simple.sparql is a file containing a Sparql query such as

SELECT ?a ?c
WHERE { ?a a ?c . }

One can do a lot more with cwm. The CVS repository has loads of interesting examples.

Anyway it is great to have these tools to play with, and compare. At present Twinkle a lot faster that cwm, but cwm can do inferencing. On the inferencing side I am sure Twinkle will soon catch up.

Comments:

Note on comments:

Post a Comment:
Comments are closed for this entry.

Search

Recent Entries

Navigation

Referers