Active
Project:
FOAF
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2006 at 20:20 UTC
Updated:
28 Sep 2006 at 20:20 UTC
SIOC plugin for Drupal provides a way to export the complete website content using SIOC, a Semantic Web ontology to describe online communities. SIOC ontology has mappings with FOAF, and a foaf:People is linked to a sioc:User (i.e. a Drupal account) using foaf:holdsAccount. Thus, it would be nice to have this link between both in FOAF export created.
To do so, the following lines need to be included in foaf_export function
if(module_exist('sioc')) {
$output.= ' <foaf:holdsAccount rdf:resource="'.url("sioc/user/$uid#user", null, null, true).'" rdfs:seeAlso="'.url("sioc/user/$uid", null, null, true).'" />';
}
(eg: http://apassant.net/dev/drupal/?q=foaf/1)
Would be great to include it in FOAF plugin, so that it will help to get the mapping between these 2 ontologies in Drupal exports.
NB: more about sioc at http://sioc-project.org