@Override
public int compare(ReadGraph g, Resource o1, Resource o2, boolean local) throws DatabaseException {
if (o1.equals(o2)) {
@Override
public int compare(ReadGraph g, Resource o1, Resource o2, boolean local) throws DatabaseException {
if (o1.equals(o2)) {
}
@Override
public int compare(ReadGraph g, Resource o1, Resource o2) throws DatabaseException{
if (!compareType(g,o1, o2)) {
}
@Override
public int compare(ReadGraph g, Resource o1, Resource o2) throws DatabaseException{
if (!compareType(g,o1, o2)) {
protected boolean compareType(ReadGraph g,Resource r1, Resource r2) throws DatabaseException {
Layer0 l0 = Layer0.getInstance(g);
rs1.addAll(g.getObjects(r1, l0.InstanceOf));
protected boolean compareType(ReadGraph g,Resource r1, Resource r2) throws DatabaseException {
Layer0 l0 = Layer0.getInstance(g);
rs1.addAll(g.getObjects(r1, l0.InstanceOf));
getComparator().sortResource(rs1, rs2);
for (int i = 0; i < rs1.size(); i++) {
getComparator().sortResource(rs1, rs2);
for (int i = 0; i < rs1.size(); i++) {
protected int propsDiffCount(ReadGraph g, Resource r1, Resource r2) throws DatabaseException {
Layer0 l0 = Layer0.getInstance(g);
ArrayList<Statement> ss1 = new ArrayList<Statement>();
protected int propsDiffCount(ReadGraph g, Resource r1, Resource r2) throws DatabaseException {
Layer0 l0 = Layer0.getInstance(g);
ArrayList<Statement> ss1 = new ArrayList<Statement>();
boolean eq = GraphComparator.compareValue(g, l0 , s1.getObject(), s2.getObject());
boolean eq = GraphComparator.compareValue(g, l0 , s1.getObject(), s2.getObject());