return
// Block list nodes - handled specially
prop != Grammar.rdfrest && prop != Grammar.rdffirst;
}
*/
throw new BrokenException("Logic error - should not happen.");
case 2 :
return prop == Grammar.notype;
case 4 :
return ( obj == Grammar.notype && prop != Grammar.annotationPropID )
|| obj == Grammar.badRestriction;
case 3 :
case 6 :
case 7 :
return false;
case 5 :
if (subj == Grammar.notype
|| subj == Grammar.orphan
|| subj == Grammar.badRestriction)
return false;
if (obj == Grammar.notype
|| obj == Grammar.orphan
|| obj == Grammar.badRestriction)
return false;
if (COMPARATIVE(prop))
return false;
if ( prop == Grammar.owldistinctMembers)
return false;
if ( prop == Grammar.ontologyPropertyID)
return false;
return true;
}
throw new BrokenException("Logic error - unhandled case in switch.");
}