Chemical data is increasingly openly available in databases such as PubChem, which contains approximately 110 million compound entries as of February 2021. With the availability of data at such scale, the burden has shifted to organisation, analysis and interpretation. Chemical ontologies provide structured classifications of chemical entities that can be used for navigation and filtering of the large chemical space. ChEBI is a prominent example of a chemical ontology, widely used in life science contexts. However, ChEBI is manually maintained and as such cannot easily scale to the full scope of public chemical data. There is a need for tools that are able to automatically classify chemical data into chemical ontologies, which can be framed as a hierarchical multi-class classification problem. In this paper we evaluate machine learning approaches for this task, comparing different learning frameworks including logistic regression, decision trees and long short-term memory artificial neural networks, and different encoding approaches for the chemical structures, including cheminformatics fingerprints and character-based encoding from chemical line notation representations. We find that classical learning approaches such as logistic regression perform well with sets of relatively specific, disjoint chemical classes, while the neural network is able to handle larger sets of overlapping classes but needs more examples per class to learn from, and is not able to make a class prediction for every molecule. Future work will explore hybrid and ensemble approaches, as well as alternative network architectures including neuro-symbolic approaches.
In this paper we propose that adequate treatments of space need to be multiperspectival and related to sound foundational ontologies. To support this, we show that natural spatial descriptions commonly appeal to diverse theories of space and these need to be formally combined to be fully interpreted. Our account draws particularly on the foundational ontology DOLCE and the algebraic specification language CASL. We show how the structuring mechanisms of CASL suggest mechanisms for both building and combining multiperspectival ontologies of space. We also suggest that these mechanisms provide a natural link both with currently emerging cognitive principles such as blending and with developments in ontology mediation and mapping.