diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2021-02-04 10:41:09 +0000 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2021-02-04 10:41:09 +0000 |
commit | 1cb2165ccbcd6b1210bee1dfb7b527b4d2440901 (patch) | |
tree | 878e6666433d15cc48c23cdc4c4d7c8770a39411 /src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | |
parent | b9fe66ed1b48d21f3fe6cb960c8fbe8f22f4a39c (diff) | |
download | RSAComb-1cb2165ccbcd6b1210bee1dfb7b527b4d2440901.tar.gz RSAComb-1cb2165ccbcd6b1210bee1dfb7b527b4d2440901.zip |
Add versioning system for different versions of code
Later on this will allow us to select the algorithm from the command
line and compare performance easily.
Diffstat (limited to 'src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala')
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala index 42a5b87..b0b52c7 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | |||
@@ -58,6 +58,7 @@ import tech.oxfordsemantic.jrdfox.logic._ | |||
58 | import org.semanticweb.owlapi.model.OWLObjectInverseOf | 58 | import org.semanticweb.owlapi.model.OWLObjectInverseOf |
59 | 59 | ||
60 | import uk.ac.ox.cs.rsacomb.converter._ | 60 | import uk.ac.ox.cs.rsacomb.converter._ |
61 | import uk.ac.ox.cs.rsacomb.filtering.{FilteringProgram, FilterType} | ||
61 | import uk.ac.ox.cs.rsacomb.suffix._ | 62 | import uk.ac.ox.cs.rsacomb.suffix._ |
62 | import uk.ac.ox.cs.rsacomb.sparql._ | 63 | import uk.ac.ox.cs.rsacomb.sparql._ |
63 | import uk.ac.ox.cs.rsacomb.util.{RDFoxUtil, RSA} | 64 | import uk.ac.ox.cs.rsacomb.util.{RDFoxUtil, RSA} |
@@ -409,7 +410,7 @@ class RSAOntology(_ontology: File, val datafiles: File*) { | |||
409 | 410 | ||
410 | def filteringProgram(query: ConjunctiveQuery): FilteringProgram = | 411 | def filteringProgram(query: ConjunctiveQuery): FilteringProgram = |
411 | Logger.timed( | 412 | Logger.timed( |
412 | new FilteringProgram(query), | 413 | FilteringProgram(FilterType.FILTER_NAIVE)(query), |
413 | "Generating filtering program", | 414 | "Generating filtering program", |
414 | Logger.DEBUG | 415 | Logger.DEBUG |
415 | ) | 416 | ) |