aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java
blob: 939ee6e9a7506bdfaa7311029f4db8d7ffed8588 (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
29
30
31
32
33
34
35
36
37
38
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;

import java.io.IOException;
import java.nio.file.Paths;

public class TestPagodaNPD {

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

	@Test
	public void justExecuteNPDWithoutDataType() {
		String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
		Pagoda pagoda = Pagoda.builder()
							  .ontology(Paths.get(ontoDir, "npd/npd-all-minus-datatype.owl"))
							  .data(Paths.get(ontoDir, "npd/data/npd-data-dump-minus-datatype-new.ttl"))
							  .query(Paths.get(ontoDir, "npd/queries/atomic.sparql"))
							  .answer(ANSWER_PATH)
							  .classify(true)
							  .hermit(true)
							  .build();
		pagoda.run();
	}

	@Test
	public void testNPDwithoutDataType() throws IOException {
		// TODO implement
	}
	
	@Test
	public void testNPD() throws IOException {
		// TODO implement
	}
	
}