This is a catch all issue for the various modules which implement hook_rdf_mapping(). The choice of the right RDF mappings for the core module was postponed during the work on the RDF Mapping API, since designing the API was
Changing these mappings is neither a new feature nor a UI or API change. However, since these mappings are fixed in the rdf_mapping table upon installation, we should agree on the right predicates before we start requiring an upgrade path for changes which affects the database (not sure whether this is after the first alpha or beta). The RDF API will provide a way to change the mappings, but core on its own won't.
These changes come from random discussions on semantic web mailing lists and/or from people who tried Drupal 7 and had feedback on the predicates it uses.
Comment | File | Size | Author |
---|---|---|---|
#7 | 652588_core_mappings_7.patch | 9.55 KB | scor |
#5 | 652588_core_mappings_5.patch | 9.55 KB | scor |
#3 | 652588_core_mappings_3.patch | 5.24 KB | scor |
#2 | 652588_core_mappings_2.patch | 7.67 KB | scor |
#1 | 652588_core_mappings.patch | 2.46 KB | scor |
Comments
Comment #1
scor CreditAttribution: scor commentedstarter patch
Comment #2
scor CreditAttribution: scor commentedAccording to the RDFa deployment advice, the official GRDDL profile URI is now http://www.w3.org/1999/xhtml/vocab (this URI was not available when we initially implemented RDFa in core).
sioct:Post does not exist.
Comment #3
scor CreditAttribution: scor commentedcleaned up the patch. added mapping for the 'changed' field in comment.module and fixed the changed mapping in node.module. Improved the mapping of taxonomy term and vocabulary using SKOS terms, add a mapping for the parent term.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedThese are pretty straight forward corrections and additions to the RDF mappings that are set by core modules, so they don't affect the UI or API.
You're right, since these are fixed in the database at install, this should be settled before an upgrade path is required.
RTBC
Comment #5
scor CreditAttribution: scor commentedforgot to update the tests, due to the renaming of sioct:Post to sioc:Post. All RDF tests are green now.
testing bot: we miss you!
Comment #7
scor CreditAttribution: scor commentedI'm not able to reproduce this failures. rerolling.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedSince this passed testing, I'm resetting it to RTBC.
Comment #10
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!