W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2005

toward HTTP traces for SPARQL

From: Dan Connolly <connolly@w3.org>
Date: Tue, 03 May 2005 16:09:24 -0500
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1115154564.28180.104.camel@localhost>

Summary: I can make traces of the protocols implemented
by Dave and Andy's DawgShows, but not the protocol
in the editor's WD, yet.

I wrote a little sparcli.py

 v 1.1 2005/05/03 21:02:39

And using 

I can get the traces below.

I have --sparqler and --rdflib options because they use
different parameter names.

I was hoping to get away with using other people's server-side
code, but I think I've reached the limit given what's out there,
and I'll have to pick up my old server code and work with that.


Wish me luck... or better yet: update your server/service
and save me the trouble!

[00:00.000 - client connection from]
GET http://sparql.org/service?lang=SPARQL&query=PREFIX+dc%3A++++++%
2Fsparql.net%2Fbooks HTTP/1.0
Host: sparql.org
User-agent: Python-urllib/2.1
Accept: application/xml

[00:00.178 - server connected]
HTTP/1.1 200 OK
Date: Tue, 03 May 2005 20:59:27 GMT
Server: Jetty/5.1.2 (Linux/2.4.20-30.8.legacy i386 java/1.4.1_02
Cache-Control: no-cache
Pragma: no-cache
X-Joseki-Server: Joseki-3.0-dev
Content-Type: application/xml
Connection: close

<?xml version="1.0"?>
  xmlns="http://www.w3.org/2001/sw/DataAccess/rf1/result" >
    <variable name="book"/>
    <variable name="title"/>
      <book uri="http://example.org/book/book1"/>
      <title>Harry Potter and the Philosopher's Stone</title>
      <book uri="http://example.org/book/book4"/>
      <title>Harry Potter and the Goblet of Fire</title>
      <book uri="http://example.org/book/book2"/>
      <title>Harry Potter and the Chamber of Secrets</title>
      <book uri="http://example.org/book/book3"/>
      <title>Harry Potter And The Prisoner Of Azkaban</title>
      <book uri="http://example.org/book/book5"/>
      <title>Harry Potter and the Order of the Phoenix</title>
[00:00.510 - server closed]

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 3 May 2005 21:09:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:47 UTC