diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-10 16:37:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-10 16:37:19 +0000 |
commit | e892ed5c317f7d37da09a2ad3a0e113703437b10 (patch) | |
tree | 6da9fe80374cabfe7885ff0c0d547468649353bd /modules/taxonomy | |
parent | b225882e5e8adfe6a3f21dbd7f1e8f858cd41c79 (diff) | |
download | brdo-e892ed5c317f7d37da09a2ad3a0e113703437b10.tar.gz brdo-e892ed5c317f7d37da09a2ad3a0e113703437b10.tar.bz2 |
- Patch #712538 by scor: clean up RDF namespaces and mappings before Drupal 7 release.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 1738014b2..8f9786dac 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1421,12 +1421,9 @@ function taxonomy_rdf_mapping() { 'description' => array( 'predicates' => array('skos:definition'), ), - // 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', + 'predicates' => array('skos:inScheme'), + 'type' => 'rel', ), 'parent' => array( 'predicates' => array('skos:broader'), @@ -1438,9 +1435,9 @@ function taxonomy_rdf_mapping() { 'type' => 'taxonomy_vocabulary', 'bundle' => RDF_DEFAULT_BUNDLE, 'mapping' => array( - 'rdftype' => array('skos:Collection'), + 'rdftype' => array('skos:ConceptScheme'), 'name' => array( - 'predicates' => array('rdfs:label'), + 'predicates' => array('dc:title'), ), 'description' => array( 'predicates' => array('rdfs:comment'), |