change sparql queries to not be fuseki-specific. Also fix tests to use well formed URIs, as fuseki complains sometimes