Ontop Protégé plugin deletes mapping after ontology import

200 views
Skip to first unread message

Jean-Baptiste Pressac

unread,
May 4, 2016, 8:47:43 AM5/4/16
to ontop4obda
Hello,
I am using Protégé 5 beta 24 + Ontop plugin 1.17.1. 

I had an error The below list of predicates is unknown by the ontology http://www.w3.org/2000/01/rdf-schema#seeAlso (see screenshot below) when I try to add this mapping to my ontology: 

prelib:personne/{id} a efrbroo:F10_Person ; rdfs:seeAlso wikidata:{wikidata} .

This is a bit strange as the rdfs prefix is declared in the ontology .owl file and in the obda file, but anyway...

I then tried to import the http://www.w3.org/2000/01/rdf-schema# ontology as explained in this post. But when I go back to the Mapping manager, all mappings are gone...(see screeshot below)



The mapping manager before the import of the http://www.w3.org/2000/01/rdf-schema# ontology:




The mapping manager after the import of the http://www.w3.org/2000/01/rdf-schema# ontology (all mappings are gone !):


Sarah Komla-Ebri

unread,
May 4, 2016, 9:42:14 AM5/4/16
to ontop4obda
Hi,

importing the rdf:schema ontology is the right solution for the problem. Ignore the issue with the empty tab (will be solved for the next release), save the ontology and restart Protege. 
It will now be possible to use the annotation property in the mapping.

Cheers, 

Sarah 

P.S. If you want to check that your mappings are actually still there before restarting Protege you can close  the tab Ontop mappings and reopen it from Windows ->tabs.

Jean-Baptiste Pressac

unread,
May 4, 2016, 10:08:14 AM5/4/16
to ontop4obda
Hello, Sarah,
I did not try to save my ontology with Protégé as I was affraid to lose the mappings. After this post, I prefed to edit with Notepad++ the owl file to declare the importation of the rdfs ontology. But I will try your solution next time, thank you !
Reply all
Reply to author
Forward
0 new messages