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:09:49 PST 2008


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/





More information about the protege-owl mailing list