while (domainsI.hasNext()) {
ISelector domain = null;
Value domainNode = domainsI.next().getObject();
if (domainNode instanceof Resource) {
if (((Resource) domainNode).equals(AllPropertiesSet.getSchemaResource())) {
domain = new AllPropertiesSelector();
} else {
// This is a property selector
domain = new PropertySelector((URI) domainNode);
}
} else if (domainNode instanceof Literal) {