There is a problem using Surf SPARQL Protocol library 1.0.0-r362 and SPARQL Wrapper 1.5.1
self.__results_format = JSON
self.__sparql_wrapper = SPARQLWrapper(self.__endpoint, self.__results_format)
But in SPARQL Wrapper 1.5.1 the constructor changes its parameters to:
def __init__(self,endpoint,updateEndpoint=None,returnFormat=XML,defaultGraph=None,agent=__agent__) :
Therefore, return format is now XML instead of JSON, for example.
--
Best regards,
Ícaro Medeiros.
--------------------------------
(+55 21 2483 6928 / +55 21 8327 0069)
Software Developer at Globo.com (Search & Semantics Team)
PhD Candidate -
Pontifical Catholic University of Rio de Janeiro
MSc - Federal University of Pernambuco (
www.cin.ufpe.br)
BSc - Federal University of Alagoas (
www.ufal.br)