emk/rdf-agraph — Issue #3: Can only access the first part of solution after query
Author: laurensdv
Created: 2011-10-11 01:29:55+00:00
State: open

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