diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-05 18:56:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-05 18:56:49 +0000 |
commit | 102a68291417b6cc7a3556c4d1ee0697a9445988 (patch) | |
tree | 441b91254200686876964cfefe3ebebc2a7aec6b /modules/taxonomy/taxonomy.module | |
parent | 8691c9f2e8c6076dc689dc4fc691b97f4a01f699 (diff) | |
download | brdo-102a68291417b6cc7a3556c4d1ee0697a9445988.tar.gz brdo-102a68291417b6cc7a3556c4d1ee0697a9445988.tar.bz2 |
- Patch #652588 by scor: updated RDF mapping definition in the core modules.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index f1c161f71..539100bb5 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1329,14 +1329,21 @@ function taxonomy_rdf_mapping() { 'mapping' => array( 'rdftype' => array('skos:Concept'), 'name' => array( - 'predicates' => array('skos:prefLabel'), + 'predicates' => array('rdfs:label', 'skos:prefLabel'), ), 'description' => array( 'predicates' => array('skos:definition'), ), - // The vocabulary this term belongs to. + // The vocabulary this term belongs to. The type 'rev' is used to denote + // the fact that the skos:member property domain is skos:Collection and + // its range is skos:Concept or skos:Collection. 'vid' => array( 'predicates' => array('skos:member'), + 'type' => 'rev', + ), + 'parent' => array( + 'predicates' => array('skos:broader'), + 'type' => 'rel', ), ), ), |