On 08/10/12 16:52, Laurent MARTIN wrote:
Hello,

This email to inform you about this bug.
I am not in your dev list for the moment. Don't know if it is necessary to
inform you about following bug :

I am using a jena-fuseki-0.2.4 for my developments and obtained an error in
following case :

My request :
SELECT *DISTINCT*  ?o ?name ?field1 WHERE   {
?o rdf:type myPrefix:MyClass .
?o rdfs:label ?name .
  ?URI myPrefix:myProperty ?field1
}

If one of my object do not have rdfs:label property, I obtained an HTTP 500
error with DISTINCT, but the request is OK without DISTICNT.

I know I have an error on my side as It should not be the case : all my
objects must hava a label as described in my ontology file
However, is that normal that "no distinct" give an answer while distinct
fail in error ?

Regards,
Laurent MARTIN


Without some information about the data, or some other complete, minimal example, then it's a bit hard to see how investigate this.

What storage are you using behind Fuseki? How much data have you got? What is the stacktrace for the 500?

I have tried with 0.2.5-SNAPSHOT and it worked but I don't have enough information to recreate your setup.

        Andy

PS Your query has a cross product in it --

SELECT *DISTINCT*  ?o ?name ?field1 WHERE   {
?o rdf:type myPrefix:MyClass .
?o rdfs:label ?name .
# Below is unconnected to the first part of the query
?URI myPrefix:myProperty ?field1
}

Reply via email to