Quantcast

SWRLapi and Pellet issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SWRLapi and Pellet issue

Mahdi Zouch

Hi,
i am working on an Ontology Based Decision support system, and i added SWRLapi to Maven dependecies, But, once i added the Pellet dependency, i got this Exception:

Exception in thread "main" java.lang.AbstractMethodError at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.loadFactories(OWLAPIServiceLoaderModule.java:111) at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.configure(OWLAPIServiceLoaderModule.java:59) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.semanticweb.owlapi.apibinding.OWLManager.createInjector(OWLManager.java:89) at org.semanticweb.owlapi.apibinding.OWLManager.instatiateOWLOntologyManager(OWLManager.java:97) at org.semanticweb.owlapi.apibinding.OWLManager.createOWLOntologyManager(OWLManager.java:58) at org.swrlapi.example.SWRLAPIExample.main(SWRLAPIExample.java:60)

Is Pellet not compatible with SWRLapi ?

The maven dependency i added is the following:

<dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-owlapiv3</artifactId> <version>2.3.6-ansell</version> </dependency>



--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------

Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  

Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              

-------------------------------------------------------------------------------------------------------------------------------------


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

Re: SWRLapi and Pellet issue

Martin O'Connor-2

As mentioned in https://github.com/protegeproject/swrlapi/issues/30, the SWRLAPI uses the 4.2.7 version of the OWLAPI and it seems that the version of Pellet mentioned here uses the 3.x.x version.

Perhaps someone knows if there is a later version of Pellet that uses version 4 of the OWLAPI.

Martin

On May 8, 2017, at 3:51 PM, Mahdi Zouch <[hidden email]> wrote:


Hi,
i am working on an Ontology Based Decision support system, and i added SWRLapi to Maven dependecies, But, once i added the Pellet dependency, i got this Exception:

Exception in thread "main" java.lang.AbstractMethodError at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.loadFactories(OWLAPIServiceLoaderModule.java:111) at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.configure(OWLAPIServiceLoaderModule.java:59) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.semanticweb.owlapi.apibinding.OWLManager.createInjector(OWLManager.java:89) at org.semanticweb.owlapi.apibinding.OWLManager.instatiateOWLOntologyManager(OWLManager.java:97) at org.semanticweb.owlapi.apibinding.OWLManager.createOWLOntologyManager(OWLManager.java:58) at org.swrlapi.example.SWRLAPIExample.main(SWRLAPIExample.java:60)

Is Pellet not compatible with SWRLapi ?

The maven dependency i added is the following:

<dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-owlapiv3</artifactId> <version>2.3.6-ansell</version> </dependency>


--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------
Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  
Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              
-------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
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
|  
Report Content as Inappropriate

Re: SWRLapi and Pellet issue

Lorenz B.
There are for sure other versions since Protege 5.x uses OWL API 4 and there is a Pellet plugin.

See https://github.com/stardog-union/pellet


As mentioned in https://github.com/protegeproject/swrlapi/issues/30, the SWRLAPI uses the 4.2.7 version of the OWLAPI and it seems that the version of Pellet mentioned here uses the 3.x.x version.

Perhaps someone knows if there is a later version of Pellet that uses version 4 of the OWLAPI.

Martin

On May 8, 2017, at 3:51 PM, Mahdi Zouch <[hidden email]> wrote:


Hi,
i am working on an Ontology Based Decision support system, and i added SWRLapi to Maven dependecies, But, once i added the Pellet dependency, i got this Exception:

Exception in thread "main" java.lang.AbstractMethodError at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.loadFactories(OWLAPIServiceLoaderModule.java:111) at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.configure(OWLAPIServiceLoaderModule.java:59) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.semanticweb.owlapi.apibinding.OWLManager.createInjector(OWLManager.java:89) at org.semanticweb.owlapi.apibinding.OWLManager.instatiateOWLOntologyManager(OWLManager.java:97) at org.semanticweb.owlapi.apibinding.OWLManager.createOWLOntologyManager(OWLManager.java:58) at org.swrlapi.example.SWRLAPIExample.main(SWRLAPIExample.java:60)

Is Pellet not compatible with SWRLapi ?

The maven dependency i added is the following:

<dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-owlapiv3</artifactId> <version>2.3.6-ansell</version> </dependency>


--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------
Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  
Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              
-------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
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
-- 
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center

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

Re: SWRLapi and Pellet issue

Mahdi Zouch

Pellet 3.0, a closed source, next-gen version of Pellet, is embedded and available in Stardog, the RDF database.

this means, that i cannot get the pellet jars ? unless i download Stardog database ? 


2017-05-09 7:51 GMT+02:00 Lorenz B. <[hidden email]>:
There are for sure other versions since Protege 5.x uses OWL API 4 and there is a Pellet plugin.

See https://github.com/stardog-union/pellet


As mentioned in https://github.com/protegeproject/swrlapi/issues/30, the SWRLAPI uses the 4.2.7 version of the OWLAPI and it seems that the version of Pellet mentioned here uses the 3.x.x version.

Perhaps someone knows if there is a later version of Pellet that uses version 4 of the OWLAPI.

Martin

On May 8, 2017, at 3:51 PM, Mahdi Zouch <[hidden email]> wrote:


Hi,
i am working on an Ontology Based Decision support system, and i added SWRLapi to Maven dependecies, But, once i added the Pellet dependency, i got this Exception:

Exception in thread "main" java.lang.AbstractMethodError at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.loadFactories(OWLAPIServiceLoaderModule.java:111) at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.configure(OWLAPIServiceLoaderModule.java:59) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.semanticweb.owlapi.apibinding.OWLManager.createInjector(OWLManager.java:89) at org.semanticweb.owlapi.apibinding.OWLManager.instatiateOWLOntologyManager(OWLManager.java:97) at org.semanticweb.owlapi.apibinding.OWLManager.createOWLOntologyManager(OWLManager.java:58) at org.swrlapi.example.SWRLAPIExample.main(SWRLAPIExample.java:60)

