Lucy-Family-Institute / presqt

Tools and RESTful Services to Improve Preservation and Re-use of Research Data & Software.
Apache License 2.0
4 stars 2 forks source link

Add Ontology Data to Keyword Enhancement #589

Open reclans opened 4 years ago

reclans commented 4 years ago

Add ontology enhancement data via Sci-Graph to keyword enhancement:

Add ID of ontology to metadata

Add url of ontology to metadata

Possible example of dictionary:

{ "allKeywords": ["hydromodel", "water"], "actions": [ { "id": "6075f1ce-f041-493e-a58d-84b2e7a244c4", "details": "PresQT Transfer from GitHub to OSF", "actionDateTime": "2020-06-08 20:01:07.738876+00:00", "actionType": "transfer_enhancement", "sourceTargetName": "github", "sourceUsername": "PresQT-QA-TEST", "destinationTargetName": "github", "destinationUsername": "PresQT-QA-TEST", "keywords": [ { "sourceKeywordsAdded": ["water"], "sourceKeywordsEnhanced": ["hydromodel"], "ontology": "https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:15377", "ontology_id": "CHEBI_15377", "enhancer": "scigraph" } ], "files": { "created": [], "updated": [], "ignored": [] } } ] }