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

Search by dependent object #10

Closed msalvadores closed 11 years ago

msalvadores commented 11 years ago

Something like

ontST = OntologyStatus
list = Ontology.search(:status, ontST)

Even better

list = Ontology.search(:status, { :code => "PARSED" })

This would search for things that have one property with code "PARSED"