swrlapi-drools-engine

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

swrlapi-drools-engine

sguthery
Putting both swrlapi-2.0.x.jar and swrlapi-drools-engine-2.0.x.jar into Protege-5.5.0/plugins yields the below when Protege starts. swrlapi seems to be looking for 
osgi.wiring.package=Jama.

Where is Jama supposed to be found?

Thanks for any insight.

Cheers, Scott 

2019-12-18 11:12:13.951 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.953 [main] INFO  Launcher    **                                  Protege                                   **
2019-12-18 11:12:13.953 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.954 [main] INFO  Launcher    
2019-12-18 11:12:13.954 [main] INFO  Launcher    ----------------- Initialising and Starting the OSGi Framework -----------------
2019-12-18 11:12:13.954 [main] INFO  Launcher    FrameworkFactory Class: org.apache.felix.framework.FrameworkFactory
2019-12-18 11:12:13.956 [main] INFO  Launcher    
2019-12-18 11:12:14.102 [main] INFO  Launcher    The OSGi framework has been initialised
2019-12-18 11:12:14.564 [main] INFO  Launcher    ------------------------------- Starting Bundles -------------------------------
2019-12-18 11:12:14.564 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.565 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.566 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.567 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.apache.commons.io
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.google.guava
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.googlecode.javaewah.JavaEWAH
2019-12-18 11:12:14.570 [main] INFO  Launcher    Starting bundle org.jsr-305
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle jul.to.slf4j
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle log4j.over.slf4j
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.classic
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.core
2019-12-18 11:12:14.573 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.aopalliance
2019-12-18 11:12:14.574 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.javax-inject
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.576 [main] INFO  Launcher    Starting bundle org.eclipse.jgit
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.semanticweb.owl.owlapi
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.578 [main] INFO  Launcher    Starting bundle org.protege.editor.owl
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle slf4j.api
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle code-generation
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle com.clarkparsia.protege.plugin.pellet
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle csv-export-plugin
2019-12-18 11:12:14.581 [main] INFO  Launcher    Starting bundle existentialquery
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle uk.ac.manchester.cs.owl.explanation
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle org.coode.dlquery
2019-12-18 11:12:14.583 [main] INFO  Launcher    Starting bundle org.odase.protege.individualPropertiesContextualAssertions
2019-12-18 11:12:14.584 [main] INFO  Launcher    Starting bundle org.odase.protege.propertiesInDomainClass
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.semanticweb.hermit
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.protege.owl.rdf
2019-12-18 11:12:14.586 [main] INFO  Launcher    Starting bundle ROWL
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle org.protege.editor.owl.rdf
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle swrlapi
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrlapi-drools-engine
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrltab-plugin
2019-12-18 10:51:15.903 [FelixStartLevel] ERROR FrameworkSlf4jLogger    Error starting file:/C:/Users/s_gut/Desktop/Protege/Protege-5.5.0/plugins/swrlapi-drools-engine-2.0.8.jar
org.osgi.framework.BundleException: Unable to resolve swrlapi-drools-engine [32](R 32.0): missing requirement [swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8)) Unresolved requirements: [[swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [org.apache.felix.main.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]



_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: swrlapi-drools-engine

Martin O'Connor-2

The SWRLTab plugin JAR is built using this project:


It does all the OSGi wiring and assembles the necessary SWRLAPI components. It will produce the JAR (e.g., swrltab-plugin-2.0.8.jar) that can be copied into the Protege plugin directory. 

Martin

On Dec 18, 2019, at 8:51 AM, Scott Guthery <[hidden email]> wrote:

Putting both swrlapi-2.0.x.jar and swrlapi-drools-engine-2.0.x.jar into Protege-5.5.0/plugins yields the below when Protege starts. swrlapi seems to be looking for 
osgi.wiring.package=Jama.

Where is Jama supposed to be found?

Thanks for any insight.

Cheers, Scott 

2019-12-18 11:12:13.951 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.953 [main] INFO  Launcher    **                                  Protege                                   **
2019-12-18 11:12:13.953 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.954 [main] INFO  Launcher    
2019-12-18 11:12:13.954 [main] INFO  Launcher    ----------------- Initialising and Starting the OSGi Framework -----------------
2019-12-18 11:12:13.954 [main] INFO  Launcher    FrameworkFactory Class: org.apache.felix.framework.FrameworkFactory
2019-12-18 11:12:13.956 [main] INFO  Launcher    
2019-12-18 11:12:14.102 [main] INFO  Launcher    The OSGi framework has been initialised
2019-12-18 11:12:14.564 [main] INFO  Launcher    ------------------------------- Starting Bundles -------------------------------
2019-12-18 11:12:14.564 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.565 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.566 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.567 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.apache.commons.io
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.google.guava
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.googlecode.javaewah.JavaEWAH
2019-12-18 11:12:14.570 [main] INFO  Launcher    Starting bundle org.jsr-305
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle jul.to.slf4j
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle log4j.over.slf4j
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.classic
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.core
2019-12-18 11:12:14.573 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.aopalliance
2019-12-18 11:12:14.574 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.javax-inject
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.576 [main] INFO  Launcher    Starting bundle org.eclipse.jgit
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.semanticweb.owl.owlapi
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.578 [main] INFO  Launcher    Starting bundle org.protege.editor.owl
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle slf4j.api
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle code-generation
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle com.clarkparsia.protege.plugin.pellet
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle csv-export-plugin
2019-12-18 11:12:14.581 [main] INFO  Launcher    Starting bundle existentialquery
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle uk.ac.manchester.cs.owl.explanation
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle org.coode.dlquery
2019-12-18 11:12:14.583 [main] INFO  Launcher    Starting bundle org.odase.protege.individualPropertiesContextualAssertions
2019-12-18 11:12:14.584 [main] INFO  Launcher    Starting bundle org.odase.protege.propertiesInDomainClass
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.semanticweb.hermit
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.protege.owl.rdf
2019-12-18 11:12:14.586 [main] INFO  Launcher    Starting bundle ROWL
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle org.protege.editor.owl.rdf
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle swrlapi
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrlapi-drools-engine
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrltab-plugin
2019-12-18 10:51:15.903 [FelixStartLevel] ERROR FrameworkSlf4jLogger    Error starting file:/C:/Users/s_gut/Desktop/Protege/Protege-5.5.0/plugins/swrlapi-drools-engine-2.0.8.jar
org.osgi.framework.BundleException: Unable to resolve swrlapi-drools-engine [32](R 32.0): missing requirement [swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8)) Unresolved requirements: [[swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [org.apache.felix.main.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: swrlapi-drools-engine

sguthery
All well and good, but how do I set the swrl-api-drools-engine as my reasoner?  Other reasoners don't recognize the SWRLAPI build-ins:

Dec 18, 2019 12:47:27 PM org.mindswap.pellet.KnowledgeBase consistency
WARNING: Ignoring rule Rule([usesElectricity(?x,?y), makeBag([?b, ?x]), size([?z, ?b])] => [impact_NumberOfDevices(Electricity_Summary,?z)]): No builtin for http://sqwrl.stanford.edu/ontologies/built-ins/3.4/sqwrl.owl#makeBag
Ontologies processed in 178 ms by Pellet

SWRLTab doesn't check the rule so I can't apply it there and SQWRLTab just says that no results were generated.

The point is to use SWRLAPI in building an ontology not just for a query, yes?

What am I missing here?

Cheers, Scott

On Wed, Dec 18, 2019 at 12:42 PM Martin O'Connor <[hidden email]> wrote:

The SWRLTab plugin JAR is built using this project:


It does all the OSGi wiring and assembles the necessary SWRLAPI components. It will produce the JAR (e.g., swrltab-plugin-2.0.8.jar) that can be copied into the Protege plugin directory. 

Martin

On Dec 18, 2019, at 8:51 AM, Scott Guthery <[hidden email]> wrote:

Putting both swrlapi-2.0.x.jar and swrlapi-drools-engine-2.0.x.jar into Protege-5.5.0/plugins yields the below when Protege starts. swrlapi seems to be looking for 
osgi.wiring.package=Jama.

Where is Jama supposed to be found?

Thanks for any insight.

Cheers, Scott 

2019-12-18 11:12:13.951 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.953 [main] INFO  Launcher    **                                  Protege                                   **
2019-12-18 11:12:13.953 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.954 [main] INFO  Launcher    
2019-12-18 11:12:13.954 [main] INFO  Launcher    ----------------- Initialising and Starting the OSGi Framework -----------------
2019-12-18 11:12:13.954 [main] INFO  Launcher    FrameworkFactory Class: org.apache.felix.framework.FrameworkFactory
2019-12-18 11:12:13.956 [main] INFO  Launcher    
2019-12-18 11:12:14.102 [main] INFO  Launcher    The OSGi framework has been initialised
2019-12-18 11:12:14.564 [main] INFO  Launcher    ------------------------------- Starting Bundles -------------------------------
2019-12-18 11:12:14.564 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.565 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.566 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.567 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.apache.commons.io
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.google.guava
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.googlecode.javaewah.JavaEWAH
2019-12-18 11:12:14.570 [main] INFO  Launcher    Starting bundle org.jsr-305
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle jul.to.slf4j
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle log4j.over.slf4j
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.classic
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.core
2019-12-18 11:12:14.573 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.aopalliance
2019-12-18 11:12:14.574 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.javax-inject
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.576 [main] INFO  Launcher    Starting bundle org.eclipse.jgit
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.semanticweb.owl.owlapi
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.578 [main] INFO  Launcher    Starting bundle org.protege.editor.owl
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle slf4j.api
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle code-generation
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle com.clarkparsia.protege.plugin.pellet
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle csv-export-plugin
2019-12-18 11:12:14.581 [main] INFO  Launcher    Starting bundle existentialquery
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle uk.ac.manchester.cs.owl.explanation
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle org.coode.dlquery
2019-12-18 11:12:14.583 [main] INFO  Launcher    Starting bundle org.odase.protege.individualPropertiesContextualAssertions
2019-12-18 11:12:14.584 [main] INFO  Launcher    Starting bundle org.odase.protege.propertiesInDomainClass
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.semanticweb.hermit
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.protege.owl.rdf
2019-12-18 11:12:14.586 [main] INFO  Launcher    Starting bundle ROWL
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle org.protege.editor.owl.rdf
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle swrlapi
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrlapi-drools-engine
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrltab-plugin
2019-12-18 10:51:15.903 [FelixStartLevel] ERROR FrameworkSlf4jLogger    Error starting file:/C:/Users/s_gut/Desktop/Protege/Protege-5.5.0/plugins/swrlapi-drools-engine-2.0.8.jar
org.osgi.framework.BundleException: Unable to resolve swrlapi-drools-engine [32](R 32.0): missing requirement [swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8)) Unresolved requirements: [[swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [org.apache.felix.main.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: swrlapi-drools-engine

Martin O'Connor-2

The Drools-based reasoner is not available as a standard reasoner in Protege. It is only available to the SWRLTab plugin (via the SWRLAPI). It may become available at a later date, though there is not timeline for this work at the moment. 

Note that the built-ins used to implement SQWRL (e.g., makeBag, select) should only be used in SQWRL queries. They should not be used in SWRL rules since they would likely be 'closing the world' in terms of the operations they perform. 

See:

https://github.com/protegeproject/swrlapi/wiki/SQWRL#semantics-of-sqwrl

Martin

On Dec 18, 2019, at 10:04 AM, Scott Guthery <[hidden email]> wrote:

All well and good, but how do I set the swrl-api-drools-engine as my reasoner?  Other reasoners don't recognize the SWRLAPI build-ins:

Dec 18, 2019 12:47:27 PM org.mindswap.pellet.KnowledgeBase consistency
WARNING: Ignoring rule Rule([usesElectricity(?x,?y), makeBag([?b, ?x]), size([?z, ?b])] => [impact_NumberOfDevices(Electricity_Summary,?z)]): No builtin for http://sqwrl.stanford.edu/ontologies/built-ins/3.4/sqwrl.owl#makeBag
Ontologies processed in 178 ms by Pellet

SWRLTab doesn't check the rule so I can't apply it there and SQWRLTab just says that no results were generated.

The point is to use SWRLAPI in building an ontology not just for a query, yes?

What am I missing here?

Cheers, Scott

On Wed, Dec 18, 2019 at 12:42 PM Martin O'Connor <[hidden email]> wrote:

The SWRLTab plugin JAR is built using this project:


It does all the OSGi wiring and assembles the necessary SWRLAPI components. It will produce the JAR (e.g., swrltab-plugin-2.0.8.jar) that can be copied into the Protege plugin directory. 

Martin

On Dec 18, 2019, at 8:51 AM, Scott Guthery <[hidden email]> wrote:

Putting both swrlapi-2.0.x.jar and swrlapi-drools-engine-2.0.x.jar into Protege-5.5.0/plugins yields the below when Protege starts. swrlapi seems to be looking for 
osgi.wiring.package=Jama.

Where is Jama supposed to be found?

Thanks for any insight.

Cheers, Scott 

2019-12-18 11:12:13.951 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.953 [main] INFO  Launcher    **                                  Protege                                   **
2019-12-18 11:12:13.953 [main] INFO  Launcher    ********************************************************************************
2019-12-18 11:12:13.954 [main] INFO  Launcher    
2019-12-18 11:12:13.954 [main] INFO  Launcher    ----------------- Initialising and Starting the OSGi Framework -----------------
2019-12-18 11:12:13.954 [main] INFO  Launcher    FrameworkFactory Class: org.apache.felix.framework.FrameworkFactory
2019-12-18 11:12:13.956 [main] INFO  Launcher    
2019-12-18 11:12:14.102 [main] INFO  Launcher    The OSGi framework has been initialised
2019-12-18 11:12:14.564 [main] INFO  Launcher    ------------------------------- Starting Bundles -------------------------------
2019-12-18 11:12:14.564 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.565 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.566 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.567 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.568 [main] INFO  Launcher    Starting bundle org.apache.commons.io
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.google.guava
2019-12-18 11:12:14.569 [main] INFO  Launcher    Starting bundle com.googlecode.javaewah.JavaEWAH
2019-12-18 11:12:14.570 [main] INFO  Launcher    Starting bundle org.jsr-305
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle jul.to.slf4j
2019-12-18 11:12:14.571 [main] INFO  Launcher    Starting bundle log4j.over.slf4j
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.classic
2019-12-18 11:12:14.572 [main] INFO  Launcher    Starting bundle ch.qos.logback.core
2019-12-18 11:12:14.573 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.aopalliance
2019-12-18 11:12:14.574 [main] INFO  Launcher    Starting bundle org.apache.servicemix.bundles.javax-inject
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.common
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.registry
2019-12-18 11:12:14.575 [main] INFO  Launcher    Starting bundle org.eclipse.equinox.supplement
2019-12-18 11:12:14.576 [main] INFO  Launcher    Starting bundle org.eclipse.jgit
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.semanticweb.owl.owlapi
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.common
2019-12-18 11:12:14.577 [main] INFO  Launcher    Starting bundle org.protege.editor.core.application
2019-12-18 11:12:14.578 [main] INFO  Launcher    Starting bundle org.protege.editor.owl
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle slf4j.api
2019-12-18 11:12:14.579 [main] INFO  Launcher    Starting bundle code-generation
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle com.clarkparsia.protege.plugin.pellet
2019-12-18 11:12:14.580 [main] INFO  Launcher    Starting bundle csv-export-plugin
2019-12-18 11:12:14.581 [main] INFO  Launcher    Starting bundle existentialquery
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle uk.ac.manchester.cs.owl.explanation
2019-12-18 11:12:14.582 [main] INFO  Launcher    Starting bundle org.coode.dlquery
2019-12-18 11:12:14.583 [main] INFO  Launcher    Starting bundle org.odase.protege.individualPropertiesContextualAssertions
2019-12-18 11:12:14.584 [main] INFO  Launcher    Starting bundle org.odase.protege.propertiesInDomainClass
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.semanticweb.hermit
2019-12-18 11:12:14.585 [main] INFO  Launcher    Starting bundle org.protege.owl.rdf
2019-12-18 11:12:14.586 [main] INFO  Launcher    Starting bundle ROWL
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle org.protege.editor.owl.rdf
2019-12-18 11:12:14.587 [main] INFO  Launcher    Starting bundle swrlapi
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrlapi-drools-engine
2019-12-18 11:12:14.588 [main] INFO  Launcher    Starting bundle swrltab-plugin
2019-12-18 10:51:15.903 [FelixStartLevel] ERROR FrameworkSlf4jLogger    Error starting file:/C:/Users/s_gut/Desktop/Protege/Protege-5.5.0/plugins/swrlapi-drools-engine-2.0.8.jar
org.osgi.framework.BundleException: Unable to resolve swrlapi-drools-engine [32](R 32.0): missing requirement [swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8)) Unresolved requirements: [[swrlapi-drools-engine [32](R 32.0)] osgi.wiring.package; (&(osgi.wiring.package=org.swrlapi.bridge)(version>=2.0.8))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) ~[org.apache.felix.main.jar:na]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [org.apache.felix.main.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev