tells whether the given nodes are equivalent . nodes are equivalent if they are both resources or both literals and they match according to the rules of those types . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean sameObject concode_elem_sep boolean sameObject concode_elem_sep boolean sameResource concode_elem_sep boolean sameResource concode_elem_sep boolean sameLiteral concode_elem_sep boolean sameLiteral concode_elem_sep boolean sameSubject concode_elem_sep boolean sameSubject concode_elem_sep boolean eq concode_elem_sep boolean samePredicate concode_elem_sep boolean samePredicate
boolean function ( Node arg0 , Node arg1 ) { if ( arg0 instanceof URIReference && arg1 instanceof URIReference ) { return sameResource ( ( URIReference ) arg0 , ( URIReference ) arg1 ) ; } else if ( arg0 instanceof Literal && arg1 instanceof Literal ) { return sameLiteral ( ( Literal ) arg0 , ( Literal ) arg1 ) ; } else { return false ; } }