<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="http://egonw.github.io/blog/feed/by_tag/sparql.xml" rel="self" type="application/atom+xml" /><link href="http://egonw.github.io/blog/" rel="alternate" type="text/html" /><updated>2026-12-05T08:55:21+00:00</updated><id>http://egonw.github.io/blog/feed/by_tag/sparql.xml</id><title type="html">chem-bla-ics</title><subtitle>Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.</subtitle><author><name>Egon Willighagen</name></author><entry><title type="html">Importing Nanotoxicity Data with SPARQL into R for analysis</title><link href="http://egonw.github.io/blog/2011/06/14/importing-nanotoxicity-data-with-sparql.html" rel="alternate" type="text/html" title="Importing Nanotoxicity Data with SPARQL into R for analysis" /><published>2011-06-14T00:00:00+00:00</published><updated>2011-06-14T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/06/14/importing-nanotoxicity-data-with-sparql</id><content type="html" xml:base="http://egonw.github.io/blog/2011/06/14/importing-nanotoxicity-data-with-sparql.html"><![CDATA[<p>Not so long ago I wrote about <a href="http://chem-bla-ics.blogspot.com/2011/04/importing-rdf-input-in-r-for-analysis.html">[i]mporting RDF input in R for analysis</a>.
I am collecting nanotoxicology data in a <a href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki">Semantic MediaWiki</a>
with the <a href="http://www.mediawiki.org/wiki/Extension:RDFIO">RDFIO extension</a> installed
(by <a href="http://saml.rilspace.org/tags/semantic-mediawiki">Samuel</a>), allowing me
to SPARQL that data directly from R. There is nothing much structural to visualize
at this moment, so I’m skipping the <a href="http://www.bioclipse.net">Bioclipse</a> intermediate.
I did show some visualization of the data itself in the wiki, <a href="http://chem-bla-ics.blogspot.com/2011/06/plotting-rdf-data-with-semantic-media.html">earlier this
week</a>.</p>

<p>Anyway, release 1.2 of <a href="http://cran.r-project.org/web/packages/rrdf/index.html">rrdf</a>
is on its way, adding a <em>sparql.remote</em> method for running SPARQL queries at
remote repositories. It also has a <a href="https://github.com/egonw/rrdf/commit/157891019a87886677ec9f30939bdd0e688b17da">patch by Ryan Kohl</a>,
to support CONSTRUCT-like SPARQL queries.</p>

<p>I haven’t aligned my wiki with any ontology yet, so the properties have SMW-like
resource form, which makes the SPARQL a bit weird looking. Other than that,
the code to pull in nanotoxicology data from my data notebook now looks like:</p>

<div class="language-R highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">library</span><span class="p">(</span><span class="n">rrdf</span><span class="p">)</span><span class="w">

</span><span class="n">endpoint</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">"http://127.0.0.1/mediawiki/index.php/Special:SPARQLEndpoint"</span><span class="w">

</span><span class="n">query</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">paste</span><span class="p">(</span><span class="s2">"PREFIX w: &lt;http: 127.0.0.1 mediawiki index.php special:uriresolver&gt;"</span><span class="p">,</span><span class="w">
 </span><span class="s2">"SELECT ?min ?max ?zeta WHERE "</span><span class="p">,</span><span class="w">
 </span><span class="s2">"{ ?inst a w:Category-3AMetalOxides . "</span><span class="p">,</span><span class="w">
 </span><span class="s2">"  OPTIONAL { ?inst w:Property-3AHas_Size_Min ?min . }"</span><span class="p">,</span><span class="w">
 </span><span class="s2">"  OPTIONAL { ?inst w:Property-3AHas_Size_Max ?max . }"</span><span class="p">,</span><span class="w">
 </span><span class="s2">"  OPTIONAL { ?inst w:Property-3AHas_Zeta_potential ?zeta . }"</span><span class="p">,</span><span class="w">
 </span><span class="s2">"}"</span><span class="w">
</span><span class="p">);</span><span class="w">

</span><span class="n">data</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">sparql.remote</span><span class="p">(</span><span class="n">endpoint</span><span class="p">,</span><span class="w"> </span><span class="n">query</span><span class="p">)</span><span class="w">
</span></code></pre></div></div>

<p>Which results in a data matrix that looks like (mind you, this matrix is numeric,
needing a bit of rrdf 1.3 functionality):</p>

