static protected final Node nodeSameAs = OWL.sameAs.asNode() ;
static protected final Node nodeLogImplies = NodeFactory.createURI("http://www.w3.org/2000/10/swap/log#implies") ;
/** Get predicate - maybe null for "illegal" */
protected final Node predicate() {
Token t = peekToken() ;
if ( t.hasType(TokenType.KEYWORD) ) {
boolean strict = profile.isStrictMode() ;
Token tErr = peekToken() ;
String image = peekToken().getImage() ;
if ( image.equals(KW_A) )
return NodeConst.nodeRDFType ;
if ( !strict && image.equals(KW_SAME_AS) )
return nodeSameAs ;