diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala index dadc81c..761cc83 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala | |||
| @@ -96,7 +96,6 @@ trait RDFoxConverter { | |||
| 96 | * - [[org.semanticweb.owlapi.model.OWLDataPropertyRangeAxiom OWLDataPropertyRangeAxiom]] | 96 | * - [[org.semanticweb.owlapi.model.OWLDataPropertyRangeAxiom OWLDataPropertyRangeAxiom]] |
| 97 | * - [[org.semanticweb.owlapi.model.OWLDatatypeDefinitionAxiom OWLDatatypeDefinitionAxiom]] | 97 | * - [[org.semanticweb.owlapi.model.OWLDatatypeDefinitionAxiom OWLDatatypeDefinitionAxiom]] |
| 98 | * - [[org.semanticweb.owlapi.model.OWLDifferentIndividualsAxiom OWLDifferentIndividualsAxiom]] | 98 | * - [[org.semanticweb.owlapi.model.OWLDifferentIndividualsAxiom OWLDifferentIndividualsAxiom]] |
| 99 | * - [[org.semanticweb.owlapi.model.OWLDisjointClassesAxiom OWLDisjointClassesAxiom]] | ||
| 100 | * - [[org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom OWLDisjointDataPropertiesAxiom]] | 99 | * - [[org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom OWLDisjointDataPropertiesAxiom]] |
| 101 | * - [[org.semanticweb.owlapi.model.OWLDisjointObjectPropertiesAxiom OWLDisjointObjectPropertiesAxiom]] | 100 | * - [[org.semanticweb.owlapi.model.OWLDisjointObjectPropertiesAxiom OWLDisjointObjectPropertiesAxiom]] |
| 102 | * - [[org.semanticweb.owlapi.model.OWLDisjointUnionAxiom OWLDisjointUnionAxiom]] | 101 | * - [[org.semanticweb.owlapi.model.OWLDisjointUnionAxiom OWLDisjointUnionAxiom]] |
| @@ -173,6 +172,13 @@ trait RDFoxConverter { | |||
| 173 | case a: OWLDataPropertyRangeAxiom => | 172 | case a: OWLDataPropertyRangeAxiom => |
| 174 | Result() // ignored | 173 | Result() // ignored |
| 175 | 174 | ||
| 175 | case a: OWLDisjointClassesAxiom => { | ||
| 176 | val body = a.getOperandsAsList.asScala.toSeq | ||
| 177 | .flatMap((cls) => convert(cls, term, unsafe, NoSkolem, suffix)._1) | ||
| 178 | val bottom = TupleTableAtom.rdf(term, IRI.RDF_TYPE, IRI.NOTHING) | ||
| 179 | ResultR(List(Rule.create(bottom, body: _*))) | ||
| 180 | } | ||
| 181 | |||
| 176 | case a: OWLInverseObjectPropertiesAxiom => { | 182 | case a: OWLInverseObjectPropertiesAxiom => { |
| 177 | val (atoms, rules) = a.asSubObjectPropertyOfAxioms | 183 | val (atoms, rules) = a.asSubObjectPropertyOfAxioms |
| 178 | .map(a => convert(a, term, unsafe, skolem dup a, suffix)) | 184 | .map(a => convert(a, term, unsafe, skolem dup a, suffix)) |
