Changes to allow IMS expansion of pathwya queries, and treating GeneProduct *and* Target rdf:types as the same