Cheers Dan<br><br>Yes I didn&#39;t realise that, mapping to a relational schema from the object model is not necessarily easy. <br><br>Anyway that SwissKnife parser sounds more or less like the solution. I&#39;ll look into it when I get some time. Will get back to you on that.<br>
<br>Jose<br><br><br><br><div class="gmail_quote">On 17 March 2010 18:10, Dan Bolser <span dir="ltr">&lt;<a href="mailto:dan.bolser@gmail.com">dan.bolser@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
Seems UniProt has an underlying object model that all the parsers<br>
(Perl, Java or whatever) plug into (and that the RDF will<br>
re-capitulate) ... hopefully.<br>
<br>
However, an object to relation mapping is not necessarily trivial<br>
(especially if you want a &#39;usable&#39; database in the end).<br>
<br>
My UniProt RDB had an emphasis on being simple and usable, and was<br>
based on the SwissKnife Perl parser.<br>
<br>
I can put that somewhere if you would like to develop it.<br>
<br>
<br>
You could try loading the RDF into a triple store like Sesamy.<br>
<br>
Then you just need to learn SPARQL and you are all set... If you learn<br>
SPARQL I&#39;ll make you my friend ;-) (Because I need to learn it too).<br>
<br>
<br>
<br>
All the best,<br>
<font color="#888888">Dan.<br>
</font><div><div></div><div class="h5"><br>
On 17 March 2010 14:31, Henning Stehr &lt;<a href="mailto:stehr@molgen.mpg.de">stehr@molgen.mpg.de</a>&gt; wrote:<br>
&gt; I know that they have a local Uniprot installation here in the<br>
&gt; institute but I don&#39;t know in which format. If you find a solution to<br>
&gt; parse it into relational form, I would also be interested.<br>
&gt; So far I was using the Uniprot Java API<br>
&gt; (<a href="http://www.ebi.ac.uk/uniprot/remotingAPI/" target="_blank">http://www.ebi.ac.uk/uniprot/remotingAPI/</a>) and my UniprotConnection<br>
&gt; is just a customized interface to this. This may be an alternative to<br>
&gt; a local installation with the obvious drawback that it relies on the<br>
&gt; internet connection and server availibility.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Henning<br>
&gt;<br>
&gt; On Wed, Mar 17, 2010 at 2:48 PM, Jose M. Duarte &lt;<a href="mailto:jose.m.duarte@gmail.com">jose.m.duarte@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Ok adding something to that I just found that they provide the data in RDF<br>
&gt;&gt; format:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://dev.isb-sib.ch/projects/uniprot-rdf/" target="_blank">http://dev.isb-sib.ch/projects/uniprot-rdf/</a><br>
&gt;&gt; <a href="ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/" target="_blank">ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/</a><br>
&gt;&gt;<br>
&gt;&gt; Now, I don&#39;t know much about RDF but that seems to be almost the solution.<br>
&gt;&gt; There must be standard tools out there to go from RDF to relational, aren&#39;t<br>
&gt;&gt; there?<br>
&gt;&gt;<br>
&gt;&gt; Jose<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 17 March 2010 14:37, Jose M. Duarte &lt;<a href="mailto:jose.m.duarte@gmail.com">jose.m.duarte@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Not exactly belonging to this list, but I thought it was an easy way to<br>
&gt;&gt;&gt; reach all of you together :-)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am after having a local copy of the Uniprot Knowledge Base in relational<br>
&gt;&gt;&gt; db format. I remember that Dan had something like this running locally<br>
&gt;&gt;&gt; before.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The data seems to be available here:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://www.uniprot.org/downloads" target="_blank">http://www.uniprot.org/downloads</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; in a nice XML format, plus the schema is also available. So really<br>
&gt;&gt;&gt; converting it into a database should be pretty straight forward.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Somebody knows of tools to do this?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cheers<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Jose<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Owl-devel mailing list<br>
&gt;&gt; <a href="mailto:Owl-devel@bioinformatics.org">Owl-devel@bioinformatics.org</a><br>
&gt;&gt; <a href="http://www.bioinformatics.org/mailman/listinfo/owl-devel" target="_blank">http://www.bioinformatics.org/mailman/listinfo/owl-devel</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Owl-devel mailing list<br>
&gt; <a href="mailto:Owl-devel@bioinformatics.org">Owl-devel@bioinformatics.org</a><br>
&gt; <a href="http://www.bioinformatics.org/mailman/listinfo/owl-devel" target="_blank">http://www.bioinformatics.org/mailman/listinfo/owl-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br>