ualbertalib / fcrepo4-oaiprovider

Fedora 4 OAI Provider implementation
3 stars 1 forks source link

dc:type mapping changes #33

Closed anayram closed 6 years ago

anayram commented 6 years ago

1) Right now we are getting object types as full URLs. Instead, ouptut type values as literal, e.g. 'Thesis', 'Report', etc. Replace urls as follows:

URI Literal
http://purl.org/ontology/bibo/Report Report
http://terms.library.ualberta.ca/learningObject Learning Object
http://vivoweb.org/ontology/core#ConferencePoster Conference Poster
http://purl.org/ontology/bibo/Article Article
http://purl.org/ontology/bibo/Image Image
http://vivoweb.org/ontology/core#Review Review
http://vivoweb.org/ontology/core#ConferencePaper Conference Paper
http://purl.org/ontology/bibo/Chapter Chapter
http://vivoweb.org/ontology/core#Dataset Dataset
http://purl.org/ontology/bibo/Book Book
http://terms.library.ualberta.ca/researchMaterial Research Material
http://purl.org/ontology/bibo/Thesis Thesis

2) Exclude the dc:type values below. Only import rdf:type when rdf:type's value is http://purl.org/ontology/bibo/Thesis. All other types should come from dcterms:type only.

<dc:type>http://fedora.info/definitions/v4/repository#Container</dc:type>
<dc:type>http://fedora.info/definitions/v4/repository#Resource</dc:type>
<dc:type>http://pcdm.org/models#Object</dc:type>
anayram commented 6 years ago

Fixed.