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.
Phone Ringtone For You: Phone Ringtone For You
Phone Ringtone For You: Phone Ringtone For You
Mobile Phone Ringtone: Mobile Phone Ringtone
Mobile Phone Ringtone: Mobile Phone Ringtone
About Money About Money
About Money About Money
Airfares Online Airfares Online
Airfares Online Airfares Online
Airline Ticket Companies Airline Ticket Companies
Airline Ticket Companies Airline Ticket Companies
Airline Ticket Companies Airline Ticket Companies
Airline Ticket Companies Airline Ticket Companies
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 PMBest 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 AMBest House Zone Best House Zone
http://best-house-zone.com
Posted by: Best House Zone on July 19, 2005 09:02 AMCigarette Central Cigarette Central
http://cigarette-central.com
Posted by: Cigarette Central on July 20, 2005 08:48 AMComputers Info Computers Info
http://computers-info.net
Posted by: Computers Info on July 20, 2005 12:05 PMCigarette Central Cigarette Central
http://cigarette-central.com
Posted by: Cigarette Central on July 20, 2005 01:01 PMComputers Info Computers Info
http://computers-info.net
Posted by: Computers Info on July 20, 2005 01:07 PMhttp://discount-perfume-price.com
Posted by: Discount Perfume Price on July 20, 2005 06:21 PMhttp://domain-name-price.com
Posted by: Domain Name Price on July 20, 2005 08:37 PMhttp://discount-perfume-price.com
Posted by: Discount Perfume Price on July 20, 2005 08:47 PMhttp://domain-name-price.com
Posted by: Domain Name Price on July 21, 2005 01:11 AMhttp://fast-depression-help.com
Posted by: Fast Depression Help on July 21, 2005 07:25 AMhttp://fast-depression-help.com
Posted by: Fast Depression Help on July 21, 2005 08:28 AMhttp://fast-depression-help.com
Posted by: Fast Depression Help on July 21, 2005 10:54 AMhttp://fast-depression-help.com
Posted by: Fast Depression Help on July 21, 2005 12:17 PMhttp://best-price-cruises.net
Posted by: Best Price Cruises on July 21, 2005 09:16 PMLooking for announces
Posted by: oreck vacuums on July 25, 2005 03:19 AMhttp://trading.stock-a.com/6fnpu335/ exampleglidetaking
Posted by: rainbow on July 27, 2005 10:36 PMhttp://www.stock-a.com/7578416/ causedisdainfamous
Posted by: challenge on July 31, 2005 10:31 AMKeep going!
Posted by: concert tickets on August 1, 2005 04:09 AMhttp://xxx.prisonrapelife.com/fyijojqi/ advancesbrainsswallow
Posted by: piston on August 6, 2005 11:52 PMThank 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 AMThanks! 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 AMestradiol. cheap estradiol, buy estradiol, estradiol online. More link cheap estradiol. Very good site!
Posted by: estradiol on August 7, 2005 12:58 PMestradiol online. cheap estradiol, buy estradiol, estradiol online. Also buy estradiol. Hello guys.
Posted by: estradiol online on August 7, 2005 12:58 PMwellbutrin. cheap wellbutrin, buy wellbutrin, wellbutrin online. Also buy wellbutrin. Great web site!
Posted by: wellbutrin on August 7, 2005 12:59 PMwinstrol. cheap winstrol, buy winstrol, winstrol online. Also buy winstrol. Your site is fantastic.
Posted by: winstrol on August 7, 2005 12:59 PMThank 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 PMThanks! 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 PMGood 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 PMNice 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