ncbo / goo

Graph Oriented Objects (GOO) for Ruby. A RDF/SPARQL based ORM.
http://ncbo.github.io/goo/
Other
15 stars 6 forks source link

Implement equals and hash on RDF::Node -- to use Set and Hash identification #63

Closed msalvadores closed 11 years ago

msalvadores commented 11 years ago

In Class.rb (ontologies_linked_data) we use Sets to avoid duplicated retrieval of labels. At the moment is a question if this works since RDF objects do not implement equality functions.

msalvadores commented 11 years ago

Implemented in nodes.rb in ncbo/sparql_http

https://github.com/ncbo/sparql_http/commit/65a0a6b82365023b0290488ad1f60ebad7f67664