{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2008/03/19/my-foaf-network-5-sparql-ing-my-network.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/f6q3q-d2e52",
      "url": "https://chem-bla-ics.linkedchemistry.info/2008/03/19/my-foaf-network-5-sparql-ing-my-network.html",
      "title": "My FOAF network #5: SPARQL-ing my network",
      "content_html": "<p><a href=\"http://www.foaf-project.org/\">FOAF rulez</a>: it’s RDF. With RDF comes <a href=\"http://www.w3.org/TR/rdf-sparql-query/\">SPARQL</a>.\nSPARQL needs a query engine, however. And there comes <a href=\"http://openrdf.org/\">OpenRDF</a> which created Sesame. I have\nto catch the train in about 15 minutes, so will not elaborate too much, but here are some\n<a href=\"http://www.openrdf.org/doc/sesame2/2.0.1/users/index.html\">Sesame 2.0.1</a> work:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>&gt; create native.\nPlease specify values for the following variables:\nRepository ID [native]: foafRepo\nRepository title [Native store]: FOAF Repository\nTriple indexes [spoc,posc]:\nRepository created\n&gt; open foafRepo\n</code></pre></div></div>\n\n<p>Creates me a new RDF storage and opens it.</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>foafRepo&gt; load http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf .\nLoading data...\nData has been added to the repository (606 ms)\n</code></pre></div></div>\n\n<p>Loads my FOAF file. Now, a simple SPARQL query that finds me all friends that now someone with the nick egonw:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>foafRepo&gt; sparql\n\nBASE &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf&gt;\nPREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;\n\nSELECT ?s ?o\nWHERE { ?s foaf:knows ?o ; foaf:nick \"egonw\" . }\n\n.\nEvaluating query...\n+-------------------------------------+-------------------------------------+\n| s                                   | o                                   |\n+-------------------------------------+-------------------------------------+\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#HenryRzepa&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#CarstenNiehaus&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#RajarshiGuha&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#JeanClaudeBradley&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#GeoffHutchison&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#ChristophSteinbeck&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#PeterMurrayRust&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#TobiasHelmus&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#StefanKuhn&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#MartinEklund&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#JohannesWagener&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#JarlWikberg&gt;|\n| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#me&gt;| &lt;http://blueobelisk.sourceforge.net/people/egonw/foaf.xrdf#JeromePansanel&gt;|\n+-------------------------------------+-------------------------------------+\n13 result(s) (15 ms)\n</code></pre></div></div>\n\n<p>Not very pretty, but rather accurate.</p>\n\n<p>More SPARQL fun later. Do try this at home, but make sure to <a href=\"http://openrdf.org/forum/mvnforum/viewthread?thread=1641\">not put a period at the end of a line in your SPARQL query</a>! :)</p>",
      "summary": "FOAF rulez: it’s RDF. With RDF comes SPARQL. SPARQL needs a query engine, however. And there comes OpenRDF which created Sesame. I have to catch the train in about 15 minutes, so will not elaborate too much, but here are some Sesame 2.0.1 work:",
      
      "date_published": "2008-03-19T00:00:00+00:00",
      "date_modified": "2008-03-19T00:00:00+00:00",
      "tags": ["foaf","rdf","sparql"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
