Home | Trees | Indices | Help |
|
---|
|
object --+ | Wrapper.SPARQLWrapper --+ | SPARQLWrapper2
Subclass of Wrapper that works with a JSON SELECT return result only. The query result is automatically set to a Bindings instance. Makes the average query processing a bit simpler...
|
|||
|
|||
|
|||
Bindings instance |
|
||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Class encapsulating a full SPARQL call. In contrast to the SPARQLWrapper superclass, the return format cannot be set (it is defaulted to JSON).
|
Set the return format (overriding the inherited method). This method does nothing; this class instance should work with JSON only. The method is defined just to avoid possible errors by erroneously setting the return format. When using this class, the user can safely ignore this call.
|
Execute the query and do an automatic conversion. Exceptions can be raised if either the URI is wrong or the HTTP sends back an error. The usual urllib2 exceptions are raised, which cover possible SPARQL errors, too. If the query type is not SELECT, the method falls back to the corresponding method in the superclass.
|
This is here to override the inherited method; it is equivalent to query. If the query type is not SELECT, the method falls back to the corresponding method in the superclass.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 18 09:55:02 2019 | http://epydoc.sourceforge.net |