All strategies implemented in this plugin (except for create_collection
) assumes that you have the UUID of a DLite collection with the key collection_id
in the session
:
collection_id = session["collection_id"]
coll = dlite.get_collection(collection_id)
A DLite collection stores references to DLite instances and relations between them as RDF triples. Hence, the collection is a knowledge base for the current use case.
In order to make it easy retrieve the collection id when executing a pipeline, the get()
method of all filters in this plugin should return the collection_id
.
Further reading:
The OTEAPI DLite Plugin is released under the MIT license with copyright © SINTEF.
OTEAPI DLite Plugin has been created via the cookiecutter template for OTE-API plugins.
OTEAPI DLite Plugin has been supported by the following projects:
-
OntoTrans (2020-2024) that receives funding from the European Union’s Horizon 2020 Research and Innovation Programme, under Grant Agreement no. 862136.
-
VIPCOAT (2021-2025) receives funding from the European Union’s Horizon 2020 Research and Innovation Programme - DT-NMBP-11-2020 Open Innovation Platform for Materials Modelling, under Grant Agreement no: 952903.
-
OpenModel (2021-2025) receives funding from the European Union’s Horizon 2020 Research and Innovation Programme - DT-NMBP-11-2020 Open Innovation Platform for Materials Modelling, under Grant Agreement no: 953167.