compare two result sets for equivalence . equivalance means : each row in rs1 matchs the same index row in rs2 . rows match if they have the same variables with the same values , bnodes must map to a consistent other bnodes . rdf term comparisons of nodes . destructive - rs1 and rs2 are both read , possibly to exhaustion . concode_field_sep NodeIsomorphismMap mapping concode_elem_sep Transform<QuerySolution,Binding> qs2b concode_elem_sep EqualityTest literalTest concode_field_sep boolean equal concode_elem_sep boolean equal concode_elem_sep boolean equalsByValue concode_elem_sep boolean equivalent concode_elem_sep boolean equalsByValueAndOrder concode_elem_sep boolean compareHeader concode_elem_sep boolean equalsByTerm concode_elem_sep boolean isomorphic concode_elem_sep boolean containedIn concode_elem_sep boolean equivalentByOrder concode_elem_sep List<Binding> convert concode_elem_sep Binding convert concode_elem_sep boolean equalsByTest
boolean function ( ResultSet arg0 , ResultSet arg1 ) { if ( ! compareHeader ( arg0 , arg1 ) ) return false ; return equivalentByOrder ( convert ( arg0 ) , convert ( arg1 ) , new BNodeIso ( NodeUtils . sameTerm ) ) ; }