Is Pellet not compatible with SWRLapi ?

The maven dependency i added is the following:

<dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-owlapiv3</artifactId> <version>2.3.6-ansell</version> </dependency>


--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------
Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  
Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              
-------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
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
-- 
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center

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




--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------

Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  

Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              

-------------------------------------------------------------------------------------------------------------------------------------


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

Re: SWRLapi and Pellet issue

Mahdi Zouch
I found a fix: 

For everyone who got this issue: 


        <dependency>
        <groupId>com.github.ansell.pellet</groupId>
        <artifactId>pellet-owlapiv3</artifactId>
        <version>2.3.6-ansell</version>
        <exclusions>
            <exclusion>
                <groupId>com.github.ansell.owlapi</groupId>
                <artifactId>owlapi-api</artifactId>
            </exclusion>
            <exclusion>
                    <groupId>com.github.ansell.owlapi</groupId> 
                    <artifactId>owlapi-impl</artifactId>
            </exclusion>
            <exclusion>
                    <groupId>com.github.ansell.owlapi</groupId>
                    <artifactId>owlapi-parsers</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

2017-05-09 9:36 GMT+02:00 Mahdi Zouch <[hidden email]>:

Pellet 3.0, a closed source, next-gen version of Pellet, is embedded and available in Stardog, the RDF database.

this means, that i cannot get the pellet jars ? unless i download Stardog database ? 


2017-05-09 7:51 GMT+02:00 Lorenz B. <[hidden email]>:
There are for sure other versions since Protege 5.x uses OWL API 4 and there is a Pellet plugin.

See https://github.com/stardog-union/pellet


As mentioned in https://github.com/protegeproject/swrlapi/issues/30, the SWRLAPI uses the 4.2.7 version of the OWLAPI and it seems that the version of Pellet mentioned here uses the 3.x.x version.

Perhaps someone knows if there is a later version of Pellet that uses version 4 of the OWLAPI.

Martin

On May 8, 2017, at 3:51 PM, Mahdi Zouch <[hidden email]> wrote:


Hi,
i am working on an Ontology Based Decision support system, and i added SWRLapi to Maven dependecies, But, once i added the Pellet dependency, i got this Exception:

Exception in thread "main" java.lang.AbstractMethodError at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.loadFactories(OWLAPIServiceLoaderModule.java:111) at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.configure(OWLAPIServiceLoaderModule.java:59) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.semanticweb.owlapi.apibinding.OWLManager.createInjector(OWLManager.java:89) at org.semanticweb.owlapi.apibinding.OWLManager.instatiateOWLOntologyManager(OWLManager.java:97) at org.semanticweb.owlapi.apibinding.OWLManager.createOWLOntologyManager(OWLManager.java:58) at org.swrlapi.example.SWRLAPIExample.main(SWRLAPIExample.java:60)

Is Pellet not compatible with SWRLapi ?

The maven dependency i added is the following:

<dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-owlapiv3</artifactId> <version>2.3.6-ansell</version> </dependency>


--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------
Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  
Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              
-------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
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
-- 
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center

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




--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------

Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  

Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              

-------------------------------------------------------------------------------------------------------------------------------------




--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------

Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  

Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              

-------------------------------------------------------------------------------------------------------------------------------------


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

Re: SWRLapi and Pellet issue

Rafael Gonçalves
In reply to this post by Martin O'Connor-2
There’s a fork of Pellet using the OWL API v4 here: https://github.com/ignazio1977/pellet.

Cheers,
Rafael

On May 8, 2017, at 16:30, Martin O'Connor <[hidden email]> wrote:


As mentioned in https://github.com/protegeproject/swrlapi/issues/30, the SWRLAPI uses the 4.2.7 version of the OWLAPI and it seems that the version of Pellet mentioned here uses the 3.x.x version.

Perhaps someone knows if there is a later version of Pellet that uses version 4 of the OWLAPI.

Martin

On May 8, 2017, at 3:51 PM, Mahdi Zouch <[hidden email]> wrote:


Hi,
i am working on an Ontology Based Decision support system, and i added SWRLapi to Maven dependecies, But, once i added the Pellet dependency, i got this Exception:

Exception in thread "main" java.lang.AbstractMethodError at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.loadFactories(OWLAPIServiceLoaderModule.java:111) at org.semanticweb.owlapi.OWLAPIServiceLoaderModule.configure(OWLAPIServiceLoaderModule.java:59) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.semanticweb.owlapi.apibinding.OWLManager.createInjector(OWLManager.java:89) at org.semanticweb.owlapi.apibinding.OWLManager.instatiateOWLOntologyManager(OWLManager.java:97) at org.semanticweb.owlapi.apibinding.OWLManager.createOWLOntologyManager(OWLManager.java:58) at org.swrlapi.example.SWRLAPIExample.main(SWRLAPIExample.java:60)

Is Pellet not compatible with SWRLapi ?

The maven dependency i added is the following:

<dependency> <groupId>com.github.ansell.pellet</groupId> <artifactId>pellet-owlapiv3</artifactId> <version>2.3.6-ansell</version> </dependency>


--
Mahdi ZOUCH
-------------------------------------------------------------------------------------------------------------------------------------
Student at ENIS: National Engineering School of Sfax, University of Sfax, Department of Computer  
Engineering and Applied Mathematics, BP 1173, Sfax, 3038, Tunisia http://www.enis.rnu.tn/              
-------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
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
Loading...