From: Stephen H. <the...@gm...> - 2011-05-12 19:57:53
|
I have been looking around online in various places, and have noted that no documentation exists for POSTing a SPARQL query to an RDFIO sparql endpoint on a SMW wiki from an external program. It is mentioned on one website I saw that Bioclipse does this, and the RDFIO source code hints at the ability, but it is not documented how to do it. I would like to be able to make a SPARQL query against the RDFIO Sparql Endpoing in my SMW Wiki via a remote HTTP POST. I am wondering: • How would I HTTP POST the query? (What are the possible parameters) • What are the necessary parameters that need to be passed? • How does the endpoint expect the query to be formatted? (i.e. Just as plaintext within a “query” parameter to the POST?) • How should I expect the results returned? (Can I pass a parameter to get RDF/XML, or an XML result set returned just like in the special page?) Thanks, Stephen |