- 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>
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 http://www.w3.org/2001/sw/DataAccess/proto-wd/sparcli.py v 1.1 2005/05/03 21:02:39 And using http://hathawaymix.org/Software/TCPWatch 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. http://www.w3.org/2000/10/swap/dbork/dbview.py Wish me luck... or better yet: update your server/service and save me the trouble! [00:00.000 - client connection from 127.0.0.1:48230] GET http://sparql.org/service?lang=SPARQL&query=PREFIX+dc%3A++++++% 3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E+SELECT+%3Fbook+% 3Ftitle+WHERE+%7B+%3Fbook+dc%3Atitle+%3Ftitle+%7D&graph-id=http%3A%2F% 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"?> <sparql xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns="http://www.w3.org/2001/sw/DataAccess/rf1/result" > <head> <variable name="book"/> <variable name="title"/> </head> <results> <result> <book uri="http://example.org/book/book1"/> <title>Harry Potter and the Philosopher's Stone</title> </result> <result> <book uri="http://example.org/book/book4"/> <title>Harry Potter and the Goblet of Fire</title> </result> <result> <book uri="http://example.org/book/book2"/> <title>Harry Potter and the Chamber of Secrets</title> </result> <result> <book uri="http://example.org/book/book3"/> <title>Harry Potter And The Prisoner Of Azkaban</title> </result> <result> <book uri="http://example.org/book/book5"/> <title>Harry Potter and the Order of the Phoenix</title> </result> </results> </sparql> [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