How to install the Protege plugin?

67 views
Skip to first unread message

Greg Soulsby

unread,
Feb 4, 2023, 10:15:52 PM2/4/23
to ontop4obda
I am following the plugin instillation instructions here:


but the plugin is not visible when I start Protege. There is no Ontop tabs from Windows->Tabs and there is no JDBC options from File -> Preferences.

The instructions say: 

    0 download and unzip the archive and go into its folder
    1 Run run.bat

But there is no "run.bat" in the ontop-cli-5.0.1 directory, "run.bat" is in the Protege-5.5.0 directory, which, correctly, starts Protege.

In the ontop-cli-5.0.1 directory there is "ontop.bat". When I run "ontop.bat" I can do "ontop" in a dos window and it responds with Ontop options, so the "ontop.bat" script seems to have run ok.

I have tried re-booting the laptop (Windows 11) and re-installing Protege , but no luck.

Where am I going wrong?



Guohui Xiao

unread,
Feb 5, 2023, 11:05:44 AM2/5/23
to Greg Soulsby, ontop4obda
Hi,

 run.bat is the script to start Protege, in the protege distributions.

ontop.bat is the script for onto-cli.

Did you see any error message when starting protege?

Best regards,

Guohui






--
Please follow our guidelines on how to report a bug https://ontop-vkg.org/community/contributing/bug-report
---
You received this message because you are subscribed to the Google Groups "ontop4obda" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontop4obda+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontop4obda/86c2af1a-4bfb-4fd5-9770-67e40873ae26n%40googlegroups.com.

Greg Soulsby

unread,
Feb 5, 2023, 4:57:21 PM2/5/23
to ontop4obda
  • Did you see any error message when starting protege? No. As far as I know its a perfect start, but no Ontop. Posting logs below.
  • There is nothing about Ontop in the Protege plugins directory. Should there be? There is nothing in the install process that puts something there, right?
  • In the system Path environment variables there is an entry "C:\Programs_other\protege\ontop-cli-5.0.1;" 
  • So Protege finds Ontop because its in the Path, not because there is an entry in the \plugins directory? Either ways its not being found  
  • I should have mentioned that this is a re-install. Ontop in Protege was working on this machine some time ago.
Appreciate your help Guohui



   INFO  08:35:51  ------------------------------------ Protege -----------------------------------
   INFO  08:35:51  Protege Desktop
   INFO  08:35:51  Version 5.5.0, Build
   INFO  08:35:51  
   INFO  08:35:51  
   INFO  08:35:51  ----------------------------------- Platform -----------------------------------
   INFO  08:35:51  Java: JVM 1.8.0_121-b13  Memory: 466M
   INFO  08:35:51  Language: en, Country: GB
   INFO  08:35:51  Framework: Apache Software Foundation (1.8)
   INFO  08:35:51  OS: windows10 (10.0)
   INFO  08:35:51  Processor: x86-64

   INFO  08:35:51  
   INFO  08:35:51  ------------------------------------ Plugins -----------------------------------
   INFO  08:35:51  Plugin: Cellfie Protege 5.0+ Plugin (2.1.0)
   INFO  08:35:51  Plugin: OWL Code Generation Plug-in (2.0.0)
   INFO  08:35:51  Plugin: Existential Query (2.0.0)
   INFO  08:35:51  Plugin: Explanation Workbench (3.0.0)
   INFO  08:35:51  Plugin: OntoGraf (2.0.3)
   INFO  08:35:51  Plugin: DL Query (4.0.1)
   INFO  08:35:51  Plugin: matrix (4.0.1)
   INFO  08:35:51  Plugin: HermiT Reasoner (1.4.3.456)
   INFO  08:35:51  Plugin: Browser View (OWLDoc) (3.0.3)
   INFO  08:35:51  Plugin: OWLViz (5.0.3)
   INFO  08:35:51  Plugin: OWLAPI RDF Library (3.0.0)
   INFO  08:35:51  Plugin: SPARQL Query Plugin (3.0.0)
   INFO  08:35:51  Plugin: SWRLTab Protege 5.0+ Plugin (2.0.6)
   INFO  08:35:51  
   INFO  08:35:52  Creating and setting up empty (default) editor kit
   INFO  08:35:52  OWL API Version: 4.5.9.2019-02-01T07:24:44Z
   INFO  08:35:52  Cannot generate ontology catalog for ontology at http://www.semanticweb.org/gregs/ontologies/2023/1/untitled-ontology-19. URI scheme is not "file"
   INFO  08:35:53  ------------------------------- Auto-update Check ------------------------------
   INFO  08:35:53  Auto-update last performed: Mon Feb 06 08:03:21 AEDT 2023
   INFO  08:35:53  Auto-update has been performed today.  Not performing it again.
   INFO  08:35:53  

Greg Soulsby

unread,
Feb 7, 2023, 9:44:13 PM2/7/23
to ontop4obda
ok, I think I mis-understood. I got Ontop running from the Protege / Ontop bundles no problem.

Maybe you cant install Ontop as a plugin to an already installed Protege? Doesn't matter, its running fine from the bundle.

Guohui Xiao

unread,
Feb 8, 2023, 1:50:59 AM2/8/23
to Greg Soulsby, ontop4obda
Hi Greg,

There are might be an issue about which version you are using.

- Ontop 4.x requires Protege 5.5/Java 8.
- Ontop 5.x requires Protege 5.6/Java 11

You can manually install the Ontop protege plugin into the plugins directory, but it won’t work if you mixed wrong versions. 
For example, in you case, Ontop 5.0.1 does not work with Protege 5.5.

The safes and easiest option is to use our bundles, which combines right versions of Protege and Ontop plugin.

Best regards,

Guohui


Greg Soulsby

unread,
Feb 8, 2023, 3:48:08 PM2/8/23
to ontop4obda
Yes, thanks Guohui, from now on its bundles only for me.

Many thanks,

Reply all
Reply to author
Forward
0 new messages