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

Dear All,

I tried to carry out a SPARQL query using the method:  

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/ 

Apparently QueryFactory does not exists in this package.

Is there a work-around?

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,
Visiteurs: Lunds Tekniska Högskola, E-huset, rum 4134A, Ole Römers väg  
3, S-223 63 Lund.
Mon livre/My book:

More information about the protege-owl mailing list