RDF in core code sprint

scor's picture
2009-05-11 10:00 - 2009-05-14 17:00 UTC
Event type: 
User group meeting

There are only a few months left before the code freeze on September 1st. Now that Fields API has settled in core, it's time to extend it with some RDF semantics. DERI Galway is hosting an RDF in Drupal code sprint during the week of May 11th until May 14th.

Goals of the code sprint

The RDF code sprint will focus on Drupal core and aim at integrating RDF semantics in it.

  1. Extend Fields API to integrate RDF mappings for each field instance. The semantics of a field can differ from a bundle to another. This can be stored either in the existing settings property or by adding a rdf_mappings property to the Field Instance objects.
  2. Modify the Fields UI (contrib) to allow RDF mappings editing.
  3. Define the appropriate mappings for the core modules, based on the RDF core mapping proposal.
  4. Patch core modules with the mappings defined above.
  5. Export these mappings in RDFa via the theme layer and keep it as generic as possible in order to ease the work of the themers.
  6. Write tests for RDF in core.
  7. Identify other non-fieldable entities in core which could benefit from being RDF-ized, and see how to annotate them. Comment is one example. Terms also, though they might become fieldable.
  8. RSS 1 (RDF) in core. Arto volunteered to get started with that.

See a list of current open RDF issues in RDF issues in core.
See also the RDF code sprint wiki page where we will keep an up to date list of goals.

Discussion and open issues

  • Should modules be allowed to change these mappings via a hook_alter?


This list is not closed. If you or your group have expertise in Drupal core development + RDF and would to participate, please contact me directly at stephane.corlosquet@deri.org. We are specifically looking for people familiar with the Fields API, theming and testing.


We are looking for sponsors to help funding travels and accommodation for some of the participants. There are a couple of developers who are willing to come but cannot afford their flight without sponsoring.

Get to Galway, Ireland

You can either fly to:

  • Dublin and get a direct bus from the airport to Galway (3h ride) for 25 euros return or alternatively get the train from Heuston station in Dublin to Galway (30min bus + 2,5 train).
  • Shannon and catch a direct bus to Galway (2h) 23 euros with Citylink.
  • Galway and catch a cab to the city (~20 euros). Flights are more expensive and mostly from the UK only.

Ryanair and Aerlingus among others fly to Ireland.


  • Sleepzone Hostel (Budget): Backpacker hostel close to the town centre/Eyre Square. Friendly staff and generally hassle free in my experience, though can be a lot of passing noise on the street outside. Free wifi in the spacious kitchen and lounge area, plus an internet room. Basic breakfast included in the price last time I stayed. Some private rooms, or you can sometimes get a whole dorm room to yourself if you don't want to share. A decent budget option.

  • Westwood House Hotel(Top End): Just across the road from DERI Galway, on the outskirts of town. Quite upmarket. I haven't stayed here, but the restaurant is decent. Possibly a good option if you just want to visit the DERI building, but maybe a bit inconvenient if you want to get to and from town frequently?

  • Corrib haven : 5 minutes walk from DERI, a nice BnB. Bacon / Eggs / Sausages for breakfast. Not sure if they have single rooms, the price for a double one is usually 35pps. They have a wifi access, but not working very well. There's another BnB in front of that one, almost the same prices. Yet, as for Westwood, it's a bit far from the city center.

  • The Abbey House BnB - Just down the road from DERI, about 3 mins walking. Right next to the Corrib Haven (see above). The website looks a bit outdated, but the BnB is nice (I stayed there myself once).

  • Snoozle's (Budget): Another backpaper hotel in the city center (2 minutes from the new coach station). Not sure they have wifi, but it's brand new and really clean, at least in the lounge / kitchen, I didn't try the rooms.


I wish I could go...

stella's picture

I wish I could go, but I've exams the following week so I'm going to have to pass on this one. Best of luck though!

oh bad, I wish I could too.

fago's picture

oh bad, I wish I could too. But I'm till Monday 11th in Switzerland :(
Anyway I'm really excited about it and I'm eager to see results!

I ll be there but ...

derwas's picture

Anyway I ll be there!!! just for having fun, discovering again and taking some pics :)

4 day sprint

scor's picture

I reduced this sprint to 4 days which should be enough to achieve the goals above. I updated the dates to finish on the 14th.

Have fun guys

dman's picture

It would be interesting to see how this comes together.
I'm on the wrong side of the planet to be dropping in, and, to be fair, probably haven't been messing close enough with Drupal7 fields to quite help out usefully.
I've got a lot of wishlist ideas I'd like to see in RDF support - especially taxonomy RDF stuff but otherwise with the knowledge management stuff too. I just haven't been able to find a way to make this big-picture metadata vision pay its own way with real-world sponsors.

Here's hoping that we can come out of this 'code sprint' with a killer app demo of some sort that - if not quite the strange mash-up demo - does at least bear fruit that can grab a large number of imaginations....


plans for taxonomy

scor's picture

Benjamin Melançon told me we might have a patch ready for having taxonomy as fields: Taxonomy.module vocabularies should be fields, which could help us to deal with taxonomy. Otherwise we'll work on a specific implementation for taxonomy (as mix of RDF API and RDF CCK). Our main goal for now is to annotate as much Drupal object with RDF, and export it as RDFa. Do you have a link to your whislist?

big-picture metadata vision, real-world sponsors

Ed_Dodds's picture

I'd like to encourage the folks on the list to consider participating in Ontolog Forum events because the organizations involved there are actually pursuing (eg budgeting for) these kinds of solutions. Please see the recent http://ontolog.cim3.net/cgi-bin/wiki.pl?OntologySummit2009 and monitor upcoming online events at http://ontolog.cim3.net/cgi-bin/wiki.pl?WikiHomePage

please consider sponsoring the event

scor's picture

I've setup a chip in to allow donations for this sprint. Please consider donating to support this effort at http://drupal.org/node/443824

I'll be there

fgm@drupal.org's picture

Glad to confirm I'll be there for my first core code sprint.

Testing outstanding issues

figaro's picture

Did the organisers think of setting up a list of outstanding issues to farm out to the offshore community for testing? At around 23:00 GMT of every day certain outstanding issues at http://drupal.org/project/issues/3060/term/418 can be flagged ready for testing. The results - if available the next day - could be helpful in focusing the onshore effort.