Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Problem with executeSPARQLQuery()

Pierre Nugues Pierre.Nugues at cs.lth.se
Fri Jan 18 09:38:19 PST 2008


Oops, I did not pay enough attention. I have to include the arq.jar  
and concurrent.jar packages. I thought jena.jar was enough.

Sorry for the noise.
Pierre
Le 18 janv. 08 à 18:09, Pierre Nugues a écrit :

> Dear All,
>
> I tried to carry out a SPARQL query using the method:
> executeSPARQLQuery()
>
> like this one:
> qr = owlModel.executeSPARQLQuery("SELECT ?subject ?object WHERE { ?
> subject rdfs:subClassOf ?object }");
> It resulted into an exception:
> Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/
> jena/query/QueryFactory
>
> Apparently QueryFactory does not exists in this package.
>
> Is there a work-around?
>
> Pierre
> --
> Pierre Nugues, Lunds Tekniska Högskola, Institutionen för
> datavetenskap, Box 118, S-221 00 Lund, Suède.
> Tél. (0046) 46 222 96 40, http://www.cs.lth.se/~pierre
> Visiteurs: Lunds Tekniska Högskola, E-huset, rum 4134A, Ole Römers väg
> 3, S-223 63 Lund.
> Mon livre/My book: http://www.cs.lth.se/home/Pierre_Nugues/ilppp/
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03




More information about the protege-owl mailing list