File | Date | Author | Commit |
---|---|---|---|
META-INF | 2014-11-19 | miguelnunes | [b4dd7f] First commit |
src | 2014-11-19 | miguelnunes | [b4dd7f] First commit |
.gitignore | 2014-11-19 | miguelnunes | [b4dd7f] First commit |
Readme.md | 2014-11-20 | miguelnunes | [f825b9] Updated Readme |
pom.xml | 2014-11-19 | miguelnunes | [b4dd7f] First commit |
Read Me
Dspace AIP Converter
Dspace AIP Converter converts the JSON output from the Dspace AIP Extractor and converts it to OWL, required for further integration into the Context Model.
How to get the code
git clone https://opensourceprojects.eu/git/p/timbus/context-model/converters/json-xml/dspace-aip-converter
Install Requirements
Format UUID
This version of Dspace AIP Converter accepts the format ea6f170e-5d74-40ae-bb02-53b07d84b9ac
Required input
The common formating for an extraction includes the name of the extractor in question, a UUID from the extraction and a format. This format, as showed below, is a JSON Object displaying the format UUID (section above) and a boolean to indicate whether the result contains multiple extractions or not. Cases in which this is true are the Extractor Wrappers.
An example of an individual extraction is shown below.
1 2 3 4 5 6 7 8 | { "extractor" : "Dspace AIP Extractor", "format" : { "id" : "ea6f170e-5d74-40ae-bb02-53b07d84b9ac ", "multiple" : false }, "UUID" : "39f6af55-6f42-11e4-be91-ddff368a6b27" } |
NOTE: Whereas the extractor name is optional, conversion format is mandatory. This converter will NOT be visible to the Converters API unless the format is provided.
Expected output
This module converts from JSON to OWL, more specifically to DIO and the Artefact DSO.
The Dspace AIP extractor, besides performing a backup in AIP format and returning its path, it also outputs the paths of all files which are likely to contain customizations, i.e, changes to the original Dspace installation.
The converter represents these files as Artefact individuals and links them to a Data Property contaning their path, "hasSourceLocation".
Author
Miguel Gama Nunes miguel.nunes@caixamagica.pt
License
Copyright (c) 2014, Caixa Magica Software Lda (CMS).
The work has been developed in the TIMBUS Project and the above-mentioned are Members of the TIMBUS Consortium.
TIMBUS is supported by the European Union under the 7th Framework Programme for research and technological development and demonstration activities (FP7/2007-2013) under grant agreement no. 269940.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTIBITLY, or FITNESS FOR A PARTICULAR PURPOSE. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law or agreed to in writing, shall any Contributor be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work.
See the License for the specific language governing permissions and limitation under the License.