From 3d44aee6069175038266c65f945147569e6343f6 Mon Sep 17 00:00:00 2001 From: RncLsn Date: Thu, 9 Jul 2015 16:01:01 +0100 Subject: Bug-fix for answer dependencies analysis: now it checks whether the endomorphism makes the first tuple identical to the second one. --- test/uk/ac/ox/cs/pagoda/util/TestUtil.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/uk/ac/ox/cs/pagoda/util/TestUtil.java') diff --git a/test/uk/ac/ox/cs/pagoda/util/TestUtil.java b/test/uk/ac/ox/cs/pagoda/util/TestUtil.java index fdd242a..c7f024a 100644 --- a/test/uk/ac/ox/cs/pagoda/util/TestUtil.java +++ b/test/uk/ac/ox/cs/pagoda/util/TestUtil.java @@ -3,6 +3,7 @@ package uk.ac.ox.cs.pagoda.util; import org.apache.log4j.Appender; import org.apache.log4j.FileAppender; import org.apache.log4j.Logger; +import org.semanticweb.owlapi.model.IRI; import java.io.File; import java.io.IOException; @@ -87,4 +88,10 @@ public class TestUtil { LOGGER.error(msg, t); } + public static final String NS = "http://example.org/test#%s"; + + public static IRI getEntityIRI(String name) { + return IRI.create(String.format(NS, name)); + } + } -- cgit v1.2.3