aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala
diff options
context:
space:
mode:
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.scala58
1 files changed, 0 insertions, 58 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 f67eca9..4d71bca 100644
--- a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala
+++ b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala
@@ -130,64 +130,6 @@ object RSAOntology {
130 datafiles: List[os.Path] 130 datafiles: List[os.Path]
131 ): RSAOntology = new RSAOntology(origin, axioms, datafiles) 131 ): RSAOntology = new RSAOntology(origin, axioms, datafiles)
132 132
133 // def apply(
134 // ontofile: File,
135 // datafiles: List[File],
136 // approx: Option[Approximation]
137 // ): RSAOntology = {
138 // val ontology = manager.loadOntologyFromOntologyDocument(ontofile)
139 // RSAOntology(ontology, datafiles, approx)
140 // }
141
142 // def apply(
143 // ontology: OWLOntology,
144 // datafiles: List[File],
145 // approx: Option[Approximation]
146 // ): RSAOntology = {
147 // val normalizer = new Normalizer()
148
149 // /** TBox axioms */
150 // var tbox: List[OWLLogicalAxiom] =
151 // ontology
152 // .tboxAxioms(Imports.INCLUDED)
153 // .collect(Collectors.toList())
154 // .collect { case a: OWLLogicalAxiom => a }
155 // .flatMap(normalizer.normalize)
156
157 // /** RBox axioms */
158 // var rbox: List[OWLLogicalAxiom] =
159 // ontology
160 // .rboxAxioms(Imports.INCLUDED)
161 // .collect(Collectors.toList())
162 // .collect { case a: OWLLogicalAxiom => a }
163 // .flatMap(normalizer.normalize)
164
165 // /** ABox axioms
166 // *
167 // * @note this represents only the set of assertions contained in the
168 // * ontology file. Data files specified in `datafiles` are directly
169 // * imported in RDFox due to performance issues when trying to import
170 // * large data files via OWLAPI.
171 // */
172 // var abox: List[OWLLogicalAxiom] =
173 // ontology
174 // .aboxAxioms(Imports.INCLUDED)
175 // .collect(Collectors.toList())
176 // .collect { case a: OWLLogicalAxiom => a }
177 // .flatMap(normalizer.normalize)
178
179 // /** Collection of logical axioms in the input ontology */
180 // var axioms: List[OWLLogicalAxiom] = abox ::: tbox ::: rbox
181
182 // new RSAOntology(
183 // approx match {
184 // case Some(a) => a.approximate(axioms, datafiles)
185 // case None => axioms
186 // },
187 // datafiles: _*
188 // )
189 // }
190
191} 133}
192 134
193/** A wrapper for an RSA ontology 135/** A wrapper for an RSA ontology