Add tests for issue #1299
Add tests for issue #1299

These tests confirm that bound namespaces occur
exactly once in SPARQL queries when using SPARQLStore.

RDFLib/rdflib,RDFLib/rdflib,RDFLib/rdflib,RDFLib/rdflib