RDFLib/rdflib — Issue #93: query() behaves differently whether i ask for named variables or for *
Author: gjhiggins
Created: 2012-02-20 08:32:32+00:00
State: open

danbrick...@gmail.com, 2009-12-29T14:33:49.000Z

see http://paste.lisp.org/display/92767

I get answers with

res = g.query("SELECT ?g ?s ?p ?o WHERE { GRAPH ?g { ?s ?p ?o } } ")

... but if I use "SELECT * WHERE (etc...)" it fails - ValueError: need more
than 0 values to unpack

Comment 1 by danbrick...@gmail.com
http://www.w3.org/TR/rdf-sparql-query/#select

"The SELECT form of results returns variables and their bindings directly. The syntax
SELECT * is an abbreviation that selects all of the variables in a query."

Comment 2 by eik...@gmail.com

Comment 3 by eik...@gmail.com

Comment 4 by eik...@gmail.com
These issues involve bits that have been moved out of rdflib proper for now. We will re-open them
or move them to rdfextas as appropriate.