February 10, 2004

Get Your FOAF On: Events

Been to any good gigs lately? Why not record this additional information in your FOAF description?

Continuing the Get Your FOAF On series I'll show you how to describe your attendance at an event, with some specific notes on conference attendance.

Describing events isn't a goal for FOAF, but it is a goal of the RDF Calendar group who are developing an RDF schema for capturing calendar information. The RDF Calendar Taskforce, is an article I wrote for XML.com some time ago now, but provides some useful background on that groups activities and goals. They're obviously much further along now and you can now found some detailed, and growing, documentation of their current calendaring vocabulary in the ESW Wiki: RDF Calendar Documentation.

One obvious way to tie together your FOAF description and your calendar, already expressed in RDF iCal, is to simply add an rdfs:seeAlso property to your description to point at your calendar:


<foaf:Person xmlns:ical="http://www.w3.org/2002/12/cal/ical#">
<foaf:name>Pope Gregory XIII</foaf:name>
<rdfs:seeAlso>
<ical:Vcalendar rdf:about="http://pope.gregory.name/calendar.rdf"/>
</rdfs:seeAlso>
</foaf:Person>

In the above snippet we are indicating the type of the resource involved in the the rdfs:seeAlso relationship to indicate to a Scutter that it can expect to find calendar data at the target URL.

But how does one go about creating an RDF iCal description? There are several different ways. Firstly many applications, including Mozilla and iCal will generate a calendar in the original iCalendar ("ics") format. From there you can easily convert it into the RDF version using Masahide Kanzaki's online RDF iCalendar convertor.

The convertor allows you to convert data by pasting it into the provided text box (if you've got in stashed on your hard drive) or by passing it a URL (if you've shared it online). If you're a .mac user you can simply grab the "Download" link from you're online calendar and pass it to the convertor in the box provided. Be sure to uncheck the "use XSLT for rendering" checkbox on the RDFiCal convertor so that you get the raw RDF rather than an HTML view of your calendar.

Another pain-free way to get yourself an RDF iCalendar is to use eventSherpa which will perform all the heavy-lifting for you, including automatic conversion to RDF. I've not used
these service personally, so would be interested in hearing other peoples opinions.

Let's assume for a moment though that, like me, you're not organized enough to actually maintain a calendar. What if you want to just list your attendance at an event, e.g. a gig, directly in your FOAF description?

You can do this by adding RDF iCal statements directly into your FOAF description. Here's an example that you can use as a template. Assume for the sake of the example that the ical namespace (http://www.w3.org/2002/12/cal/ical#) has already been declared:


<foaf:Person rdf:nodeID="me">
<foaf:name>Leigh Dodds</foaf:name>
</foaf:Person>
<ical:Vevent>
<ical:attendee rdf:nodeID="me"/>
<ical:summary>Big Chill Festival 2003</ical:summary>
<ical:dtstart rdf:parseType='Resource'>
<ical:date>2003-08-01</ical:date>
</ical:dtstart>
<ical:dtend rdf:parseType='Resource'>
<ical:date>2003-08-03</ical:date>
</ical:dtend>
</ical:Vevent>

Which says that I attended the Big Chill Festival between 1-3 August 2003. The event is described with a simple summary, as well at the start and end dates. The ical:attendee property is used to tie me (the attendee) to the event. Check the RDF Calendar Documentation for more details on other useful properties of events.

Rather than hand-code multiple events why not try out the RDFiCal-a-Matic another handy tool from Masahide Kanzaki. Just like the FOAF-a-Matic this is a simple Javascript application that lets you fill out some form fields to generate your RDF data.

There's an outstanding problem with describing events that's worth summarising before we move on: there's no unique identifier for the event, and hence no easy way to merge event descriptions together. In FOAF this is typically solved by defining an Inverse Functional Property that can be used to identify and merge resources. However there are no such properties currently defined for events. One possible workaround is to use foaf:homepage property, assuming the event your describing has a distinct homepage, which unfortunately isn't always the case. As an end user though this shouldn't dissuade you from marking up the data; I'll update this tutorial with additional information as it becomes available.

Libby Miller has some good discussion of this and related issues on her weblog.

In the next installment of this series I'll look at bit closer at some distinct types of events: Conferences, Births, Deaths and Marriages.

Posted by ldodds at February 10, 2004 12:58 PM | Feedback? | | TrackBack
Comments

