aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/rsacomb/RDFoxUtil.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/rsacomb/RDFoxUtil.scala')
-rw-r--r--src/main/scala/rsacomb/RDFoxUtil.scala15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/main/scala/rsacomb/RDFoxUtil.scala b/src/main/scala/rsacomb/RDFoxUtil.scala
index b523d4e..8a144c6 100644
--- a/src/main/scala/rsacomb/RDFoxUtil.scala
+++ b/src/main/scala/rsacomb/RDFoxUtil.scala
@@ -12,14 +12,21 @@ import tech.oxfordsemantic.jrdfox.client.{
12} 12}
13import tech.oxfordsemantic.jrdfox.formats.SPARQLParser 13import tech.oxfordsemantic.jrdfox.formats.SPARQLParser
14 14
15import tech.oxfordsemantic.jrdfox.logic.{IRI => RDFox_IRI}
16import org.semanticweb.owlapi.model.{IRI => OWL_IRI}
17
15object RDFoxUtil { 18object RDFoxUtil {
16 19
17 implicit def owlapi2rdfox(iri: org.semanticweb.owlapi.model.IRI): IRI = { 20 implicit def rdfox2owlapi(iri: RDFox_IRI): OWL_IRI = {
18 IRI.create(iri.getIRIString()) 21 OWL_IRI.create(iri.getIRI)
22 }
23
24 implicit def owlapi2rdfox(iri: OWL_IRI): RDFox_IRI = {
25 RDFox_IRI.create(iri.getIRIString())
19 } 26 }
20 27
21 implicit def owlapi2rdfox(iri: String): IRI = { 28 implicit def owlapi2rdfox(iri: String): RDFox_IRI = {
22 IRI.create(iri) 29 RDFox_IRI.create(iri)
23 } 30 }
24 31
25 def openConnection( 32 def openConnection(