Refactor query construction and execution

SPARQL CONSTRUCT queries are now generated for all RDFS subPropertyOf,
subClassOf, domain and range statements occuring in the ontology before
being executed against the instance model.