Skip to content

Instantly share code, notes, and snippets.

@rjpbonnal
Created February 12, 2010 05:39
Show Gist options
  • Save rjpbonnal/302336 to your computer and use it in GitHub Desktop.
Save rjpbonnal/302336 to your computer and use it in GitHub Desktop.
irb(main):137:0>mySubject.property_accessors
=> ["type", "label", "title", "comment", "identifier", "url", "created", "modified", "replaced", "isReplacedBy", "seeAlso", "symbol", "subType", "location", "chromosome", "fromInterval", "toInterval", "xGI", "xGenBank", "xProteinID", "xTaxon", "xRef", "xEC", "synonym"]
irb(main):141:0> mySubject.xGI
=> [<RDFS::Resource:0xb7434650 @predicates={}, @uri="http://bio2rdf.org/gi:72015298">, <RDFS::Resource:0xb74345d8 @predicates={}, @uri="http://bio2rdf.org/gi:72015290">, <RDFS::Resource:0xb7434538 @predicates={}, @uri="http://bio2rdf.org/gi:72015291">]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment