Excel RDF
Introduction
When world’s collide sometimes things happen that can be useful. This is not one of those useful things, but a collision of two worlds none-the-less…
ExcelRDF is a proposed serialisation for RDF using the Microsoft Excel Spreadsheet format. This work was inspired by the discussions in the semantic web community about Linked Data and whether or not it mandates the use of RDF. This document is not trying to prove a point, insult anyone or come down on either side of the argument. I just noticed that it hadn’t been done and it didn’t seem too difficult. Of course, that it hadn’t been done should have been enough of a warning to me that it is not, in any sense, desirable.
Conventions used in this document
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.
Overview
When a server receives a HTTP or HTTPS request for a resource that is described in RDF and the client indicates that it is willing to accept content of type application/vnd.ms-excel the server MAY respond with a Microsoft Excel spreadsheet meeting the following conventions.
- The spreadsheet MUST contain one or more sheets that meet the following conventions.
- A sheet SHOULD contain zero or more rows of RDF data.
- Column A of each non-empty row of a sheet SHOULD contain a URI indicating the Subject of a statement.
- Column B of each non-empty row of a sheet SHOULD contain a URI indicating the Property of a statement.
- Column C MAY contain either a URI or a literal value as the Object of a statement.
- If Column C contains a literal value then Column D MAY contain a language identifier in accordance with IETF BCP 47.
- If Column C contains a literal value then Column E MAY contain a type specifier indicating the type of the literal value.
Example
The attached example Microsoft Excel spreadsheet contains RDF from the dbpedia project describing Annette Island Airport using the conventions described above.
Use Cases
ExcelRDF may be useful where it is desirable to produce charts showing characteristics of a dataset, such as the relative distribution of types within a dataset. Perhaps analysing the count of particular properties. I can think of no obvious way to assess graph characteristics such as linkiness, but you could do things like word counts in literals, or working out how of the literal data is in French.
ExcelRDF may be useful where a specific contract, policy or agreement means that the data must be delivered as an Excel spreadsheet while the underlying data is more useful in RDF.
ExcelRDF may be useful if you wish to be deliberately obtuse.
4 Comments to Excel RDF
Nice. The point this proves to me is that RDF does not mean XML, or any other particular serialization. An Excel spreadsheet prepared according to your spec would in fact _BE_ RDF. So it’s impact on the argument about whether linked data needs to be RDF…. is unclear.
If column C may contain either a URI or a literal value, how do you tell the difference between the two? Some literal values look like URIs (eg the value of dc:identifier).
It’s a short step from this to RDF/CSV, which would arguably be more useful (since it wouldn’t be surrounded in MS Excel cruft).
July 22, 2009
@Jonathan – yes, a very important point.
@Jeni RDF/CSV was my initial thought, but Excel seemed somewhat more perverse… Suggestions as to how to distinguish URIs and literals in Object columns welcomed. New someone would spot that :-( Glad it was you.
Let me point you to a tool that represents any Linked Data RDF description as csv file (which conveys essentially the same information as a spreadsheet) by the means of a virtual file system: the paper is at http://events.linkeddata.org/ldow2009/papers/ldow2009_paper1.pdf and you can download the virtual file system driver at http://lodfs.sourceforge.net
Leave a comment
Additional comments powered by BackType
Search
What I'm Doing...
- @JingyeL I don't know yet, someone from here will be. in reply to JingyeL 2 days ago
- @JingyeL are you going to ISWC 2010 in November, Shanghai ? 2 days ago
- Back from work to find 666 unread emails waiting for me — must be a sign... 2 days ago
- More updates...
Recent Comments
- Puia on ISBN 10/13 Converter in Excel
- tee on Fixing a plasma TV
- computer doctor on Fixing a plasma TV
- Mars on left wondering…
- neeli on Pranav Mistry: The thrilling potential of SixthSense technology | Video on TED.com
- infopeep on You’re not the one and only…
- talisians on You’re not the one and only…
- olyerickson on Semtech 2010, San Francisco
- PaulMiller on Semtech 2010, San Francisco
- ldodds on Semtech 2010, San Francisco
Categories
- .Net Technical (8)
- Blog on Blog (6)
- commands I have issued (10)
- Enterprise Architecture (19)
- event (4)
- Fiction Book Review (2)
- Food (2)
- Intellectual Property (9)
- Interaction Design (27)
- Internet Social Impact (43)
- Internet Technical (16)
- IP Law (10)
- Library Tech (19)
- Linked Data (1)
- Music (2)
- New Toy (4)
- Non-Fiction Book Review (7)
- Ontologies (6)
- Open Data (7)
- Other Technical (20)
- Personal (36)
- Random Thought (16)
- Resourcing (4)
- Review (1)
- Security And Privacy (11)
- Semantic Web (32)
- Software Business (11)
- Software Engineering (37)
- Talis Technical (9)
- Uncategorized (44)
- Working at Talis (26)
- [grid::blogpaper] (8)
- [grid::fatherhood] (4)
Archives
- July 2010 (1)
- June 2010 (2)
- February 2010 (1)
- January 2010 (4)
- November 2009 (10)
- October 2009 (4)
- September 2009 (2)
- August 2009 (9)
- July 2009 (12)
- June 2009 (5)
- May 2009 (6)
- April 2009 (7)
- March 2009 (3)
- February 2009 (6)
- January 2009 (10)
- December 2008 (4)
- November 2008 (4)
- October 2008 (9)
- September 2008 (23)
- August 2008 (8)
- July 2008 (1)
- June 2008 (1)
- May 2008 (6)
- April 2008 (14)
- March 2008 (3)
- January 2008 (5)
- December 2007 (6)
- November 2007 (13)
- October 2007 (9)
- July 2007 (2)
- June 2007 (1)
- May 2007 (10)
- April 2007 (5)
- March 2007 (11)
- February 2007 (10)
- January 2007 (13)
- December 2006 (8)
- November 2006 (8)
- September 2006 (2)
- August 2006 (1)
- June 2006 (2)
- February 2006 (2)
- January 2006 (3)
- December 2005 (3)
- November 2005 (2)
- September 2005 (2)
- August 2005 (5)
- July 2005 (8)
- June 2005 (3)
- May 2005 (2)
- February 2005 (1)
- January 2005 (4)
- December 2004 (3)
- November 2004 (6)
- October 2004 (2)
- September 2004 (2)
- August 2004 (5)
- July 2004 (1)
- June 2004 (4)
- May 2004 (4)
- April 2004 (3)
- March 2004 (13)
- February 2004 (6)
- December 2003 (3)
- November 2003 (1)
- August 2003 (2)
- July 2003 (1)
- June 2003 (2)
- May 2003 (1)
- March 2003 (1)
- January 2003 (1)
- October 2002 (1)
- May 2002 (1)
- March 2002 (1)
- August 2001 (1)
- May 2001 (1)
- April 2001 (1)
- January 2001 (1)
- December 2000 (1)
- November 2000 (1)
- December 1999 (1)
- November 1999 (1)
- July 1999 (1)
July 22, 2009