ontology_api
api.ontology_api
This module provides a set of methods, through the OntologyAPI interface, which retrieves data from the ontology
Functions
| Name | Description |
|---|---|
| ontoclass2dict | Convert an OntoClass object to a JSON object |
| uid2int | Convert a UID object to an integer |
ontoclass2dict
api.ontology_api.ontoclass2dict(ontoclass)Convert an OntoClass object to a JSON object Args: ontoclass: OntoClass object Returns: dict: JSON object
uid2int
api.ontology_api.uid2int(uid)Convert a UID object to an integer Args: uid: UID object Returns: int: integer