Encode relations as OWLObjectSomeValuesFromRestriction

instead of adding class to domain and range of the object property which was
inferring something different from what we meant to say.