|
JSON = ' json '
to be used to set the return format to JSON
|
|
JSONLD = ' json-ld '
|
|
XML = ' xml '
to be used to set the return format to XML (SPARQL XML format or
RDF/XML, depending on the query type).
|
|
TURTLE = ' turtle '
to be used to set the return format to Turtle
|
|
N3 = ' n3 '
to be used to set the return format to N3 (for most of the SPARQL
services this is equivalent to Turtle)
|
|
RDF = ' rdf '
to be used to set the return RDF Graph
|
|
_allowedFormats = [ ' json ' , ' xml ' , ' turtle ' , ' n3 ' , ' rdf ' ]
|
|
POST = ' POST '
to be used to set HTTP POST
|
|
GET = ' GET '
to be used to set HTTP GET.
|
|
_allowedRequests = [ ' POST ' , ' GET ' ]
|
|
BASIC = ' BASIC '
|
|
DIGEST = ' DIGEST '
|
|
_allowedAuth = [ ' BASIC ' , ' DIGEST ' ]
|
|
SELECT = ' SELECT '
to be used to set the query type to SELECT.
|
|
CONSTRUCT = ' CONSTRUCT '
to be used to set the query type to CONSTRUCT.
|
|
ASK = ' ASK '
to be used to set the query type to ASK.
|
|
DESCRIBE = ' DESCRIBE '
to be used to set the query type to DESCRIBE.
|
|
INSERT = ' INSERT '
|
|
DELETE = ' DELETE '
|
|
CREATE = ' CREATE '
|
|
CLEAR = ' CLEAR '
|
|
DROP = ' DROP '
|
|
LOAD = ' LOAD '
|
|
COPY = ' COPY '
|
|
MOVE = ' MOVE '
|
|
ADD = ' ADD '
|
|
_allowedQueryTypes = [ ' SELECT ' , ' CONSTRUCT ' , ' ASK ' , ' DESCRIBE ' ...
|
|
URLENCODED = ' urlencoded '
|
|
POSTDIRECTLY = ' postdirectly '
|
|
_REQUEST_METHODS = [ ' urlencoded ' , ' postdirectly ' ]
|
|
_SPARQL_DEFAULT = [ ' application/sparql-results+xml ' , ' applicat ...
|
|
_SPARQL_XML = [ ' application/sparql-results+xml ' ]
|
|
_SPARQL_JSON = [ ' application/sparql-results+json ' , ' text/javas ...
|
|
_RDF_XML = [ ' application/rdf+xml ' ]
|
|
_RDF_N3 = [ ' text/rdf+n3 ' , ' application/n-triples ' , ' applicatio ...
|
|
_RDF_JSONLD = [ ' application/x-json+ld ' , ' application/ld+json ' ]
|
|
_ALL = [ ' */* ' ]
|
|
_SPARQL_POSSIBLE = [ ' application/sparql-results+xml ' , ' applica ...
|
|
_SPARQL_PARAMS = [ ' query ' ]
|
|
_RDF_POSSIBLE = [ ' application/rdf+xml ' , ' text/rdf+n3 ' , ' applic ...
|
|
_returnFormatSetting = [ ' format ' , ' output ' , ' results ' ]
|
|
__package__ = ' SPARQLWrapper '
|