Skip to content

Commit

Permalink
Merge pull request #12 from KnowledgeCaptureAndDiscovery/expose_dataset
Browse files Browse the repository at this point in the history
Expose dataset
  • Loading branch information
varunratnakar authored Jul 29, 2024
2 parents 38ed4aa + ae04948 commit d2e3f3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/edu/isi/kcap/ontapi/OntFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public OntFactory(int type, String tripleStoreDirectory) {
if(tdbstore == null)
tdbstore = TDBFactory.createDataset(tripleStoreDirectory);
}

public Dataset getDataset() {
return this.tdbstore;
}

public boolean usesTripleStore(KBAPI kb) {
if(this.type == JENA) {
Expand Down

0 comments on commit d2e3f3d

Please sign in to comment.