ConstantB / Ontop-spatial-example

Examples of using the geospatial extension of the Ontop framework
0 stars 4 forks source link

Intstall ontop-spatial as a Protege plugin #1

Open CorentinK opened 6 years ago

CorentinK commented 6 years ago

Hello,

In the following video , you are using ontp-spatial within Protege.

I have been trying to install it without success follwing this method: https://github.com/ConstantB/ontop-spatial/wiki/ObdalibPluginDebug

Can you guide me on how to install and test ontp-spatial with protege?

Many thanks by advance,

Corentin

ConstantB commented 6 years ago

Hello Corentin,

I am very sorry for the belated reply. I uploaded a version of Protege bundled with Ontop-spatial on the website. You can access it here: http://ontop-spatial.di.uoa.gr/Protege/Protege-5.0.0-beta-17.tar Please let me know if you also want to test Protege with Ontop-spatial with the files that are used in the video demo so that I provide you with them as well.

Best regards, Konstantina

ConstantB commented 6 years ago

I am re-opening this issue in case there are follow up questions

CorentinK commented 6 years ago

Hi Konstantina,

So I did install the Protege bundled with Ontop-spatial. When I launch the reasoner, everything is fine. No error message.

I do have a problem with the queries though, since I get an error for all my queries. Even the simplest once.

it.unibz.krdb.obda.model.OBDAException: Error rewriting and unfolding into SQL null at it.unibz.krdb.obda.owlrefplatform.owlapi3.QuestOWLStatement.executeTuple(QuestOWLStatement.java:112) at it.unibz.krdb.obda.protege4.views.QueryInterfaceView$3.executeQuery(QueryInterfaceView.java:206) at it.unibz.krdb.obda.protege4.views.QueryInterfaceView$3.executeQuery(QueryInterfaceView.java:172) at it.unibz.krdb.obda.protege4.gui.action.OBDADataQueryAction$1.run(OBDADataQueryAction.java:156)

Note that the exact same queries works with ONTOP 3.0.0 beta.

Here is the log file: log.txt

Any idea on what could be wrong?

Corentin

ConstantB commented 6 years ago

Hi Corentin,

thanks for the log file. I ran a similar query against an ontop-spatial endpoint with sample data but I do not get an exception. Results are returned. Would it be possible to send me your ontology, mappings and a part -if not all- of your database as a PostGIS dump? (pg_dump > dump.sql)

Thank you.

Cheers, Konstantina

CorentinK commented 6 years ago

Hi,

Sorry for the late answer. I was away for annual leaves.

I do not use PostGIS but MySQL as a database.

Can the problem come from that?

Corentin

ConstantB commented 6 years ago

Hello and happy new year! Yes, this is the case. The spatial features of MySQL are not currently supported.

Best, Konstantina