Posted by terraces on September 28, 2006 at 8:20pm
| Project: | FOAF |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
<?php
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