aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2021-07-20 15:09:20 +0100
committerFederico Igne <git@federicoigne.com>2021-07-20 15:14:18 +0100
commit53646646f924887768688794aee46874ed194673 (patch)
tree50e468ed4ad50bcfb23355e66c0def2e3997fde4 /src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala
parentf0d1bfe564853a63128ad139520c9838778a7b61 (diff)
downloadRSAComb-53646646f924887768688794aee46874ed194673.tar.gz
RSAComb-53646646f924887768688794aee46874ed194673.zip
Generalize dependency graph generation
The code to generate the dependency graph has been moved in the companion object of the generic OWL 2 ontology wrapper Ontology. This signals that we could potentially build a dependency graph for any ontology (and not only RSA ontology). Moreover, a dependency graph can be build for an Ontology object or an arbitrary TBox and Abox.
Diffstat (limited to 'src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala')
-rw-r--r--src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala
index b749401..82da9df 100644
--- a/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala
+++ b/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala
@@ -103,6 +103,16 @@ object RSAConfig {
103/** Main entry point to the program */ 103/** Main entry point to the program */
104object RSAComb extends App { 104object RSAComb extends App {
105 105
106 /*
107 * TODO: Aiming for this workflow:
108 *
109 * implicit val manager = new Manager(...)
110 * val original = manager.importFromFile("ontology.owl")
111 * val axioms = original.getAxioms.filter(isLogicalAxiom).normalize(normalizer)
112 * val ontology = new Ontology(axioms, data)
113 * val rsa = ontology.toRSA(approximator)
114 */
115
106 /* Command-line options */ 116 /* Command-line options */
107 val config = RSAConfig.parse(args.toList) 117 val config = RSAConfig.parse(args.toList)
108 118