aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java
blob: 5c8dbf694a86361703ef7fa57b79457a71954840 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package uk.ac.ox.cs.pagoda.global_tests;

import org.testng.annotations.Test;
import uk.ac.ox.cs.pagoda.Pagoda;
import uk.ac.ox.cs.pagoda.util.TestUtil;

public class TestPagodaFLY {

	public static final String ANSWER_PATH = "~/TestPagodaFLY.json";

	@Test(groups = {"light"})
	public void just_execute() {
		String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
		Pagoda pagoda = Pagoda.builder()
							  .ontology(TestUtil.combinePaths(ontoDir, "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl"))
				              .query(TestUtil.combinePaths(ontoDir, "fly/queries/fly.sparql"))
//							  .answer(ANSWER_PATH)
				              .classify(true)
							  .hermit(true)
				              .build();
		pagoda.run();
	}

	@Test
	public void answersCorrectness() {
		// TODO implement
	}
}