From 80f9ad5e5005700e76e82bc1e633c48627a1d623 Mon Sep 17 00:00:00 2001 From: Klara Peskova Date: Sat, 19 Apr 2014 02:47:26 +0200 Subject: [PATCH] Ontology and ontology tool added to euon metadata. Fixes issue #96. --- .../metadata/euon_metadata_config.py | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/simplestore/lib/simplestore_model/metadata/euon_metadata_config.py b/simplestore/lib/simplestore_model/metadata/euon_metadata_config.py index ae2ce07b96..fd1f74a6ac 100644 --- a/simplestore/lib/simplestore_model/metadata/euon_metadata_config.py +++ b/simplestore/lib/simplestore_model/metadata/euon_metadata_config.py @@ -1,5 +1,5 @@ +# -*- coding: utf-8 -*- from invenio.sqlalchemyutils import db - from datetime import date @@ -20,11 +20,37 @@ {'name': 'hasOntologyLanguage', 'col_type': db.String(256), 'display_text': 'Ontology Language', + 'data_provide': 'select', + 'data_source': ['F-Logic', + 'KIF', + 'LexGrid-XML', + 'OCML', + 'OBO', + 'OMV:DAML-OIL', + 'OMV:OWL', + 'OMV:OWL-DL', + 'OMV:OWL-Full', + 'OMV:OWL-Lite', + 'OMV:RDF-S', + u'Protégé-Frames', + 'RRF', + 'W3C:OWL_2', + 'W3C:SKOS'], + 'other': 'Other...', 'description': 'The language in which the ontology was developed', 'required': True}, {'name': 'usedOntologyEngineeringTool', 'col_type': db.String(256), 'display_text': 'Ontology Engineering Tool', + 'data_provide': 'select', + 'data_source': [u'Protégé', + 'Swoop', + 'TopBraid Composer', + 'OBO-Edit', + 'OntoStudio', + 'KAON', + 'PoolParty Thesaurus Server'], + 'other': 'Other...', 'description': 'The tool that was used to develop the ontology', 'required': False}, {'name': 'creationDate',