diff options
Diffstat (limited to 'src/main/scala/example/RDFoxPropertyExprConverter.scala')
-rw-r--r-- | src/main/scala/example/RDFoxPropertyExprConverter.scala | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/scala/example/RDFoxPropertyExprConverter.scala b/src/main/scala/example/RDFoxPropertyExprConverter.scala deleted file mode 100644 index 2885ed9..0000000 --- a/src/main/scala/example/RDFoxPropertyExprConverter.scala +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | package rsacomb | ||
2 | |||
3 | import org.semanticweb.owlapi.model.{OWLPropertyExpression, OWLObjectProperty} | ||
4 | import org.semanticweb.owlapi.model.OWLPropertyExpressionVisitorEx | ||
5 | |||
6 | import tech.oxfordsemantic.jrdfox.logic.{Atom, Predicate, Term, Variable, Literal} | ||
7 | |||
8 | import rsacomb.SkolemStrategy | ||
9 | |||
10 | class RDFoxPropertyExprConverter(term1 : Term, term2 : Term, skolem : SkolemStrategy) | ||
11 | extends OWLPropertyExpressionVisitorEx[List[Atom]] | ||
12 | { | ||
13 | |||
14 | override | ||
15 | def visit(expr : OWLObjectProperty) : List[Atom] = { | ||
16 | val name = expr.getIRI.getIRIString | ||
17 | List(Atom.create(Predicate.create(name), term1, term2)) | ||
18 | } | ||
19 | |||
20 | def doDefault(expr : OWLPropertyExpression) : List[Atom] = List() | ||
21 | |||
22 | } // class RDFoxPropertyExprConverter | ||
23 | |||