Phone Ringtone For You: Phone Ringtone For You


Phone Ringtone For You


http://phone-ringtone-4you.com

Posted by: Phone Ringtone For You on July 12, 2005 11:44 PM
Comments

Phone Ringtone For You: Phone Ringtone For You


Phone Ringtone For You


http://phone-ringtone-4you.com

Posted by: Phone Ringtone For You on July 13, 2005 04:15 AM
Comments

Mobile Phone Ringtone: Mobile Phone Ringtone


Mobile Phone Ringtone


http://mobile-phone-ringtone-online.com

Posted by: Mobile Phone Ringtone on July 13, 2005 06:59 PM
Comments

Mobile Phone Ringtone: Mobile Phone Ringtone


Mobile Phone Ringtone


http://mobile-phone-ringtone-online.com

Posted by: Mobile Phone Ringtone on July 13, 2005 09:01 PM
Comments

About Money About Money


About Money


http://about-money-world.com

Posted by: About Money on July 15, 2005 06:45 PM
Comments

About Money About Money


About Money


http://about-money-world.com

Posted by: About Money on July 15, 2005 11:32 PM
Comments

Airfares Online Airfares Online


Airfares Online


http://airfares-online.net

Posted by: Airfares Online on July 16, 2005 01:42 PM
Comments

Airfares Online Airfares Online


Airfares Online


http://airfares-online.net

Posted by: Airfares Online on July 16, 2005 05:37 PM
Comments

Airline Ticket Companies Airline Ticket Companies


Airline Ticket Companies


http://airline-ticket-companies.com

Posted by: Airline Ticket Companies on July 17, 2005 01:51 PM
Comments

Airline Ticket Companies Airline Ticket Companies


Airline Ticket Companies


http://airline-ticket-companies.com

Posted by: Airline Ticket Companies on July 17, 2005 01:54 PM
Comments

Airline Ticket Companies Airline Ticket Companies


Airline Ticket Companies


http://airline-ticket-companies.com

Posted by: Airline Ticket Companies on July 17, 2005 05:35 PM
Comments

Airline Ticket Companies Airline Ticket Companies


Airline Ticket Companies


http://airline-ticket-companies.com

Posted by: Airline Ticket Companies on July 17, 2005 05:35 PM
Comments

Best Car Insurance Companies Best Car Insurance Companies

http://best-car-insurance-companies.com

Posted by: Best Car Insurance Companies on July 18, 2005 07:47 PM
Comments

Best Car Insurance Companies Best Car Insurance Companies

http://best-car-insurance-companies.com

Posted by: Best Car Insurance Companies on July 19, 2005 01:23 AM
Comments

Best House Zone Best House Zone

http://best-house-zone.com

Posted by: Best House Zone on July 19, 2005 09:02 AM
Comments

Cigarette Central Cigarette Central

http://cigarette-central.com

Posted by: Cigarette Central on July 20, 2005 08:48 AM
Comments

Computers Info Computers Info

http://computers-info.net

Posted by: Computers Info on July 20, 2005 12:05 PM
Comments

Cigarette Central Cigarette Central

http://cigarette-central.com

Posted by: Cigarette Central on July 20, 2005 01:01 PM
Comments

Computers Info Computers Info

http://computers-info.net

Posted by: Computers Info on July 20, 2005 01:07 PM
Comments

Discount Perfume Price

http://discount-perfume-price.com

Posted by: Discount Perfume Price on July 20, 2005 06:21 PM
Comments

Domain Name Price

http://domain-name-price.com

Posted by: Domain Name Price on July 20, 2005 08:37 PM
Comments

Discount Perfume Price

http://discount-perfume-price.com

Posted by: Discount Perfume Price on July 20, 2005 08:47 PM
Comments

Domain Name Price

http://domain-name-price.com

Posted by: Domain Name Price on July 21, 2005 01:11 AM
Comments

Fast Depression Help

http://fast-depression-help.com

Posted by: Fast Depression Help on July 21, 2005 07:25 AM
Comments

Fast Depression Help

http://fast-depression-help.com

Posted by: Fast Depression Help on July 21, 2005 08:28 AM
Comments

Fast Depression Help

http://fast-depression-help.com

Posted by: Fast Depression Help on July 21, 2005 10:54 AM
Comments

Fast Depression Help

http://fast-depression-help.com

