Hi Guys,
I'd like to connect to a SPARQL endpoint that requires authentication.
Apparently, SuRF doesn't provide this feature. However, SPARQLWrapper (that's already being used by sparql_protocol plugin) does. I'd like to add this feature to SuRF, providing a patch.
Based on this, I have the following questions:
(1) Does the community have interest in such a feature?
(2) Any suggestions regarding the implementation?
Regarding (2), I considered adding two optional keyword arguments (eg. <user> and <passwd>) to surf.Store's __init__, as we currently set the endpoint there. Is this ok?
Despite changing Store's constructor, I'd also need to make some change on surf.sparql_protocol - taking care to maintain backward compatibility and letting authentication to be optional.
Last question:
(3) How is the compatibility between plugins? Can this feature be implemented only on the sparql_protocol plugin? How should the user be warned?
Best regards,
Tatiana