added core libraries
extended ontology querying to subclasses and subproperties