Responsible for this page: Davor Ostojić.
Last content check: 03-11-2015
Status: design
Purpose
The purpose of this page is to collect relevant information about Curation Module project.
Project: Curation Module
The goal of this project is to implement software component for curation and quality assessment which can be integrated in the CLARINs VLO workflow. Project is initialized by Metadata Curation Task Force. Specification for the Curation Module is based on the Metadata Quality Assessement Service proposal. Curation Module will be able to validate and normalize single MD records, repositories and profiles, to assess their quality and to produce reports with different information for different actors in VLO workflow. For implementation this project will use some of the existing CLARIN components.
Contents
People
- Matej Ďurčo - coordinator (CLARIN-AT, CLARIN Center Vienna)
- Davor Ostojić - developer (CLARIN-AT, CLARIN Center Vienna)
Getting code
github: https://github.com/clarin-eric/clarin-curation-module
Usage
Web Application
url: https://clarin.oeaw.ac.at/curate/
REST API
instance:
profile:
- https://clarin.oeaw.ac.at/curate/rest/profile?url=a_valid_of_a_profile
- https://clarin.oeaw.ac.at/curate/rest/profile/id/{profilesID}
CLI
To run it from the command line: java -cp curate.jar:path_to_maven_dependecies/* eu.clarin.cmdi.curation.main.Main
Parameters:
- -config <file> a path to the configuration file, internal configuration file is used by default. This parameter is optional
input type:
- -p to curate a profile
- -i to curate an instance
- -c to curate a collection
resource:
- -path <path> - Space separated paths to file or folder to be curated
- -url <url> - Space separated urls to profile or instance to be curated
- -id <profilesId> - Space separated CLARIN profile IDs in format: clarin.eu:cr1:p_xxx
Allowed combinations are:
- -p -path / url / id
- -i -path / url
- -c -path
System Requirements
Requirements for the project are based on Metadata Quality Assessement Service requirements
Identified Use Cases
Use Case 1 – Metadata Creator checks the validity of newly created record
- Title: Check validity of metadata record
- Actor: MD Creator
- Level: User Goal
- Main Success Scenario:
- User copies MD record into the web form and starts validation by clicking "Validate" button
- Module does schema validation, link checks, vocabulary check, facet coverage assessment
- User gets the report with status, eventual errors and assessment
- User gets instructions how to improve MD record (recommended profile, recommended values)
- User copies MD record into the web form and starts validation by clicking "Validate" button
Use Case 2 – MD Modeler checks the quality of profiles
- Title: Check quality of profile/schema
- Actor: MD Modeler
- Level: User Goal
- Main Success Scenario:
- CMDI Editor runs the curation module and passes as argument profile or schema
- Module does link checks and facet coverage assessment
- User gets the report on links availability and facet coverage
- CMDI Editor runs the curation module and passes as argument profile or schema
Use Case 3 – Repository Admin checks quality of metadata in his repository
- Title: Check overall quality of metadata in repository
- Actor: Repository Admin
- Level: User Goal
- Main Success Scenario:
- Admin runs module from command line and passes as argument location containing MD records
- Module does quality assessment of the records
- Admin gets summarized report on overall quality of MD records in his repository
- Admin runs module from command line and passes as argument location containing MD records
Use Case 4 – Curation Module in VLO workflow
- Title: Use Case 4 – Curation Module in VLO workflow
- Actor: VLO workflow
- Level: Summary
- Main Success Scenario:
- Curation Module is called before vlo-importer component with location where MD records are stored as argument
- Module does validation and normalization and generates different kinds of reports and normalized MD record
- VLO importer uses normalized records in post-processing phase and imports them into SOLR
- After importing script emails reports to VLO admin, MD Curators and data providers
- Curation Module is called before vlo-importer component with location where MD records are stored as argument
Requirements
- Curation module will be integrated in VLO workflow. It has to provide VLO with normalized MD records for further (post-) processing and ingestion in SOLR. Since there are already huge number of records (currently 800K) and this number grows every week, curation module has to be performable.
- Ability to provide validation and / or assessment service for metadata creators (on instance level).
- Curation module has to provide service for CMDI profile/schema assessment for for MD modeler.
- Curation module must be able to work with single record and with collections in batch mode.
- Local and remote invocation.
- Implementation of curation workflow includes following steps: schema validation, URL inspection, value validation against vocabularies and normalization. (See Cmdi/QualityCriteria for full list of checks)
- Feedback about errors, per record or per collection.
- Feedback about quality: score, facet coverage.
- Provision of instructions on MD improvement.
- Time dimension, keep track of quality in time for analysis.
Dependencies
For implementation following projects will be used:
Requirements
- java 8
- maven 3
- tomcat 7+
Building and Deploying
To build the application
mvn clean install
copy war file from curation-module-web into tomcats webapps folder
Design
Component Diagram:
Tickets
#676 - Create a metadata curation module
Status, Planning and Roadmap
Status: implementation
Resources
History
Meetings
Attachments (3)
- Curatoin Module Component Diagram.jpg (289.3 KB) - added by 9 years ago.
- telco-08-04-2016.pdf (390.1 KB) - added by 8 years ago.
- telco-28-04-2016.pdf (632.7 KB) - added by 8 years ago.
Download all attachments as: .zip