SIOC/IdenticaSiocData

From W3C Wiki

Identi.ca is using SIOC which is great news. But there are some minor issues w. how SIOC is used in it which is this page about.

Describe here the issues and solutions for identi.ca SIOC data (e.g. contained in its RSS feeds).

  1. A sioc:Site is linked to a sioc:Container (the feed) with sioc:container_of when actually it should use sioc:space_of.
  2. The creator of a post in their feed linked to via sioc:has_creator is a foaf:Person - as you can see when dereferencing the given URI which leads to the FOAF profile (with a 302, which should probably be changed to 303). They don't really give their user accounts any URIs so maybe they should link to the person via foaf:maker or dcterms:creator (although they already use dc:creator for a textual label of the creator so foaf:maker is probably better to avoid confusion).
  3. sioct:MicroblogPost is being used as a property to link from the feed's rdf:Seq to its items. Rather rdf:li should be used as the property here. Then, in the item descriptions, they could use <rdf:type rdf:resource="http://rdfs.org/sioc/types#MicroblogPost"/>
  4. there is an inconsistency between type of http://identi.ca/user/* resources in identi.ca info: RSS 1.0 feed of a user defines these URIs as sioc:Users (which is a subclass of foaf:OnlineAccount) while the FOAF file for a user defines the same URI as being a foaf:Person (e.g. see http://identi.ca/jasonjones/foaf vs. http://identi.ca/jasonjones/rss ). And it's even worse for a foaf:agent that is defined as a foaf:person : http://identi.ca/parisweb/foaf : Paris-web is a organization organizing conferences.

Tickets

Tickets in the Laconica issue tracker relating to FOAF and SIOC:

Patches

This patch fixes pretty much all of the above. TobyInk 08:31, 7 June 2009 (IST)

  • Sarven Capadisli has pushed the patch into the repository [1] [2] [3] [4] [5] [6] and it should appear in laconi.ca 0.8.0 which will be out in the next week or two. TobyInk 18:55, 11 June 2009 (IST)