Re: A present for Guy Fawkes night

On Fri, 2004-11-05 at 13:39 +0000, Seaborne, Andy wrote:
> Simon and I were discussing interoperability testing after the telecon.
> 
> It is traditional on Bonfire Night (Guy Fawkes night) in the UK to let
> off fireworks to celebrate a failed attempt to blow up the houses of
> Parliament.  Fireworks include SPARQLers.  So it is with some
> trepidation, I have put up a SPARQL server based on some rather unproven
> code.

Nifty...

> What works: (and I use "works" in the loosest possible sense)
> + SELECT (RDF results only),

Ah... RDF descriptions of the result set, not the matching
subset? Oh...

>  CONSTRUCT (maybe)

Is that how to get the matching subset? I guess I can try
it and see... ugh... escaping queries by hand is a pain...
do you offer a forms-based interface? I don't see one...
but I can make one easily enough (attached).

Sure enough... I can get...

<http://example.org/book/book5>
      <http://purl.org/dc/elements/1.1/title>
              "Harry Potter and the Order of the Phoenix" .

with

CONSTRUCT *
WHERE ( $x $p $v) AND $v =~ /Phoenix/


This is kinda fun!


> Protocol:
> 
> HTTP request must specify the language (lang=) and the query string
> (query=)
> Languages are "SPARQL" or "http://jena.hpl.hp.com/2003/07/query/SPARQL"
>
> In a browser, the results will come back text/plain for simple display.
> You can ask for application/rdf+xml as well.

Now there's a front-side-of-one-page protocol spec if I've ever
seen one!


> The code is in 
> cvs.sourceforge.net:/cvsroot/joseki/Joseki3
>   and
> cvs.sourceforge.net:/cvsroot/jena2/BRQL (but the query engine is called
> ARQ).
> 
> 	Andy
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Friday, 5 November 2004 14:28:06 UTC