<div class="language-R highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="o">&gt;</span><span class="w"> </span><span class="n">data</span><span class="w">
      </span><span class="n">min</span><span class="w"> </span><span class="n">max</span><span class="w">  </span><span class="n">zeta</span><span class="w">
 </span><span class="p">[</span><span class="m">1</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">2</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">3</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">4</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">5</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">6</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">7</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">8</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
 </span><span class="p">[</span><span class="m">9</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
</span><span class="p">[</span><span class="m">10</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
</span><span class="p">[</span><span class="m">11</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
</span><span class="p">[</span><span class="m">12</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
</span><span class="p">[</span><span class="m">13</span><span class="p">,]</span><span class="w">  </span><span class="m">10</span><span class="w"> </span><span class="m">100</span><span class="w">  </span><span class="m">34.2</span><span class="w">
</span><span class="p">[</span><span class="m">14</span><span class="p">,]</span><span class="w">  </span><span class="m">30</span><span class="w">  </span><span class="m">60</span><span class="w"> </span><span class="m">-17.3</span><span class="w">
</span><span class="p">[</span><span class="m">15</span><span class="p">,]</span><span class="w">  </span><span class="m">20</span><span class="w">  </span><span class="m">30</span><span class="w">   </span><span class="m">1.8</span><span class="w">
</span><span class="p">[</span><span class="m">16</span><span class="p">,]</span><span class="w">  </span><span class="m">15</span><span class="w">  </span><span class="m">90</span><span class="w">    </span><span class="kc">NA</span><span class="w">
</span></code></pre></div></div>

<p>So, now it is time for some <a href="http://en.wikipedia.org/wiki/Principal_component_analysis">PCA</a>.</p>]]></content><author><name>Egon Willighagen</name></author><category term="rstats" /><category term="rdf" /><category term="sparql" /><category term="toxicology" /><summary type="html"><![CDATA[Not so long ago I wrote about [i]mporting RDF input in R for analysis. I am collecting nanotoxicology data in a Semantic MediaWiki with the RDFIO extension installed (by Samuel), allowing me to SPARQL that data directly from R. There is nothing much structural to visualize at this moment, so I’m skipping the Bioclipse intermediate. I did show some visualization of the data itself in the wiki, earlier this week.]]></summary></entry><entry><title type="html">Online Seminar demoing Bioclipse-OpenTox interoperability using RDF technologies</title><link href="http://egonw.github.io/blog/2011/05/23/online-seminar-demoing-bioclipse.html" rel="alternate" type="text/html" title="Online Seminar demoing Bioclipse-OpenTox interoperability using RDF technologies" /><published>2011-05-23T00:00:00+00:00</published><updated>2011-05-23T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/05/23/online-seminar-demoing-bioclipse</id><content type="html" xml:base="http://egonw.github.io/blog/2011/05/23/online-seminar-demoing-bioclipse.html"><![CDATA[<p><strong>Update</strong>: due to personal circumstances, it will very likely only be Ola to
give the demo :(</p>

<p>This Wednesday, Ola and I will demo our work with Nina on interoperability between
<a href="http://www.bioclipse.net">Bioclipse</a> and OpenTox:</p>

<blockquote>
  <p>OpenTox recently initiated a series of online seminars and interactive tutorials on topics related
to predictive toxicology using a virtual conferencing system supporting desktop sharing and voice.
The tutorials are part of the EU FP7 project OpenTox (<a href="http://www.opentox.org/">www.opentox.org</a>),
which aims at developing an interoperable open source predictive toxicology framework which may be
used as an enabling platform for the creation of predictive toxicology applications.</p>

  <p>The next tutorial will be held Wednesday, 25 May, at 15:00 <a href="http://en.wikipedia.org/wiki/Central_European_Summer_Time">CEST</a>,
and will describe the approach for integrating OpenTox in Bioclipse, complemented with hands-on
tutorials showing how to take advantage of OpenTox functionality from within Bioclipse via the user
interface and scripts.</p>

  <p>The intended audience is people interested in learning how to use OpenTox from within Bioclipse, and
people interested in how the integration was technically implemented. A bleeding-edge release of
Bioclipse will be made available for the participants before the tutorial.</p>

  <p>Participation in these online events involves no registration fee. To register for the seminar, visit
<a href="http://www.surveymonkey.com/s/opentoxonline">http://www.surveymonkey.com/s/opentoxonline</a>.</p>

  <p>If you have already registered for a previous OpenTox tutorial this spring you don’t need to
register again.</p>
</blockquote>]]></content><author><name>Egon Willighagen</name></author><category term="bioclipse" /><category term="opentox" /><category term="sparql" /><summary type="html"><![CDATA[Update: due to personal circumstances, it will very likely only be Ola to give the demo :(]]></summary></entry><entry><title type="html">Importing RDF input in R for analysis</title><link href="http://egonw.github.io/blog/2011/04/28/importing-rdf-input-in-r-for-analysis.html" rel="alternate" type="text/html" title="Importing RDF input in R for analysis" /><published>2011-04-28T00:00:00+00:00</published><updated>2011-04-28T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/04/28/importing-rdf-input-in-r-for-analysis</id><content type="html" xml:base="http://egonw.github.io/blog/2011/04/28/importing-rdf-input-in-r-for-analysis.html"><![CDATA[<p>August last year I asked on BioStar about <a href="http://biostar.stackexchange.com/questions/2069/how-do-i-import-rdf-data-into-r">how to import RDF into the R statistical
package</a>
and at the time nothing seemed existing. Over the past few weeks I ported code
I wrote for <a href="http://www.bioclipse.net/">Bioclipse</a> to create the <a href="http://cran.r-project.org/web/packages/rrdf/index.html">rrdf package</a>
for <a href="http://www.r-project.org/">R</a>, which is now available from <a href="http://cran.r-project.org/">CRAN</a>.
RDF can be loaded from RDF/XML, Notation3, and Turtle files, using <a href="http://jena.sourceforge.net/">Jena</a>,
and read data can be queried using <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a>.
I have not yet ported the remote SPARQL functionality we used in <a href="http://www.jbiomedsem.com/content/2/S1/S6">our recent
paper</a>, but that will make a nice
alternative to <a href="http://chembl.blogspot.com/2011/04/access-to-chembl-through-pipeline-pilot.html">using ChEMBL data in Pipeline Pilot</a>
or <a href="http://www.jbiomedsem.com/content/2/S1/S6">in Bioclipse</a> :)</p>]]></content><author><name>Egon Willighagen</name></author><category term="chembl" /><category term="rstats" /><category term="rdf" /><category term="sparql" /><summary type="html"><![CDATA[August last year I asked on BioStar about how to import RDF into the R statistical package and at the time nothing seemed existing. Over the past few weeks I ported code I wrote for Bioclipse to create the rrdf package for R, which is now available from CRAN. RDF can be loaded from RDF/XML, Notation3, and Turtle files, using Jena, and read data can be queried using SPARQL. I have not yet ported the remote SPARQL functionality we used in our recent paper, but that will make a nice alternative to using ChEMBL data in Pipeline Pilot or in Bioclipse :)]]></summary></entry><entry><title type="html">Bioclipse-CDK-ChEMBL-SPARQL-Chemometrics mashup paper published</title><link href="http://egonw.github.io/blog/2011/03/07/bioclipse-cdk-chembl-sparql.html" rel="alternate" type="text/html" title="Bioclipse-CDK-ChEMBL-SPARQL-Chemometrics mashup paper published" /><published>2011-03-07T00:00:00+00:00</published><updated>2011-03-07T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/03/07/bioclipse-cdk-chembl-sparql</id><content type="html" xml:base="http://egonw.github.io/blog/2011/03/07/bioclipse-cdk-chembl-sparql.html"><![CDATA[<p>Our (peer-reviewed) <a href="http://www.bioclipse.net/">Bioclipse</a>-<a href="http://cdk.sf.net/">CDK</a>-SPARQL-Chemometrics
mashup paper was just published online (doi:<span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 14px;"><a href="http://dx.doi.org/10.1186/2041-1480-2-S1-S6">10.1186/2041-1480-2-S1-S6</a></span>)
as part of the <a href="http://www.swat4ls.org/2009/">SWAT4LS 2009</a> <a href="http://www.jbiomedsem.com/supplements/2/S1">supplement</a>,
where we use the CC-SA-BY-licensed <a href="https://www.ebi.ac.uk/chembldb/">ChEMBL database</a>
as example data source, based on a <a href="http://chem-bla-ics.blogspot.com/2009/11/swat4ls-linking-open-drug-data-to.html">presentation I gave</a>
in Amsterdam back then.</p>

<p><img src="/blog/assets/images/jbiomedPaper.png" alt="" /></p>

<p>This is a Figure from our paper, but the other papers are very interesting too,
and are worth checking out!</p>]]></content><author><name>Egon Willighagen</name></author><category term="bioclipse" /><category term="cdk" /><category term="chembl" /><category term="rdf" /><category term="semweb" /><category term="sparql" /><category term="doi:10.1186/2041-1480-2-S1-S6" /><summary type="html"><![CDATA[Our (peer-reviewed) Bioclipse-CDK-SPARQL-Chemometrics mashup paper was just published online (doi:10.1186/2041-1480-2-S1-S6) as part of the SWAT4LS 2009 supplement, where we use the CC-SA-BY-licensed ChEMBL database as example data source, based on a presentation I gave in Amsterdam back then.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/jbiomedPaper.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/jbiomedPaper.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Visualizing data embedded in XHTML+RDFa</title><link href="http://egonw.github.io/blog/2010/09/27/visualizing-data-embedded-in-xhtmlrdfa.html" rel="alternate" type="text/html" title="Visualizing data embedded in XHTML+RDFa" /><published>2010-09-27T00:00:00+00:00</published><updated>2010-09-27T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/09/27/visualizing-data-embedded-in-xhtmlrdfa</id><content type="html" xml:base="http://egonw.github.io/blog/2010/09/27/visualizing-data-embedded-in-xhtmlrdfa.html"><![CDATA[<p><a href="https://web.archive.org/web/20160826091118/http://www.pharmash.com/posts/2010-09-27-sparql-to-chart.html">Orion</a>
picked up <a href="http://chem-bla-ics.blogspot.com/2010/09/pulling-out-data-as-json-from-xhtmlrdfa.html">my challenge</a>
and made an web based application to graph data from one of my <a href="http://egonw.github.com/cheminformatics.classics/classic1.html">XHTML-RDFa pages</a>.
Well done! He wrote <a href="http://www.pharmash.com/posts/2010-09-27-sparql-to-chart.html">his work</a>
up in his blog of which the results looks like:</p>

<p><img src="/blog/assets/images/sparqlGraphing.png" alt="" /></p>

<p>The text field shows the SPARQL used to aggregate the data, which is then visualized
in the plot below that field. You can edit the SPARQL and, for example, plot
the boiling point (t) as function of the number of carbons (p):</p>

<p><img src="/blog/assets/images/sparqlGraphing1.png" alt="" /></p>

<p>This work nicely shows some interesting McPrinciples: it shows what happens
if we allow reuse and share our knowledge; it shows that nice graphics and semantic
access to original data are very compatible. All in all, this is an important
step forward to semantic publishing of chemical data! Orion, thanx for this
really nice work!</p>]]></content><author><name>Egon Willighagen</name></author><category term="chemistry" /><category term="rdf" /><category term="sparql" /><category term="mcprinciples" /><summary type="html"><![CDATA[Orion picked up my challenge and made an web based application to graph data from one of my XHTML-RDFa pages. Well done! He wrote his work up in his blog of which the results looks like:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/sparqlGraphing.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/sparqlGraphing.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Pulling out data as JSON from XHTML+RDFa</title><link href="http://egonw.github.io/blog/2010/09/10/pulling-out-data-as-json-from-xhtmlrdfa.html" rel="alternate" type="text/html" title="Pulling out data as JSON from XHTML+RDFa" /><published>2010-09-10T00:00:00+00:00</published><updated>2010-09-10T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/09/10/pulling-out-data-as-json-from-xhtmlrdfa</id><content type="html" xml:base="http://egonw.github.io/blog/2010/09/10/pulling-out-data-as-json-from-xhtmlrdfa.html"><![CDATA[<p>I am keen on <a href="/blog/tag/rdfa">RDFa</a> and <a href="http://sv.wikipedia.org/wiki/Resource_Description_Framework">RDF <i class="fa-solid fa-recycle fa-xs"></i></a> in general; that should not be a surprise.
RDFa is a serialization of RDF triples embedded in (X)HTML. I recently posted about <a href="http://chem-bla-ics.blogspot.com/2010/08/xhtmlrdfa-chemical-examples.html">chemical examples of XHTML+RDFa</a>.
Now, the reason for putting data in HTML as RDFa is that we can easily pull it out again, e.g. with <a href="http://www.w3.org/2007/08/pyRdfa/">this distiller</a>.
But the fun goes on, and we can actually also run SPARQL directly on it, for example with RDFaDev which I
<a href="http://chem-bla-ics.blogspot.com/2010/07/scripts-logs-as-htmlrdfa-mix-free-text.html">recently blogged about</a>.</p>

<p>Now, consider we have all these nice visualization tools written in JavaScript which can visualize data from <a href="http://www.json.org/">JSON</a> sources,
the mashup requires a JSON serialization of that data embedded in HTML pages. Now, I have no experience with the cool JavaScript tools, and hope
someone can help me out here, but the JSON bit I already <a href="http://www.semanticoverflow.com/questions/587/is-there-a-web-service-that-allow-me-to-run-sparql-against-a-xhtmlrdfa-website">got help with before on SemanticOverflow</a>
(thanx to <a href="http://www.semanticoverflow.com/users/148/comment-bot">Comment Bot</a>!). The service mentioned no longer works, but there are plenty of alternatives.</p>

<p>Now, Peter is creating this nice data set about <a href="http://wwmm.ch.cam.ac.uk/blogs/murrayrust/?p=2596">green solvents from patents</a>, and it would be great of that data ends up online as RDFa, so that we can easily visualize the trends in solvent use over the years. But as I do not have this data as XHTML+RDFa yet, you will have to do with another example: boiling points.</p>

<p>So, let’s consider the data on <a href="https://egonw.github.io/cheminformatics.classics/classic1.html">this page <i class="fa-solid fa-recycle fa-xs"></i></a>, relating paraffin molecules to boiling points, and we’ll take a complexity descriptor (<em>w0</em>, Wiener descriptor) and the boilingpoint (<em>t0</em>). so we get this SPARQL query:</p>

<pre>PREFIX cc: &lt;http://github.com/egonw/cheminformatics.classics/1/#&gt;

SELECT * {
    ?mol cc:w0 ?w ;
         cc:p0 ?p .
}
</pre>

<p>Now, we want to run this query on the aforementioned page, so we add a FROM clause:</p>

<pre>PREFIX cc: &lt;http://github.com/egonw/cheminformatics.classics/1/#&gt;

SELECT *
FROM &lt;http://www.w3.org/2007/08/pyRdfa/extract?uri=http%3A%2F%2Fegonw.github.com%2Fcheminformatics.classics%2Fclassic1.html&amp;format=pretty-xml&amp;warnings=false&amp;parser=lax&amp;space-preserve=true&gt;
{
    ?mol cc:w0 ?w ;
         cc:p0 ?p .
}
</pre>

<p>Notice the use of the distiller here. This way, with a service like <a href="http://sparql.org/sparql.html">that on sparql.org</a>, we can get JSON returned. The result is a bit verbose, but that can perhaps be tuned:</p>

<pre>{
  "head": {
    "vars": [ "w" , "p" ]
  } ,
  "results": {
    "bindings": [
      {
        "w": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "56" } ,
        "p": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "4" }
      } ,
      {
        "w": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "35" } ,
        "p": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "3" }
      }
    ]
  }
}
</pre>

<p>The point is, I am sure at least one of my readers knows how to visualize the data in <a href="http://sparql.org/sparql?query=PREFIX+cc%3A+%3Chttp%3A%2F%2Fgithub.com%2Fegonw%2Fcheminformatics.classics%2F1%2F%23%3E%0D%0A%0D%0ASELECT+%3Fw+%3Fp%0D%0AFROM+%3Chttp%3A%2F%2Fwww.w3.org%2F2007%2F08%2FpyRdfa%2Fextract%3Furi%3Dhttp%253A%252F%252Fegonw.github.com%252Fcheminformatics.classics%252Fclassic1.html%26format%3Dpretty-xml%26warnings%3Dfalse%26parser%3Dlax%26space-preserve%3Dtrue%3E%0D%0A%7B%0D%0A++++%3Fmol+cc%3Aw0+%3Fw+%3B%0D%0A+++++++++cc%3Ap0+%3Fp+.%0D%0A%7D&amp;default-graph-uri=&amp;stylesheet=%2Fxml-to-html.xsl&amp;output=json&amp;force-accept=text%2Fplain">this JSON</a> with, for example, <a href="http://code.google.com/apis/chart/">Google Chart</a>, particularly, because all the mashing up is embedded in the just linked-to, though obscure, URL. And, if it helps, you can otherwise use the <a href="http://sparql.org/sparql?query=PREFIX+cc%3A+%3Chttp%3A%2F%2Fgithub.com%2Fegonw%2Fcheminformatics.classics%2F1%2F%23%3E%0D%0A%0D%0ASELECT+%3Fw+%3Fp%0D%0AFROM+%3Chttp%3A%2F%2Fwww.w3.org%2F2007%2F08%2FpyRdfa%2Fextract%3Furi%3Dhttp%253A%252F%252Fegonw.github.com%252Fcheminformatics.classics%252Fclassic1.html%26format%3Dpretty-xml%26warnings%3Dfalse%26parser%3Dlax%26space-preserve%3Dtrue%3E%0D%0A%7B%0D%0A++++%3Fmol+cc%3Aw0+%3Fw+%3B%0D%0A+++++++++cc%3Ap0+%3Fp+.%0D%0A%7D&amp;default-graph-uri=&amp;stylesheet=%2Fxml-to-html.xsl&amp;output=csv&amp;force-accept=text%2Fplain">CSV</a> or <a href="http://sparql.org/sparql?query=PREFIX+cc%3A+%3Chttp%3A%2F%2Fgithub.com%2Fegonw%2Fcheminformatics.classics%2F1%2F%23%3E%0D%0A%0D%0ASELECT+%3Fw+%3Fp%0D%0AFROM+%3Chttp%3A%2F%2Fwww.w3.org%2F2007%2F08%2FpyRdfa%2Fextract%3Furi%3Dhttp%253A%252F%252Fegonw.github.com%252Fcheminformatics.classics%252Fclassic1.html%26format%3Dpretty-xml%26warnings%3Dfalse%26parser%3Dlax%26space-preserve%3Dtrue%3E%0D%0A%7B%0D%0A++++%3Fmol+cc%3Aw0+%3Fw+%3B%0D%0A+++++++++cc%3Ap0+%3Fp+.%0D%0A%7D&amp;default-graph-uri=&amp;stylesheet=%2Fxml-to-html.xsl&amp;output=tsv&amp;force-accept=text%2Fplain">TSV</a> output. The output of that is even more simple (CSV):</p>

<pre>w,p
56,4
286,9
35,3
220,8
20,2
84,5
10,1
165,7
120,6
</pre>

<p>The first one who can use one of the above URLs to extract the data from that XHTML+RDFa page to create a scatter plot in a HTML page with some JavaScript library, wins a free mention in my blog! ;)</p>]]></content><author><name>Egon Willighagen</name></author><category term="chemistry" /><category term="html" /><category term="rdfa" /><category term="sparql" /><category term="json" /><summary type="html"><![CDATA[I am keen on RDFa and RDF in general; that should not be a surprise. RDFa is a serialization of RDF triples embedded in (X)HTML. I recently posted about chemical examples of XHTML+RDFa. Now, the reason for putting data in HTML as RDFa is that we can easily pull it out again, e.g. with this distiller. But the fun goes on, and we can actually also run SPARQL directly on it, for example with RDFaDev which I recently blogged about.]]></summary></entry><entry><title type="html">Script logs as HTML+RDFa: mix free text reporting with CSV</title><link href="http://egonw.github.io/blog/2010/07/19/scripts-logs-as-htmlrdfa-mix-free-text.html" rel="alternate" type="text/html" title="Script logs as HTML+RDFa: mix free text reporting with CSV" /><published>2010-07-19T00:00:00+00:00</published><updated>2010-07-19T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/07/19/scripts-logs-as-htmlrdfa-mix-free-text</id><content type="html" xml:base="http://egonw.github.io/blog/2010/07/19/scripts-logs-as-htmlrdfa-mix-free-text.html"><![CDATA[<p><a href="http://blogs.talis.com/nodalities/author/richard-wallis/">Richard</a> (<a href="http://www.talis.com/">Talis</a>) wrote up a
<a href="http://blogs.talis.com/nodalities/2010/07/the-data-publishing-three-step.php">three-step tutorial</a> on how to publish
your data. I think I would be more than happy if scientists reached step 1. Related, Ola asked me a while ago if I
was interested in using the computing facilities of <a href="http://www.uppmax.uu.se/">UPPMAX</a>, and I was. But until this
weekend I did not have the time or energy to give it a spin. If you are puzzled how the heck I see those two items
related, read on :)</p>

<p>Two days later, today, I ran my first analysis. Still a test run, but using the <a href="http://cdk.sf.net/">CDK</a> to perceive
atom types on the first 2.5 GB of <a href="http://pubchem.ncbi.nlm.nih.gov/">PubChem</a> data. The full data set is now 80 GB,
and I will start doing this analysis today. You might remember this already two years ago (see
<a href="http://chem-bla-ics.blogspot.com/2008/05/wicked-chemistry-and-unit-testing.html">Wicked chemistry and unit testing</a>)
for a small subset, but only now have the power to analyze all compounds. The UPPMAX system I work on has 348, each
with 8 cores. Each core has 3 GB of memory, but I am using the
<a href="http://pele.farmbio.uu.se/nightly-1.2.3/cdk-javadoc-1.2.4/org/openscience/cdk/io/iterator/IteratingPCCompoundXMLReader.html">IteratingPCCompoundXMLReader</a>
class anyway. Analyzing the 2.5 GB of data was done using 50 nodes, and finished in about a minute. Nice :)</p>

<p>Now, this first run dumped the results as a plain text file, looking like:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>CID 200234: Ti  1
CID 200235: Ti 1
CID 200237: Sb 1 Sb 2
CID 200365: S 1
CID 200761: Hg 1
CID 201374: Ce 1 Ce 2
CID 201395: As 1 
</code></pre></div></div>

<p>Simple and effective.</p>

<p>Or? And this is where the two items outlined in the first paragraph meet. No, this is not useful. Since the output
is from an analysis of PubChem, I’m sure you already figured out that the first two columns indicate the compound
being analyzed. You might also work out that then the elements are given for which the atom type perception failed.
You may even figure out that the number is likely to be the index in the connection table representation of the
molecule. Right?</p>

<p>But what about machine readability? I could, of course, write the output as CSV, but then I would loose my ability
to write the report in human readable format. And moreover, the list of failing atom types does not have a fixed
length, as you can see in the example lines given earlier.</p>

<p>Now, this is where RDF comes in. If I create my output as HTML+RDFa, I can do fancy stuff. My results page could
link directly to PubChem, so that I can inspect the actual compound. Though I could do that even with merely HTML.
But with <a href="http://www.w3.org/TR/xhtml-rdfa-primer/">RDFa</a>, I can actually make my free text log output machine
readable. I can accurately annotate what bits are informative:</p>

<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;div</span> <span class="na">about=</span><span class="s">"#200234"</span> <span class="na">typeof=</span><span class="s">"um:Compound"</span><span class="nt">&gt;</span>CID
  <span class="nt">&lt;span</span> <span class="na">property=</span><span class="s">"um:cid"</span> <span class="na">datatype=</span><span class="s">"xsd:integer"</span><span class="nt">&gt;</span>200234<span class="nt">&lt;/span&gt;</span>:
  <span class="nt">&lt;span</span> <span class="na">rel=</span><span class="s">'um:hasProblem'</span><span class="nt">&gt;</span>
    <span class="nt">&lt;span</span> <span class="na">about=</span><span class="s">'#error0'</span> <span class="na">typeof=</span><span class="s">'um:Problem'</span><span class="nt">&gt;</span>
      <span class="nt">&lt;span</span> <span class="na">property=</span><span class="s">'um:hasElement'</span><span class="nt">&gt;</span>Ti<span class="nt">&lt;/span&gt;</span>
      <span class="nt">&lt;span</span> <span class="na">property=</span><span class="s">'um:hasIndex'</span> <span class="na">datatype=</span><span class="s">'xsd:integer'</span><span class="nt">&gt;</span>1<span class="nt">&lt;/span&gt;</span>
    <span class="nt">&lt;/span&gt;</span>
  <span class="nt">&lt;/span&gt;</span>
<span class="nt">&lt;/div&gt;</span>
</code></pre></div></div>

<p>The file is not backed up by an OWL ontology, but where possible one would do that. Reuse of ontologies is a good
thing (e.g. use a service like <a href="http://schemapedia.com/">Schemapedia</a>).</p>

<p>Now, I can easily open up this file in a web browser (follow <a href="http://rdf.farmbio.uu.se/uppmax-cdk/results.html">this link</a>)
and get the same view as above. But I can also import the file directly into Bioclipse (see
<a href="http://chem-bla-ics.blogspot.com/2010/01/semantic-web-features-in-bioclipse-22.html">Semantic Web features in Bioclipse 2.2</a>),
or in any other tool that supports RDFa. I can then use SPARQL to do some first analysis, for example, with:</p>

<div class="language-sparql highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">PREFIX</span><span class="w"> </span><span class="nn">um</span><span class="o">:</span><span class="w"> </span><span class="nn">&lt;http://egonw.github.com/uppmax&gt;</span><span class="w">

</span><span class="k">SELECT</span><span class="w"> </span><span class="nv">?elem</span><span class="w"> </span><span class="p">(</span><span class="nb">count</span><span class="p">(</span><span class="o">*</span><span class="p">)</span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="nv">?count</span><span class="p">)</span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="p">{</span><span class="w">
  </span><span class="nv">?compound</span><span class="w"> </span><span class="nn">um</span><span class="o">:</span><span class="ss">cid</span><span class="w"> </span><span class="nv">?cid</span><span class="p">;</span><span class="w">
     </span><span class="nn">um</span><span class="o">:</span><span class="ss">hasProblem</span><span class="w"> </span><span class="nv">?problem</span><span class="w"> </span><span class="p">.</span><span class="w">
  </span><span class="nv">?problem</span><span class="w"> </span><span class="nn">um</span><span class="o">:</span><span class="ss">hasElement</span><span class="w"> </span><span class="nv">?elem</span><span class="w"> </span><span class="p">.</span><span class="w">
</span><span class="p">}</span><span class="w"> </span><span class="k">GROUP</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="nv">?elem</span><span class="w"> </span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="nv">?elem</span><span class="w">
</span></code></pre></div></div>

<p>Combine that with the <a href="http://rdfadev.sourceforge.net/">RDFaDev</a> tool I wrote about last week (see
<a href="http://chem-bla-ics.blogspot.com/2010/07/rdfadev-htmlrdfa-development-with.html">RDFaDev: HTML+RDFa development with FireFox</a>).
Now you should get some feeling of the advantages of using Open Standards: I can do some initial analysis of the results,
just right there in the web browser you have open anyway:</p>

<p><img src="/blog/assets/images/rdfaLogfiles.png" alt="" /></p>

<p>Therefore, next time you ask your data analyst to perform some calculation, insist that he sends you HTML+RDFa log files with
results. Better, ask him to put it online, and you immediately reach
<a href="http://blogs.talis.com/nodalities/2010/07/the-data-publishing-three-step.php">Step 3</a>
in the analysis by David.</p>]]></content><author><name>Egon Willighagen</name></author><category term="html" /><category term="rdf" /><category term="sparql" /><category term="rdfa" /><summary type="html"><![CDATA[Richard (Talis) wrote up a three-step tutorial on how to publish your data. I think I would be more than happy if scientists reached step 1. Related, Ola asked me a while ago if I was interested in using the computing facilities of UPPMAX, and I was. But until this weekend I did not have the time or energy to give it a spin. If you are puzzled how the heck I see those two items related, read on :)]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/rdfaLogfiles.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/rdfaLogfiles.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Setting up a local Semantic MediaWiki with RDFIO and SPARQL support</title><link href="http://egonw.github.io/blog/2010/07/17/setting-up-local-semantic-wiki-with.html" rel="alternate" type="text/html" title="Setting up a local Semantic MediaWiki with RDFIO and SPARQL support" /><published>2010-07-17T00:00:00+00:00</published><updated>2010-07-17T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/07/17/setting-up-local-semantic-wiki-with</id><content type="html" xml:base="http://egonw.github.io/blog/2010/07/17/setting-up-local-semantic-wiki-with.html"><![CDATA[<p>My now former student Samuel is doing a really cool <a href="http://en.wikipedia.org/wiki/Google_Summer_of_Code">Google Summer of Code</a>
project on import and export of <a href="http://chem-bla-ics.blogspot.com/search?q=RDF">RDF</a> from a
<a href="http://semantic-mediawiki.org/">Semantic MediaWiki</a> server. His <a href="http://saml.rilspace.org/screencast-rdf-import-and-sparql-update-in-semantic-mediawiki">screencast</a>
of today shows very nicely where things are going!</p>

<p>So, time to get something installed on my <a href="http://www.ubuntu.com/">Ubuntu</a> system, based on Samuel description here:</p>

<ol>
  <li><code class="language-plaintext highlighter-rouge">sudo aptitude install mediawiki-extensions php-apc imagemagick texlive-latex-base gs-gpl cjk-latex</code></li>
  <li>configure MediaWiki
    <ol>
      <li><code class="language-plaintext highlighter-rouge">zcat /usr/share/doc/mediawiki/README.Debian.gz | more</code></li>
      <li>follow instructions on <a href="http://www.mediawiki.org/wiki/Manual:Installing_Mediawiki_on_Ubuntu_10.04">http://www.mediawiki.org/wiki/Manual:Installing_Mediawiki_on_Ubuntu_10.04</a></li>
      <li>create a MySQL account as described <a href="http://techpad.co.uk/content.php?sid=89">here</a></li>
      <li>do config stuff at <a href="http://localhost/mediawiki/config/index.php">http://localhost/mediawiki/config/index.php</a></li>
    </ol>
  </li>
  <li>set up a save place for local checkouts for MediaWiki extensions
    <ol>
      <li><code class="language-plaintext highlighter-rouge">sudo mkdir -p /usr/local/lib/mediawiki/extensions</code></li>
      <li><code class="language-plaintext highlighter-rouge">sudo chown egonw:egonw -R /usr/local/lib/mediawiki</code></li>
    </ol>
  </li>
  <li>configure Semantic MediaWiki
    <ol>
      <li><code class="language-plaintext highlighter-rouge">cd /usr/local/lib/mediawiki/extensions</code></li>
      <li><code class="language-plaintext highlighter-rouge">svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/</code></li>
      <li><code class="language-plaintext highlighter-rouge">cd /var/lib/mediawiki/extensions</code></li>
      <li><code class="language-plaintext highlighter-rouge">sudo ln -s /usr/local/lib/mediawiki/extensions/SemanticMediaWiki</code></li>
      <li><code class="language-plaintext highlighter-rouge">sudo nano /var/lib/mediawiki/LocalSettings.php</code>
        <ol>
          <li>add: <code class="language-plaintext highlighter-rouge">include_once("/var/lib/mediawiki/extensions/SemanticMediaWiki/SemanticMediaWiki.php");</code></li>
          <li>add: <code class="language-plaintext highlighter-rouge">enableSemantics('localhost');</code></li>
          <li>add: <code class="language-plaintext highlighter-rouge">$smwgShowFactbox= SMW_FACTBOX_NONEMPTY;</code></li>
        </ol>
      </li>
      <li>visit <a href="http://localhost/mediawiki/indSpecial:SMWAdminSpecial:SMWAdminex.php/Special:SMWAdmin">http://localhost/mediawiki/indSpecial:SMWAdminSpecial:SMWAdminex.php/Special:SMWAdmin</a></li>
    </ol>
  </li>
</ol>

<p>Next step is to install Samuel’s extension in its requirements:</p>

<ol>
  <li>set up the required extensions SMWWriter and POM:
    <ol>
      <li><code class="language-plaintext highlighter-rouge">cd /usr/local/lib/mediawiki/extensions</code></li>
      <li><code class="language-plaintext highlighter-rouge">svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SMWWriter/</code></li>
      <li><code class="language-plaintext highlighter-rouge">svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageObjectModel/</code></li>
      <li><code class="language-plaintext highlighter-rouge">cd /var/lib/mediawiki/extensions</code></li>
      <li><code class="language-plaintext highlighter-rouge">sudo ln -s /usr/local/lib/mediawiki/extensions/SMWWriter</code></li>
      <li><code class="language-plaintext highlighter-rouge">sudo ln -s /usr/local/lib/mediawiki/extensions/PageObjectModel/</code></li>
    </ol>
  </li>
  <li>apply the patch (where is it filed upstream?)
    <ol>
      <li><code class="language-plaintext highlighter-rouge">cd SMWWriter</code></li>
      <li><code class="language-plaintext highlighter-rouge">wget http://saml.rilspace.com/smwwriter-fixesfor-rdfio-20100716-r2.patch</code></li>
      <li><code class="language-plaintext highlighter-rouge">patch -p0 &lt; smwwriter-fixesfor-rdfio-20100716-r2.patch</code></li>
    </ol>
  </li>
  <li>set up the RDFIO work from Samuel
    <ol>
      <li><code class="language-plaintext highlighter-rouge">cd /usr/local/lib/mediawiki/extensions</code></li>
      <li><code class="language-plaintext highlighter-rouge">mkdir RDFIO</code></li>
      <li><code class="language-plaintext highlighter-rouge">cd RDFIO</code></li>
      <li><code class="language-plaintext highlighter-rouge">svn checkout http://smwrdfio.googlecode.com/svn/trunk/ .</code></li>
      <li><code class="language-plaintext highlighter-rouge">sudo nano /var/lib/mediawiki/LocalSettings.php</code>
        <ol>
          <li>and add the RDFIO blob given on Samuel’s <a href="http://code.google.com/p/smwrdfio/wiki/InstallAll">Install page</a></li>
        </ol>
      </li>
    </ol>
  </li>
  <li>install ARC2
    <ol>
      <li><code class="language-plaintext highlighter-rouge">cd /usr/local/lib/mediawiki/extensions/SemanticMediaWiki/libs</code></li>
      <li><code class="language-plaintext highlighter-rouge">wget http://code.semsol.org/source/arc.tar.gz</code></li>
      <li><code class="language-plaintext highlighter-rouge">tar zxvf arc.tar.gz</code></li>
    </ol>
  </li>
  <li>install the RDFIO pages onto the main page for easy access, add:
    <ol>
      <li><code class="language-plaintext highlighter-rouge">[[Special:ARC2Admin|ARC2Admin]]</code></li>
      <li><code class="language-plaintext highlighter-rouge">[[Special:RDFImport|RDFImport]]</code></li>
      <li><code class="language-plaintext highlighter-rouge">[[Special:SPARQLEndpoint|SPARQLEndpoint]]</code></li>
    </ol>
  </li>
</ol>

<p>That’s it. Not quite the 5 minutes that Samuel promised me, but I’m happy to have this available for my conference
tour next month! I installed the default RDF, and got the nice default wiki page to which I can now start adding
manual annotation:</p>

<p><img src="/blog/assets/images/rdfImport.png" alt="" /></p>

<p>If you are wondering about the use case, this RDF import is ideal for building up knowledge bases, as detailed in my
<a href="http://chem-bla-ics.blogspot.com/2010/06/critical-mass-for-open-notebook-science.html">Critical mass for Open Notebook Science wikis by prepopulation with RDF data</a>
post last month. Just aggregate the info on the web you can find (yes, that’s another story), put it in your wiki
and complement it with your local knowledge, import into <a href="http://www.bioclipse.net/">Bioclipse</a>,
and run your analyses to verify your hypotheses!</p>

<p>Thanx to <a href="http://saml.rilspace.org/">Samuel</a> for this really great work!</p>]]></content><author><name>Egon Willighagen</name></author><category term="rdf" /><category term="sparql" /><category term="wiki" /><category term="bio2rdf" /><category term="bioclipse" /><summary type="html"><![CDATA[My now former student Samuel is doing a really cool Google Summer of Code project on import and export of RDF from a Semantic MediaWiki server. His screencast of today shows very nicely where things are going!]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/rdfImport.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/rdfImport.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Critical mass for Open Notebook Science wikis by prepopulation with RDF data</title><link href="http://egonw.github.io/blog/2010/06/26/critical-mass-for-open-notebook-science.html" rel="alternate" type="text/html" title="Critical mass for Open Notebook Science wikis by prepopulation with RDF data" /><published>2010-06-26T00:00:00+00:00</published><updated>2010-06-26T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/06/26/critical-mass-for-open-notebook-science</id><content type="html" xml:base="http://egonw.github.io/blog/2010/06/26/critical-mass-for-open-notebook-science.html"><![CDATA[<p>One of the problems with Open Data, - Source, and Standards (<a href="http://chem-bla-ics.blogspot.com/2007/10/why-odosos-is-important.html">ODOSOS</a>) is
to get critical mass: for the project to move forward, you need both a good user community and an active developers community. The first is the
crucial reward for the latter: people using your work is the incentive. Sometimes, a project does not succeed in doing that; Rich was
<a href="http://depth-first.com/">questioning</a> if his <a href="http://chempedia.com/">ChemPedia</a> project <a href="http://depth-first.com/articles/2010/06/22/what-about-chempedia">built up enough mass</a>.</p>

<p>This also applies to wikis. <a href="http://wikipedia.org/">WikiPedia</a> clearly has enough critical mass, but is struggling with scaling, which is another
problem you can encounter. Building a dedicated, domain specific wiki allows you to do things the way you like. For example, the can be used to
build up the knowledge base around a specific problem. For example, HIV drugs (see <a href="http://hivdb.stanford.edu/">HIVdb</a> as an example knowledge base).
The wiki could contain information you need for your data analysis. The developers team will likely be small, but the data will be highly curated.
You are basically both the developer and the user community. Hopefully, in good <a href="http://en.wikipedia.org/wiki/Open_Notebook_Science">Open Notebook Science</a>
manner, things will grow, and others will join in on building the knowledge base.</p>

<p><a href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki">Semantic MediaWiki</a> bridges the human readable wiki content, with machine readable RDF
content. This wiki does require some additional annotation, but at the same time makes important facts machine readable. The
<a href="http://wiki.bioclipse.net/">Bioclipse Wiki</a> is using it, though we are not yet taking advantage of the RDF exposure.</p>

<p>Now, returning to the critical mass aspect we started with. Samuel, who did a project with me on reasoning with
<a href="http://saml.rilspace.org/content/3rd-project-update-integrating-swi-prolog-for-semantic-reasoning-in-bioclipse">Prolog in Bioclipse</a>, is now
doing a <a href="http://en.wikipedia.org/wiki/Google_Summer_of_Code">Google Summer of Code</a> <a href="http://saml.rilspace.org/tags/gsoc2010">project</a>
(is there any significance in the fact that three <a href="http://www.bioclipse.net/">Bioclipse</a> developers are student or have been mentor in the GSoC? :)
within the Semantic MediaWiki project. In particular, one of the things he was just working on, is the
<a href="http://saml.rilspace.org/populating-smw-from-rdfxml-first-test">import of RDF into a wiki</a>.</p>

<p>Oh goodies! That is pretty cool, don’t you think? Just pull together RDF from your field of interest, drop it on the wiki, and you have your
initial wiki the experts can continue to curate, add facts, etc. He already told me about his plans to add a
<a href="http://en.wikipedia.org/wiki/SPARQL">SPARQL</a> end point for the Semantic MediaWiki software.</p>]]></content><author><name>Egon Willighagen</name></author><category term="openscience" /><category term="opendata" /><category term="sparql" /><category term="wiki" /><category term="gsoc" /><summary type="html"><![CDATA[One of the problems with Open Data, - Source, and Standards (ODOSOS) is to get critical mass: for the project to move forward, you need both a good user community and an active developers community. The first is the crucial reward for the latter: people using your work is the incentive. Sometimes, a project does not succeed in doing that; Rich was questioning if his ChemPedia project built up enough mass.]]></summary></entry><entry><title type="html">OpenTox Virtual Seminar, Thursday April 1, 11.00 CEST</title><link href="http://egonw.github.io/blog/2010/04/01/opentox-virtual-seminar-thursday-april.html" rel="alternate" type="text/html" title="OpenTox Virtual Seminar, Thursday April 1, 11.00 CEST" /><published>2010-04-01T00:00:00+00:00</published><updated>2010-04-01T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/04/01/opentox-virtual-seminar-thursday-april</id><content type="html" xml:base="http://egonw.github.io/blog/2010/04/01/opentox-virtual-seminar-thursday-april.html"><![CDATA[<p>Today I gave a presentation of my research, the <a href="http://www.blogger.com/cdk.sf.net">CDK</a>, <a href="http://www.bioclipse.net/">Bioclipse</a>,
and <a href="http://chem-bla-ics.blogspot.com/search/label/RDF">recent RDF work</a>:</p>

<p><a href="https://doi.org/10.5281/zenodo.3366049"><img src="/blog/assets/images/opentox_2010_slides_cover.png" alt="" /></a></p>

<p>Because the virtual talk required me to reboot into Windows, I could not give a live demo of the development version of Bioclipse, showing new stuff in action. The audience had to with just screenshots :( I’ll try to make a screencast soon.</p>

<p>The <a href="http://wiki.bioclipse.net/index.php?title=OpenTox">Bioclipse OpenTox</a> plugin currently has this functionality:</p>

<ol>
  <li>download data sets (myexperiment:<a href="http://www.myexperiment.org/workflows/1008">1008</a>)</li>
  <li>list available algorithms and descriptors (myexperiment:<a href="http://www.myexperiment.org/workflows/1204">1204</a>)</li>
</ol>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="bioclipse" /><category term="rdf" /><category term="doi:10.5281/ZENODO.3366049" /><category term="sparql" /><category term="opentox" /><summary type="html"><![CDATA[Today I gave a presentation of my research, the CDK, Bioclipse, and recent RDF work:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/opentox_2010_slides_cover.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/opentox_2010_slides_cover.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>