Browse Source

Issue 439 (#15)

* Add a Collection bundle for FedoraResource

* update rdf mapping

* field type changes, add enforced module

* Default collection rdf mapping

* Forgot uuid

* Adding pcdm namespace

* Using hasURN for uuids.

* Adding dc back in
pull/756/head
dannylamb 8 years ago committed by Jared Whiklo
parent
commit
589d3e651d
  1. 1
      islandora/islandora.module
  2. 12
      islandora_collection/config/install/rdf.mapping.fedora_resource_type.collection.yml

1
islandora/islandora.module

@ -81,5 +81,6 @@ function islandora_rdf_namespaces() {
'ore' => 'http://www.openarchives.org/ore/terms/',
'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
'islandora' => 'http://islandora.ca/CLAW/',
'pcdm' => 'http://pcdm.org/models#',
);
}

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

@ -12,24 +12,24 @@ id: fedora_resource.collection
targetEntityType: fedora_resource
bundle: collection
types:
- 'schema:Thing'
- 'ldp:RDFSource'
- 'ldp:Container'
- 'pcdm:Collection'
- 'schema:CollectionPage'
fieldMappings:
field_description:
properties:
- 'dc:description'
field_memberof:
properties:
- 'dc:isPartOf'
- 'pcdm:memberOf'
uuid:
properties:
- 'islandora:hasURN'
name:
properties:
- 'dc:title'
- 'rdf:label'
created:
properties:
- 'schema:dateCreated'
- 'dc:created'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:

Loading…
Cancel
Save