Removed prepared sparql queries

These don’t appear to run any faster under the SQLAlchemy store, and
they’re incompatible with the 4store Store
Also changed UNIONs in the queries to FILTER statements, as they’re
supposed to run faster under 4store