emk / rdf-agraph

Ruby AllegroGraph repository adapter for RDF.rb
http://rdf-agraph.rubyforge.org/
The Unlicense
17 stars 6 forks source link

Can only access the first part of solution after query #3

Closed laurensdv closed 11 years ago

laurensdv commented 13 years ago

When I perform a query like this only :person is accessible (the first one) and :name isn't (NoMethod error)

repo.build_query do |q| q.pattern [:person, RDF.type, FOAF.Person] q.pattern [:person, FOAF.name, :name] end.run do |solution| puts "#{solution.name}: #{solution.person}" end

abrisse commented 11 years ago

Fixed in ca4428155c54b19355539a2979a0365358b33663