Assuming you already have the R statistics toolkit installed, this should be easy. Install Willem van Hage‘s R SPARQL client. I followed the instructions and it worked, although I had to also install the XML library, which was compiled and installed when I typed install.packages(“XML“, repos = “http://www.omegahat.org/R“) ‘ within the R interpreter. Yesterday I set [...]
Gremlin is a free Java/Groovy system for traversing graphs, including but not limited to RDF. This post is based on example code from Marko Rodriguez (@twarko) and the Gremlin wiki and mailing list. The test run below goes pretty slowly when run with 4 or 5 loops, since it uses the Web as its database, via [...]
This is a quick visual teaser for some archive.org-related work I’m doing with NoTube colleagues, and a collaboration with Kingsley Idehen on navigating it. In NoTube we are trying to match people and TV content by using rich linked data representations of both. I love Archive.org and with their help have crawled an experimental subset [...]
Sketchy notes. Say you’re looking for an identifier for something, and you know it’s a company/organization, and you have a label “Woolworths”. What can be done to choose amongst the results we find in DBpedia for this crude query? PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> select distinct ?x where { ?x a <http://dbpedia.org/ontology/Organisation>; rdfs:label ?l . FILTER(REGEX(?l, “Woolworths*”)). [...]
This is a followup to my Syndicating trust? Mediawiki, WordPress and OpenID post. I now have a simple implementation that exports data from WordPress: the F2F plugin. Also some experiments with consuming aggregates of this information from multiple sources. FOAF has always had a bias towards describing social things that are shown rather than merely [...]
It’s clear from discussion bouncing around IRC, Twitter, Skype and elsewhere that “Lock-in” isn’t a phrase to use lightly. So I post this to make myself absolutely clear. A few days ago I mentioned in IRC a concern that newcomers to SPARQL and RDF databases might not appreciate which SPARQL extensions are widely implemented, and [...]
From the TAG list: XML Schemas is like using a Swiss Army knife to cook with. Most Asian kitchens get by with a handful of simple tools: chopsticks, hatchet, a good knife, perhaps even a spoon. But the logic of the XSD WG is “Oh, the French need to make quenelles, we must have a [...]
I just announced this on the public-esw-thes and public-rdf-ruby lists. I started to make a Ruby API for SKOS. Example code snippet from the readme.txt (see that link for the corresponding output): require “src/jena_skos” s1 = SKOS.new(“http://norman.walsh.name/knows/taxonomy”) s1.read(“http://www.wasab.dk/morten/blog/archives/author/mortenf/skos.rdf” ) s1.read(“file:samples/archives.rdf”) s1.concepts.each_pair do |url,c| puts “SKOS: #{url} label: #{c.prefLabel}” end c1 = s1.concepts["http://www.ukat.org.uk/thesaurus/concept/1366"] # Agronomy puts [...]
The are some interesting things going on at Mozilla Labs. Yesterday, Ubiquity was all over the mailing lists. You can think of it as “what the Humanized folks did next”, or as a commandline for the Web, or as a Webbier sibling to QuickSilver, the MacOSX utility. I prefer to think of it as the [...]