Browse ComptoxAI data
ComptoxAI provides several flexible options for browsing its graph database. These different options are intended for various users and use case scenarios.
Interactive data portal
Level of usability: Beginner
Launch data portalThe interactive data portal is a simplified interface for ComptoxAI's graph database. Users can interactively search for nodes (entities) in the database by specifying a node type (e.g., "Chemical", or "Disease") and querying properties that are defined for that node type. When you select a node, you can then load all relationships that the node has with other nodes in the graph database.
The data portal also includes a tool for visualizing the shortest paths connecting any two nodes in the database. To use this, find two nodes separately using the node search tool, and click "Path Start Node" and "Path End Node" respectively. The shortest path between the two nodes will be identified, and it will be reconstructed into a graph visualization of the nodes and relationships comprising the shortest path. The visualization interface allows panning, zooming, and selecting individual nodes in the path for further inspection.
We're putting the finishing touches on a bulk dataset download tool! This will allow users to easily generate and download portions of the ComptoxAI database to use in machine learning models. The tool uses Neo4j's Graph Data Science library to efficiently handle subgraph projections, and formats its output as tab-delimited flat files that are packaged alongside a flexible JSON-based metadata description of the dataset.
Stay tuned for more info!Graph Database browser (Memgraph)
Level of usability: Intermediate
Launch Memgraph browserComptoxAI's graph database is implemented using the Memgraph graph database management system. The Memgraph Lab browser is an interface that allows users to graphically interact with nodes and relationships in the database by either randomly sampling node or relationship types, or by executing database queries in the Cypher query language (which is analogous to SQL, but designed for use with graph databases rather than relational databases).
We recommend that new users read the official "Memgraph Cypher tutorial" to learn how to get the most out of the Memgraph interface.
REST Web API
Level of usability: Advanced
Web API documentationComptoxAI's REST Web API allows programmatic access to the graph database. The base URL for the API is:
https://comptox.ai/api/
ComptoxAI OWL2 Ontology
Level of usability: Advanced
Download ontology without individuals (103 KB) Download fully-populated ontology (598 MB)The contents of ComptoxAI's graph database are extracted from a large, fully-featured OWL2 ontology that defines the semantic meaning of each entity and relationship in the database, as well as each of the data properties attached to each node.
The ontology plays a central role in the development of ComptoxAI. Briefly, the database maintainers first specify the types of entities and the relationships between them by constructing a class hierarchy in the ontology, and then define the types of relationships—known as object properties—that can link those types of relationships. The ontology is then populated with individuals (nodes in the database) by parsing source databases and storing the individual elements as instances of those node types, and the same is done for relationships between the elements. Finally, the contents of the ontology are imported into Neo4j using the neosemantics (n10s) extension tool, which converts OWL2 data into a Neo4j database.
We like to use Protege to view and edit ontologies.