blob: 3642147a5ac373fe89744edf28de2c2d43e3e7c8 (
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
|
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 TestPagodaDBPedia {
public static final String ANSWER_PATH = "~/TestPagodaDEBPedia.json";
@Test
public void just_execute() throws IOException {
String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
Pagoda pagoda = Pagoda.builder()
.ontology(Paths.get(ontoDir, "dbpedia/integratedOntology-all-in-one-minus-datatype.owl"))
.data(Paths.get(ontoDir, "dbpedia/data/dbpedia-minus-datatype-new.ttl"))
.query(Paths.get(ontoDir, "dbpedia/atomic.sparql"))
.answer(ANSWER_PATH)
.classify(true)
.hermit(true)
.build();
pagoda.run();
}
@Test
public void answersCorrectness() {
// TODO implement
}
}
|