lib/activerdf_sparql-1.3.6/lib/activerdf_sparql/sparql_result_parser.rb
# create ruby objects for each RDF node

create ruby objects for each RDF node
create ruby objects for each RDF node
def create_node(type, value)
    case type
      when 'uri'       
      RDFS::Resource.new(value)
      when 'bnode'
      BNode.new(value)
      when 'literal','typed-literal'
      value.to_s
    end
  end
def create_node ( type , value ) case type when 'uri' RDFS :: Resource . new ( value ) when 'bnode' BNode . new ( value ) when 'literal' , 'typed-literal' value . to_s end end
create ruby objects for each RDF node
create ruby objects for each RDF node
type
value