diff options
Diffstat (limited to 'src/main/scala/rsacomb/RDFoxUtil.scala')
| -rw-r--r-- | src/main/scala/rsacomb/RDFoxUtil.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/scala/rsacomb/RDFoxUtil.scala b/src/main/scala/rsacomb/RDFoxUtil.scala index 4cefd83..9699fb4 100644 --- a/src/main/scala/rsacomb/RDFoxUtil.scala +++ b/src/main/scala/rsacomb/RDFoxUtil.scala | |||
| @@ -15,6 +15,10 @@ object RDFoxUtil { | |||
| 15 | IRI.create(iri.getIRIString()) | 15 | IRI.create(iri.getIRIString()) |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | implicit def owlapi2rdfox(iri: String): IRI = { | ||
| 19 | IRI.create(iri) | ||
| 20 | } | ||
| 21 | |||
| 18 | def openConnection( | 22 | def openConnection( |
| 19 | dataStore: String | 23 | dataStore: String |
| 20 | ): (ServerConnection, DataStoreConnection) = { | 24 | ): (ServerConnection, DataStoreConnection) = { |
| @@ -37,7 +41,7 @@ object RDFoxUtil { | |||
| 37 | (server, data) | 41 | (server, data) |
| 38 | } | 42 | } |
| 39 | 43 | ||
| 40 | def query( | 44 | def submitQuery( |
| 41 | data: DataStoreConnection, | 45 | data: DataStoreConnection, |
| 42 | prefixes: Prefixes, | 46 | prefixes: Prefixes, |
| 43 | query: String | 47 | query: String |
