Sesame 2.0 HTTP not returning getLabel results

hendler - February 3, 2008 - 08:07
Project:Semantic Search - Faceted Search and Semantic Web
Version:5.x-1.x-dev
Component:Store :: Sesame
Category:bug report
Priority:critical
Assigned:hendler
Status:closed
Description

SPARQL properly sent, and received. But results are in accurately empty.

This also prevents CRUD operations, as it too depends on the REST interface of Sesame.
Options are to find the bug or just send ALL RPC requests to the custom java sesame interface.
The disadvantage of this is that the Sesame REST interface is more versatile, and does not require

This does not affect the custom aggregate query functionality built into the custom java code.

This is likely that the query over REST is sent to a different store that the custom code, since the custom code uses a config file, and the REST uses the Drupal config interface. Also, the return format may have changed since beta6 of sesame 2.0, but this isn't likely....

#1

hendler - February 3, 2008 - 08:33

The problem is two fold:

1. inconsistency in which Sesame data store is called
2. an apparent change in the return format to http://www.w3.org/2005/sparql-results#

#2

hendler - February 3, 2008 - 12:29

Return format issue fixed for the current application, although not for all cases.

The CRUD errors may be from this error in my log file ()

lesson 1: good to have log files
lesson 2: permissions cause a lot of headaches

"See description.org.openrdf.repository.RepositoryException: org.openrdf.sail.SailException: Unable to start transaction: data file is read-only"

#3

hendler - March 19, 2008 - 05:37

may be related to http://drupal.org/node/236126

#4

hendler - March 20, 2008 - 02:49
Status:active» fixed

marking Fixed, will close when on server
The Sesame server also can return SPARQL+JSON or .srj - this saves a step in processing the XML - generally good news.

#5

hendler - March 20, 2008 - 03:38
Status:fixed» active

new issues on windows machine, Sesame giving different return type
http://openrdf.org/forum/mvnforum/viewthread?thread=1643

#6

hendler - March 20, 2008 - 17:53

First part of the solution required removing the lib in Web-INF which returns results as a Binary Table
Second part is again an inconsistency in which data store is called, since the sesame API executes under one user, and the rest of the app under a different user.

#7

hendler - March 20, 2008 - 18:43
Status:active» fixed

* the bug fixed required for parts
o removing part of the Sesame library, specifically the file "openrdf-queryresultio-binary-2.0.jar" from WEB-INF
o forcing a return type of JSON
o and moving the memory store from
+ C:\Documents and Settings\dymed\Application Data\Aduna\OpenRDF Sesame\repositories\ahirc to
+ C:\Documents and Settings\Default User\Application Data\Aduna\OpenRDF Sesame\repositories\ahirc
o changing the config to reflect the above changes

#8

hendler - March 20, 2008 - 19:02
Status:fixed» closed

closing

 
 

Drupal is a registered trademark of Dries Buytaert.