openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum closing down
This forum will be closing down due to extensive spamming activities. As a first step, registration of new members has been disabled. Existing members will be able to use the forum for now, but please consider using the sesame-general mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 2
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 2417 times and has 1 reply Next Thread
Aug 5, 2007 10:34:29 PM

vanatteveldt
Regular



Joined: Feb 5, 2006
Posts: 33
Status: Offline

pySesame2.py - python bindings for Sesame2 Reply to this Post
Reply with Quote

Dear all,

I've started writing a python library for connecting with a Sesame2 database. The library is functional and python DB API (2) compliant, but is still limited in the Sesame functionality.

Download pySesame2.py (BSD2 license)

Currently, all you can do is extract all data as RDF/XML and execute a SeRQL query and retrieve the results as a table. Adding other stuff (other query result types, query languages, PUT and DELETE) should be quite simple but this was the functionality I needed so if nobody's asking it might be a while before I get down to adding more.

All comments welcome!

-- Wouter
Show Printable Version of Post        Hidden to Guest    http://www.vanatteveldt.com [Link] Report threatening or abusive post: please login first  Go to top 
Nov 9, 2007 7:47:46 PM

westpjc
Visitor



Joined: Nov 9, 2007
Posts: 2
Status: Offline

Re: pySesame2.py - python bindings for Sesame2 Reply to this Post
Reply with Quote

Thanks for you work here. I'm looking at this and a couple of other python sparql endpoint clients to include in RDFAlchemy

I like the use of the binary response but mostly for the iterable which I can extend to genaric query results. Looks like I'll need a combo of your code and some other to get Sesame or Jena endpoints but only this will update the graph (again with some extensions)

Questions:
Is there more updated code than the link?

Is this related to the original pysesame for 1.x?

Does this code have a development area?

--
Phil Cooper
Show Printable Version of Post        Hidden to Guest    http://www.openvest.com [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread] [Post new Thread]