diff options
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', ), ), ), |