s223/contains ontology files from the 223P ontologywater/contains our ontology fileslibraries/contains libraries and templates for building modelsnrel-223p-templatescontains some generic templates for the 223P ontologytemplatescontains some water-specific templates223p.ttlis a recent copy of the 223P ontologywater.ttlis the water ontology we are developing in this repository
notebooks/contains code showing how to build and query models.
- (to update 223, run the 
download-s223.shscript; this will only work for those with existing access to that repo) - Install 
uvfor working with Python - Install the dependencies with 
uv sync - Install 
ontoenveither by downloading the latest release or throughcargo install [email protected] 
Build the ontology with make libraries/water.ttl
libraries contains a few libraries that can be used to build up the treatment train models
See the ModelBuilder notebook for more information on how to use these libraries and templates to build models
To document the templates, run make local-docs and open docs/_build/html/index.html in a browser. This should also auto-build when you push to the repostitory, making the docs available at https://datadrivencps.github.io/water-ontology/