Browse Source

Default collection rdf mapping

pull/756/head
Danny Lamb 8 years ago
parent
commit
776de8e622
  1. 16
      islandora_collection/config/install/rdf.mapping.fedora_resource_type.collection.yml

16
islandora_collection/config/install/rdf.mapping.fedora_resource_type.collection.yml

@ -12,24 +12,21 @@ id: fedora_resource.collection
targetEntityType: fedora_resource targetEntityType: fedora_resource
bundle: collection bundle: collection
types: types:
- 'schema:Thing' - 'pcdm:Collection'
- 'ldp:RDFSource' - 'schema:CollectionPage'
- 'ldp:Container'
fieldMappings: fieldMappings:
field_description: field_description:
properties: properties:
- 'dc:description' - 'schema:text'
field_memberof: field_memberof:
properties: properties:
- 'dc:isPartOf' - 'pcdm:memberOf'
name: name:
properties: properties:
- 'dc:title' - 'schema:name'
- 'rdf:label'
created: created:
properties: properties:
- 'schema:dateCreated' - 'schema:dateCreated'
- 'dc:created'
datatype_callback: datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value' callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed: changed:
@ -37,9 +34,6 @@ fieldMappings:
- 'schema:dateModified' - 'schema:dateModified'
datatype_callback: datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value' callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
rdf_type:
properties:
- 'rdf:type'
uid: uid:
properties: properties:
- 'schema:author' - 'schema:author'

Loading…
Cancel
Save