<?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/nanowiki.xml" rel="self" type="application/atom+xml" /><link href="http://egonw.github.io/blog/" rel="alternate" type="text/html" /><updated>2026-11-30T04:27:36+00:00</updated><id>http://egonw.github.io/blog/feed/by_tag/nanowiki.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">Plotting RDF data with a Semantic Media Wiki</title><link href="http://egonw.github.io/blog/2011/06/09/plotting-rdf-data-with-semantic-media.html" rel="alternate" type="text/html" title="Plotting RDF data with a Semantic Media Wiki" /><published>2011-06-09T00:00:00+00:00</published><updated>2011-06-09T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/06/09/plotting-rdf-data-with-semantic-media</id><content type="html" xml:base="http://egonw.github.io/blog/2011/06/09/plotting-rdf-data-with-semantic-media.html"><![CDATA[<p>I was not aware of that earlier, but data you have present in a semantic form
in <a href="http://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats/jqplotbar_and_jqplotpie_formats">MediaWiki</a>
can be plotted using <a href="https://www.jqplot.com/">jqplot</a>:</p>

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

<p>The wiki source for the plot in this screenshot looks like:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{{#ask: [[Category:Measurements]] [[Has Study::{{PAGENAME}}]] [[Has Endpoint::PercentageNonViableCells]]
\| ?Has Endpoint Value
\| format=jqplotbar
\| sort=Has Endpoint Value
\| order=ascending
\| height=250
\| width=600
}}
</code></pre></div></div>

<p>I am wondering if there is a <code class="language-plaintext highlighter-rouge">{{#sparql:</code> equivalent that I can use.</p>]]></content><author><name>Egon Willighagen</name></author><category term="rdf" /><category term="semweb" /><category term="nanowiki" /><summary type="html"><![CDATA[I was not aware of that earlier, but data you have present in a semantic form in MediaWiki can be plotted using jqplot:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/smwPlot.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/smwPlot.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>