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

Resource ids can possibly collide #67

Closed palexander closed 11 years ago

palexander commented 11 years ago

Resource ids look like this:

http://data.bioontology.org/metadata/caBIG

Where caBIG is a unique identifier for an object type. Unfortunately, that means you can possibly name an instance of two different object types the same thing. Or that you can't name them the same, depending on how the validation happens (and you should be able to have group caBIG and category caBIG).

Better would be something like this:

http://data.bioontology.org/metadata/group/caBIG

Where group is the model name

Alternatively, we could name to match the REST URL:

http://data.bioontology.org/groups/caBIG

Note: this would require pluralizing model names