iCal to RDF Service

This is a free service provided for those Semantic Web and Calendar enthusiasts that would like a quick conversion tool. The code from the RDF Calendar Workspace homepage at the W3C and more specifically from this python script. I needed this service for a demo we did at the 2006 W3C Tech Plenary and no one offered to host it under the W3C servers.

 

Usage: If you want to use it in your semantic web application, simply point your SPARQL query to: http://torrez.us/services/ics2rdf/[URL of iCal File]

Find sample ical data at (thanks to Kanzaki):


Comments are closed

Comments are currently closed on this entry.
  1. inkel 04.20.06 / 9am
    Hi Elias, I was trying to convert my SemWeb Events Calendar [1] but I can’t ’cause I got the following Python exception:

    UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe1 in position 7: ordinal not in range(128)

    Hope you can fix it. :)

    [1] http://www.google.com/calendar/ical/d5bagt8qb8p2jc99iulfig0k0c@group.calendar.google.com/public/basic
  2. Elias 04.21.06 / 10am
    inkel, it’s because of the accent marks (non-ascii) characters. I’ve posted the bug to the www-rdf-calendar@w3.org for a fix, if not, I’ll try looking into this myself when I get a chance. Thanks!
  3. Elias 04.21.06 / 11am
    inke, thanks to DanC, your calendar can now be converted to RDF. It was my fault in the wrapper python cgi script.

    Chat Log:

    http://chatlogs.planetrdf.com/swig/2006-04-21.html#T16-01-41
  4. inkel 04.21.06 / 1pm
    Great! Thanks a lot Elias, and of course, my thanks to DanC too :)
  5. Natespace » Blog Archive » Building a live music calendar 06.11.06 / 6pm
    [...] There is even a python script called Scrape ‘n’ Feed which will automatically turn a page scraped with BeautifulSoup into an RSS feed. This is why I love python – there is almost always a library that does exactly what you want. And there is also a python script to convert iCal into RSS. [...]
  6. Semantic Web - Some Responses at umwdtlt.org 04.15.07 / 11am
    [...] Neither RSS not Atom are RDF (except for RSS 1.0, which has a usage of about 3 percent). I also posted figures on my website just this week showing that iCal usage is something like 7 percent. iCal isn’t RDF either – hence the need for a converter http://torrez.us/ics2rdf/ and the resulting profiferation of RDF versions of iCal, none of them official. Meanwhile, neither Google nor Outlook are based in iCal. [...]
  7. Alex 05.13.07 / 1pm
    Hi Elias,

    There’s a problem converting Google calendars including a X-NUM-GUESTS property [1], do you think you can fix it in this service ?

    Thanks :)

    [1] http://lists.w3.org/Archives/Public/www-rdf-calendar/2006Oct/0005.html
  8. Stephen Paul Weber 10.23.07 / 4pm
    This scrip dies when I try
  9. Stephen Paul Weber 10.23.07 / 4pm
    Trying to post the URL that kills this script again :

    http://feeds.technorati.com/events/http://wcf.uwaterloo.ca/schedule.php

About

  • I’m married and father of three.
  • I’m a Christian and worship at CBC.
  • I co-founded Performable.
  • I’m a java, python, javascript hacker.
  • Here’s my FOAF file (and URI).
  • I’m an amateur photographer.
  • I work on the Web.
  • I participate in Open Source software development (Roller, Abdera, RDFLib, WordPress).
  • You may contact me (email or jabber/gtalk) at .

Pages