‘Republic of Letters’ in R / Custom Widgets for Second Screen TV navigation trails

As ever, I write one post that perhaps should’ve been two. This is about the use and linking of datasets that aid ‘second screen’ (smartphone, tablet) TV remotes, and it takes as a quick example a navigation widget and underlying dataset that show us how we might expect to navigate TV archives, in some future […]

Skosdex: SKOS utilities via jruby

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 […]

Bouncin’ around

A couple weeks ago, in a pathetic and greedsome bid to monetize you all, I added Google Adsense ads to this blog. Needless to say, the jaded foaftards who read this thing aren’t the kind to go all clicky-buyey on adverts. When I finally earn a whole dollar, I’ll celebrate by having it converted to […]

Sample SPARQL query

PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT ?book ?title ?authorname WHERE { ?book dc:creator ?author . ?author dc:type <http ://hoppa.com/Painters/> . ?author dc:title ?authorname . ?book dc:title ?title . } …works with rdf data describing some books by painters. I tested in Dave Beckett’s Redland-based online SPARQL demo. The query finds 5 results. Seems to have some encoding […]