Search code examples
rdfowlontologyprotegelinked-data

Problem when trying to reuse external terms using MIREOT Protégé Plugin


I have tried to reference external vocabulary using MIREOT Protégé Plugin. The external ontology is located in this link : http://purl.allotrope.org/voc/afo/REC/2018/07/afo (TTL File : http://purl.allotrope.org/voc/afo/REC/2018/07/afo.ttl).

The problem is that the plugin cannot get any results from this ontology when I try to look for a term. The MIREOT Plugin return only superclasses (BFO terms in this case) See screen 1 Screen 1.

When I tried to look for the term "sample processing" (which is a specialized class), I didn't get any results while the term exist in the ontology (see screen 2). Screen 2

Thank you for help.


Solution

  • The authors said in the research paper that the plugin :

    pulls every annotation of the source component, not just rdfs:label and iao:definition (Simplifying MIREOT: a MIREOT Protégé Plugin).

    This fact is not correct, the plugin is able to search only using rdfs:label, rdfs:comment, and iao:definition (you can test that).

    So, if you want to use other annotation vocabulary (SKOS for example) you have to edit the source code of the plugin.

    To do so, you have to :

    1. Clone the project in eclipse using git.
    2. Import the project to your work space.
    3. Transform the project to Plugin using Plug-in Development Environment (PDE)
    4. Import the project into your workspace.
    5. Edit the project and deploy it using maven install (to generate the jar file).
    6. To finish you can send a pull request to github or install the plugin in Protégé using the generated jar file (Step 5).

    I have already did the modifications for the plugin to support SKOS annotations (skos:prefLabel, skos:definition and skos:altLabel). Please check my pull request Here.

    To test plugin (my pull request), you can download the jar from HERE and past the file in the Protégé plugins' folder. Please keep a copy of the original jar file.

    What is new in this pull request :

    1. Correct the problem of search by iao:definition (don't work in the actual version).
    2. Add SKOS Annotations support (see the picture).MIREOT with SKOS Annotations support

    Important EDIT I added a new version with that supports search of datatype properties.

    In this new edit :

    • I added datatype search option (see screen below).
    • I added datatype tab. I have replaced the jar file in my github account, you can download the new version by using the same link.

    I have also sent a new pull request.

    enter image description here

    This version have been tested with Protégé version Protege-5.5.0-beta-3