Dave Beckett – Journalblog
RDF and free software hacking

Triplr – stuff in, triples out

I’ve made a new thing: Triplr for GETting semwebby data. Go check it out.

It’s unrelated to the other older new thing not previously mentioned in a blog post: Flickcurl which is the C library I made for the Flickr API (about 25% complete) although I did steal the cute name from the utility which turns a Flickr photo’s description into triples, with the help of the new machine tags support. My conversion could be improved, I had to invent some namespaces.

12 Responses to “Triplr – stuff in, triples out”

  1. Dave Beckett Says:

    Maybe I shouldn’t have mentioned Flickcurl at the same time, people are trying to use it on Flickr HTML pages with not much success as I can see from the logged XML parser error messages.

  2. Michael Hausenblas Says:

    Hi Dave,

    Cool stuff. Q: Not so sure, does it support RDFa, already?

    Cheers, Michael

  3. Dan Brickley Says:

    Hi Dave!

    Handy tool! A few comments:

    – your blog post is more informative than the what/why/when/how docs on the actual site, could you link it? – a simple web form (URL plus drop-down for format) that redirected to a triplr page would be handy – could you assume “http://” if not supplied, to pretty-up the urls? – “Cannot use URI http://triplr.org/turtle/http://danbri.org/foaf.rdf – go read about recursion.” :) – might be nice to allow multiple URLs, for quick graph composition er smushups…?

    cheers,

    Dan

  4. Graham Higgins Says:

    Interesting. On I’ve take a different approach and I do use Beautiful Soup, so that the text context can be processed (trivially). “Ratonit” is very exploratory, I wanted to test whether a frequency count of non-stop words might provide some trivial automatic tagging (there’s a looong way to go yet). I’m using Python to do the processing.

    Can Triplr handle application/xhtml+xml? Triplr seems to be deeply offended at the lack of an RSS feed on http://bel-epa.com/

  5. Tim Says:

    Here, have a bookmarklet: triplr.

  6. Tim Says:

    It seems to break when the page contains two head profiles, eg

    This appears in my URL, above.

  7. Dave Beckett Says:

    @Dan: My blog post is barely 1 line, don’t you mean the reverse? The what/why/when/how are much longer.

    http://triplr.org/turtle/http://danbri.org/foaf.rdf works for me, doesn’t give the friendly recursion message.

    HTML forms are so old skool. I’d have to learn Javascript to make some fancy interactive widget.

    Multiple URIs is unlikely, I want to keep it clean and the semantics of last-modified clear, which doesn’t work with aggregations.

  8. Dave Beckett Says:

    @Michael: RDFa would work if there is a working GRDDL profile and XSLT, but I’ve never seen one that worked so far.

  9. Dave Beckett Says:

    @Tim: Your head profile is wrong, you have to use actual spaces to separate the URIs. %20 is not a space, it’s part of the URI. See http://triplr.org/when for an example.

  10. out boy » Triplr - stuff in, triples out Says:

    [...] unknown wrote an interesting post today onHere’s a quick excerptGo check it out. It’s unrelated to the other older new thing not previously mentioned in a blog post: Flickcurl which is the C library I made for the Flickr API (about 25% complete) although I did steal the cute name from the utility … [...]

  11. Bernard D. Tremblay (ben) Says:

    Triplr dutifully/gratefully b’marked, del.ic’d, and tweeted.

    –bentrem

    p.s. http://discoursedb.org/RDF/

  12. AI3:::Adaptive Information » Blog Archive » OpenLink Plugs the Gaps in the Structured Web Says:

    [...] and others who use Web services in combination or not with proprietary languages to expose data. Dave Beckett’s recently announced Triplr works in a similar manner.) This similarity of approach is why OpenLink [...]

Presented by WordPress