Fixed invalid SPARQL query generated by DataObjectStore.