<div dir="ltr">Hi!<div><br></div><div>  I have added &#39;rdfize&#39;/&#39;_rdfize&#39; methods to feature location/position classes in BioRuby and BioPython. These methods produce a string that contains a FALDO based representation of location/position instances.</div>

<div><br></div><div>  The implementation does not make use of IO serialization implementations as they are already in place for various other file formats. The idea of having an RDFization method directly associated with an object is to produce a canonical representation of the object. This would be similar to &#39;to_s&#39; and &#39;to_json&#39; in Ruby, or &#39;__str__&#39; and &#39;__repr__&#39; in Python.</div>

<div><br></div><div>  I have chosen RDF Turtle for the representations. I would have preferred picking RDF-gem or rdflib instances instead of an RDF Turtle string -- if it would have not created an additional dependency in BioRuby/BioPython. If the additional gem/egg/lib dependency is not seen as a problem, then the code should possibly be modified to return the RDF as RDF graph instances.</div>

<div><br></div><div>  BioRuby pull request: <a href="https://github.com/bioruby/bioruby/pull/95">https://github.com/bioruby/bioruby/pull/95</a></div><div><br></div><div>  BioPython pull request: <a href="https://github.com/biopython/biopython/pull/346">https://github.com/biopython/biopython/pull/346</a></div>
<div><br></div><div>Kim</div><div><br></div></div>