Hi, sorry for my late response. Is that the result of Select "?s ?p ?o" Query, will be same as well "?s ?p ?o" in Describe Query?
I think, i will change it with select query.. thanks for your answer and your help.. Regards, YougyZ ________________________________ De : Andy Seaborne <[email protected]> À : [email protected] Cc : -YoGi- <[email protected]> Envoyé le : Dim 5 juin 2011, 15h 14min 11s Objet : Re: [jena-dev] Need help with query "DESCRIBE" On 03/06/11 22:00, -YoGi- wrote: > Hello all, > > I need your help, i have a code like this : > > String queryString = "DESCRIBE ?x WHERE {?x >a<http://purl.org/ontology/mo/MusicArtist>; ?z ?y. }"; > > Query query = QueryFactory.create(queryString); > QueryExecution qe = >QueryExecutionFactory.sparqlService("http://dbtune.org/jamendo/sparql/", >query); > > // Execute the query and obtain results > Model m = qe.execDescribe(); > > I have a problem, in the line "Model m = qe.execDescribe().. > when it returns no result.. > the exception message is "HttpException: 500 Internal Server Error" > > But when i use my end point server, its working well.. > > Is there anyone, who has experienced this problem? > please help me to find the solution... It looks to me as if the endpoint at dbtune.org does not support DESCRIBE, or has some non-standard HTTP interaction. I couldn't get it working even by sending the query string directly to the server. Check it is the right endpoint and whether SELECT works. You can so: SELECT ?x ?p ?o WHERE {?x a<http://purl.org/ontology/mo/MusicArtist>. ?x ?p ?o } BTW, the ?z ?y in your query don't do anything. Andy > > Thanks you.. > Regards, > YougyZ > > > > ------------------------------------ > > The Jena user list is moving to Apache. > > The new list name is 'jena-users' and the mail server is >'incubator.apache.org'. > > Yahoo! Groups Links > > > __._,_.___ Reply to sender | Reply to group | Reply via web post | Start a New Topic Messages in this topic (2) Recent Activity: Visit Your Group The Jena user list is moving to Apache. The new list name is 'jena-users' and the mail server is 'incubator.apache.org'. MARKETPLACE Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now. ________________________________ Find useful articles and helpful tips on living with Fibromyalgia. Visit the Fibromyalgia Zone today! Switch to: Text-Only, Daily Digest • Unsubscribe • Terms of Use . __,_._,___