Posted by: Fast Depression Help on July 21, 2005 12:17 PM
Comments

Fast Gift Idea

http://fast-gift-idea.com

Posted by: Fast Gift Idea on July 21, 2005 12:33 PM
Comments

Fast Gift Idea

http://fast-gift-idea.com

Posted by: Fast Gift Idea on July 21, 2005 01:11 PM
Comments

Best Price Cruises

http://best-price-cruises.net

Posted by: Best Price Cruises on July 21, 2005 09:16 PM
Comments

Free Smiley Face

http://free-smiley-face.com

Posted by: Free Smiley Face on July 22, 2005 07:16 AM
Comments

Free Smiley Face

http://free-smiley-face.com

Posted by: Free Smiley Face on July 22, 2005 08:06 AM
Comments

Mega Web Hosting

http://mega-web-hosting.net

Posted by: Mega Web Hosting on July 23, 2005 08:41 AM
Comments

Mega Web Hosting

http://mega-web-hosting.net

Posted by: Mega Web Hosting on July 23, 2005 09:43 AM
Comments

Looking for announces

Posted by: oreck vacuums on July 25, 2005 03:19 AM
Comments

http://trading.stock-a.com/6fnpu335/ exampleglidetaking

Posted by: rainbow on July 27, 2005 10:36 PM
Comments

http://www.stock-a.com/7578416/ causedisdainfamous

Posted by: challenge on July 31, 2005 10:31 AM
Comments

Keep going!

Posted by: concert tickets on August 1, 2005 04:09 AM
Comments

http://xxx.prisonrapelife.com/fyijojqi/ advancesbrainsswallow

Posted by: piston on August 6, 2005 11:52 PM
Comments

Thank you! http://www.dorank.com/improvepr/ improve pagerank default. PageRank 11: google pagerank algorithm, testing of system, increase pagerank . Also [url]http://www.dorank.com/linksale/[/url] and [link=http://www.dorank.com]google rank 20[/link] from http://www.dorank.com .

Posted by: pagerank main on August 7, 2005 07:43 AM
Comments

Thanks! http://www.dorank.com/contacts/ google pr. [URL=http://www.dorank.com]pagerank 5[/URL]: google pagerank algorithm, testing of system, increase pagerank . Also [url=http://www.dorank.com]online pr16[/url] from http://www.dorank.com .

Posted by: google pr main on August 7, 2005 07:43 AM
Comments

estradiol. cheap estradiol, buy estradiol, estradiol online. More link cheap estradiol. Very good site!

Posted by: estradiol on August 7, 2005 12:58 PM
Comments

estradiol online. cheap estradiol, buy estradiol, estradiol online. Also buy estradiol. Hello guys.

Posted by: estradiol online on August 7, 2005 12:58 PM
Comments

wellbutrin. cheap wellbutrin, buy wellbutrin, wellbutrin online. Also buy wellbutrin. Great web site!

Posted by: wellbutrin on August 7, 2005 12:59 PM
Comments

winstrol. cheap winstrol, buy winstrol, winstrol online. Also buy winstrol. Your site is fantastic.

Posted by: winstrol on August 7, 2005 12:59 PM
Comments

Thank you! http://www.dorank.com/improvepr/ improve pagerank default. PageRank 11: google pagerank algorithm, testing of system, increase pagerank . Also [url]http://www.dorank.com/linksale/[/url] and [link=http://www.dorank.com]google rank 20[/link] from http://www.dorank.com .

Posted by: pagerank main on August 7, 2005 08:32 PM
Comments

Thanks! http://www.dorank.com/contacts/ google pr. [URL=http://www.dorank.com]pagerank 5[/URL]: google pagerank algorithm, testing of system, increase pagerank . Also [url=http://www.dorank.com]online pr16[/url] from http://www.dorank.com .

Posted by: google pr main on August 7, 2005 08:32 PM
Comments

Good job ! estradiol. estradiol.afreehost.net: cheap estradiol, buy estradiol, estradiol online. Also cheap estradiol from http://estradiol.afreehost.net .

Posted by: estradiol on August 8, 2005 11:24 PM
Comments

Nice work. estradiol online. estradiol.freespaces.com: cheap estradiol, buy estradiol, estradiol online. buy estradiol from http://estradiol.freespaces.com .

Posted by: estradiol online on August 8, 2005 11:24 PM
-->