We have developed a model structure-editing tool, ChemEd, programmed in JAVA, which allows drawing chemical structures on a graphical user interface (GUI) by selecting appropriate structural fragments defined in a fragment library. The terms representing the structural fragments are organized in fragment ontology to provide a conceptual support. ChemEd describes the chemical structure in an XML document (ChemFul) with rich semantics explicitly encoding the details of the chemical bonding, the hybridization status, and the electron environment around each atom. The document can be further processed through suitable algorithms and with the support of external chemical ontologies to generate understandable reports about the functional groups present in the structure and their specific environment.
Sankar, P., Krief, A., & Aghila, G. (2010). Model tool to describe chemical structures in XML format utilizing structural fragments and chemical ontology. Journal of chemical information and modeling, 50(5), 755-770. https://doi.org/10.1021/ci100052b