Lightning_London_1-5_Fran_OAIPMHx

Download Report

Transcript Lightning_London_1-5_Fran_OAIPMHx

Open your Alfresco
Data
Fran Alvarez
Zaizi, Head of Engineering
Agenda
•
•
•
•
Content and Data definitions
Alfresco - OAI-PMH integration
Code snippets
Conclusions
‘Content’ era
• Content is knowledge
‘Content’ era
• More and more devices are managing
content
• “Internet of Things will grow up up to 26 billions unit by
2020” (Gartner, Dev 2013)
• Content opened and accessible by both
machines and humans
Linked Data
Open Data
• Open data is the idea that certain data should be freely
available to everyone to use and republish as they
wish, without restrictions from copyright, patents or
other mechanisms of control
• http://data.gov.uk/
• http://www.forbes.com/sites/techonomy/2014/09/12/ho
w-open-data-is-transforming-city-life/
Open Data Vs Linked Data
Open Data
• Idea
• Concept
Linked Data
• Best Practices
• Protocol + Language
Not all Linked data is Open
Not all Open data is Linked
OAI-PMH
• Open Archive Initiative Protocol for Metadata
Harvesting
• Collect/Harvest metadata from archives
• Multiple/Federated archives management
1
OAI-PMH
• Open Archive Initiative Protocol for Metadata
Harvesting
• Collect/Harvest metadata from archives
• Multiple/Federated archives management
2
OAI-PMH - Language
• Dublin core (not qualified) as 'Must'
language
• Simple way to describe physical and web
resources
• Metadata: Title, Creator, Subject, Description,
Publisher, Contributor, Date, Type, Format,
Identifier, Source, Language, Relation, Coverage,
Rights
OAI-PMH - Procotol
• Simple methods to access and expose data
• Based on 6 verbs (operations)
• Identify
• ListSets
• ListMetadataFormats
• ListIdentifiers
• ListRecords
• GetRecord
Alfresco
• It’s a content provider
• Some content (Business) subject to be
shared (Open) with the world
• Bibliographic
• Scientific
• Government
Alfresco OAI-PMH Integration
• Leveraging Alfresco extension
capabilities
• Created as a flexible module to map any
existing data model
• Alfresco side only, development of
services and web scripts
• Alfresco AMP
1
2
Alfresco OAI-PMH Integration
• Leveraging Alfresco extension
capabilities
• Created as a flexible module to map any
existing data model
• Alfresco side only, development of
services and web scripts
• Alfresco AMP
Alfresco OAI-PMH Architecture
Configuration Properties
#Namespaces
oai.oai_dc.schema=http://www.openarchives.org/OAI/2.0/oai_dc.xsd
oai.oai_dc.metadataElementName=dc
oai.oai_dc.metadataElement.namespace=http://purl.org/dc/elements/1.1/
oai.oai_dc.namespace=http://www.openarchives.org/OAI/2.0/oai_dc/
#Properties Mapping
oai.oai_dc.property.dc_date=cm:created
oai.oai_dc.property.dc_title=cm:title
oai.oai_dc.property.dc_creator=cm:creator
#oai.oai_dc.property.dc_publisher=
#oai.oai_dc.property.dc_contributor=
oai.oai_dc.property.dc_description=cm:description
1
Configuration Properties
#Namespaces
oai.oai_dc.schema=http://www.openarchives.org/OAI/2.0/oai_dc.xsd
oai.oai_dc.metadataElementName=dc
oai.oai_dc.metadataElement.namespace=http://purl.org/dc/elements/1.1/
oai.oai_dc.namespace=http://www.openarchives.org/OAI/2.0/oai_dc/
#Properties Mapping
oai.oai_dc.property.dc_date=cm:created
oai.oai_dc.property.dc_title=cm:title
oai.oai_dc.property.dc_creator=cm:creator
#oai.oai_dc.property.dc_publisher=
#oai.oai_dc.property.dc_contributor=
oai.oai_dc.property.dc_description=cm:description
2
OAI-PMH Identify
• http://localhost:8080/alfresco/s/oai?verb=identify
OAI-PMH ListRecords
• http://localhost:8080/alfresco/s/oai?verb=listRecords&metadataPr
efix=oai_dc
OAI-PMH GetRecord
•
http://localhost:8080/alfresco/s/oai?verb=GetRecord&metadataPrefix=oai_dc&ide
ntifier=4b9ebe73-7b19-4aaf-b596-5e545544e2a6
OAI-PMH GetRecord
•
http://localhost:8080/alfresco/s/oai?verb=GetRecord&metadataPrefix=oai_dc&ide
ntifier=4b9ebe73-7b19-4aaf-b596-5e545544e2a6
Recources
• http://www.openarchives.org/pmh/
• https://github.com/zaizi
• http://www.juntadeandalucia.es/agriculturaypesca/ifapa/oai?verb=Id
entify
• Interweaving OAI-PMH data sources with the linked data cloud
(Bernhard Haslhofer, Bernhard Schandl)
Thank You!