Hello Mikael, thanks for attaching a test case - makes it easier to
track down. I think this is probably the best forum for now until the
trac-installation is backup or replaced. I'll look into this when I
get a chance.
On 9/20/06, Mikael Högqvist <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I found out (after a bug-report from my users) that the SPARQL XML
> results are not looking the same as proposed in [1].
>
> I wrote a small program (attached) and tried to reproduce example 3.1
> from [1]. It seems like that for each binding there is also a result
> tag. Also, ORDER BY in SPARQL-queries does not work. I got the
> following traceback when running the query from 3.1:
>
> Traceback (most recent call last):
> File "testQuery.py", line 42, in ?
> results = graph.query(test_query)
> File "/usr/lib/python2.4/site-packages/rdflib/Graph.py", line 642, in query
> return plugin.get('SPARQLQueryResult',QueryResult)(p.query(strOrQuery,
> initBindings, initNs, DEBUG))
> File "/usr/lib/python2.4/site-packages/rdflib/sparql/bison/Processor.py",
> line 34, in query
> return Evaluate(self.graph, strOrQuery, initBindings, DEBUG=DEBUG)
> File
> "/usr/lib/python2.4/site-packages/rdflib/sparql/bison/SPARQLEvaluate.py",
> line 382, in Evaluate
> expr = orderCond.expression.reduce()
> AttributeError: 'Variable' object has no attribute 'expression'
>
> Is this the best channel to report bugs, or should I use the
> trac-installation linked from rdflib.net?
>
> Thanks,
> Mikael
>
> [1] http://www.w3.org/TR/rdf-sparql-XMLres/
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://rdflib.net/mailman/listinfo/dev
>
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://rdflib.net/mailman/listinfo/dev