diff options
Diffstat (limited to 'src/main/scala/rsacomb/RSAComb.scala')
| -rw-r--r-- | src/main/scala/rsacomb/RSAComb.scala | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/scala/rsacomb/RSAComb.scala b/src/main/scala/rsacomb/RSAComb.scala index bc94a8d..16d7a04 100644 --- a/src/main/scala/rsacomb/RSAComb.scala +++ b/src/main/scala/rsacomb/RSAComb.scala | |||
| @@ -15,8 +15,9 @@ import org.semanticweb.owlapi.model.parameters.Imports | |||
| 15 | import tech.oxfordsemantic.jrdfox.Prefixes | 15 | import tech.oxfordsemantic.jrdfox.Prefixes |
| 16 | import tech.oxfordsemantic.jrdfox.client.{ConnectionFactory, ServerConnection, DataStoreConnection} | 16 | import tech.oxfordsemantic.jrdfox.client.{ConnectionFactory, ServerConnection, DataStoreConnection} |
| 17 | import tech.oxfordsemantic.jrdfox.client.UpdateType | 17 | import tech.oxfordsemantic.jrdfox.client.UpdateType |
| 18 | import tech.oxfordsemantic.jrdfox.logic.{Rule, Atom, Literal, Predicate, Term, Variable} | 18 | import tech.oxfordsemantic.jrdfox.logic.{Rule, Atom, Literal, Term, Variable} |
| 19 | import tech.oxfordsemantic.jrdfox.logic.{Bind, BuiltinFunctionCall} | 19 | import tech.oxfordsemantic.jrdfox.logic.{BuiltinFunctionCall, TupleTableName} |
| 20 | import tech.oxfordsemantic.jrdfox.logic.{LogicFormat} | ||
| 20 | 21 | ||
| 21 | import scala.collection.JavaConverters._ | 22 | import scala.collection.JavaConverters._ |
| 22 | 23 | ||
| @@ -46,6 +47,9 @@ object RSA { | |||
| 46 | * 2) call RDFox on the onto and compute materialization | 47 | * 2) call RDFox on the onto and compute materialization |
| 47 | * 3) build graph from E(x,y) facts | 48 | * 3) build graph from E(x,y) facts |
| 48 | * 4) check if the graph is tree-like | 49 | * 4) check if the graph is tree-like |
| 50 | * ideally this annotates the graph with info about the reasons | ||
| 51 | * why the ontology might not be RSA. This could help a second | ||
| 52 | * step of approximation of an Horn-ALCHOIQ to RSA | ||
| 49 | */ | 53 | */ |
| 50 | 54 | ||
| 51 | /* Ontology axiom convertion into LP rules */ | 55 | /* Ontology axiom convertion into LP rules */ |
