[Pellet-users] SPARQL query over Web Services

Gustavo Enrique Salazar Torres gsalazar at ime.usp.br
Fri Feb 29 22:09:35 UTC 2008


Hi Emilio
It seems you need to include some jars in the tomcat (or any server you are
using) library.

Best Regards
Gustavo

On Thu, Feb 28, 2008 at 4:07 PM, Miguelanez, Emilio <E.Miguelanez at hw.ac.uk>
wrote:

>  Hi,
>
> I am implementing a web application which execute queries over a servlet.
>
> The class in a standalone code works ok, however through the servlet,
> I get the following error for a simple query SELECT ?x ?y ?z WHERE {?x
> ?y ?z}
>
> Exception in thread "Thread-34" java.lang.Error: no implementation of
> regexp was found.
> at
> com.sun.msv.datatype.xsd.regex.RegExpFactory.createFactory(
> RegExpFactory.java:28\
> )
> at
> com.sun.msv.datatype.xsd.AnyURIType.createRegExp(AnyURIType.java:175)
> at
> com.sun.msv.datatype.xsd.AnyURIType.<clinit>(AnyURIType.java:128)
> at
> com.sun.msv.datatype.xsd.DatatypeFactory.getTypeByName(
> DatatypeFactory.java:195)
> at
> org.mindswap.pellet.datatypes.XSDAnyURI.<clinit>(XSDAnyURI.java:28)
> at
> org.mindswap.pellet.datatypes.XSDSimpleType.<init>(XSDSimpleType.java:19)
> at
> org.mindswap.pellet.datatypes.XSDSimpleType.<clinit>(XSDSimpleType.java
> :13)
> at
> org.mindswap.pellet.datatypes.RDFSLiteral.<init>(RDFSLiteral.java:17)
> at
> org.mindswap.pellet.datatypes.RDFSLiteral.<clinit>(RDFSLiteral.java:14)
> at
> org.mindswap.pellet.datatypes.DatatypeReasoner.<init>(
> DatatypeReasoner.java:84)
> at org.mindswap.pellet.ABox.<init>(ABox.java:189)
> at org.mindswap.pellet.KnowledgeBase.clear(KnowledgeBase.java:191)
> at
> org.mindswap.pellet.KnowledgeBase.<init>(KnowledgeBase.java:140)
> at
> org.mindswap.pellet.jena.OWLReasoner.<init>(OWLReasoner.java:89)
> at
> org.mindswap.pellet.jena.PelletInfGraph.<init>(PelletInfGraph.java:158)
> at
> org.mindswap.pellet.jena.PelletReasoner.bind(PelletReasoner.java:84)
> at
> com.hp.hpl.jena.rdf.model.ModelFactory.createInfModel(ModelFactory.java
> :294)
> at net.integrail.implement.QueryThread.run(QueryThread.java:84)
>
> I do not have any idea the root of this problem. Any help is appreciated.
>
> Cheers,
> Emilio
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>



-- 
Gustavo Salazar Torres
MSc.(C) in Computer Science
IME-USP
http://www.ime.usp.br/~gsalazar
---------------------------------
"En la sencillez de mi corazon te he dado todo con alegría" Mons. Luigi
Giussani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080229/0ca55312/attachment.htm 


More information about the Pellet-users mailing list