Skip to content

sustainable-processes/ontology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ontology Repository

A collection of useful ontologies.

Model ontology is developed based on OntoCAPE.

Define json file to add new knowledge to the model ontology:

  • Example: use python utils/patch_rdf.py --in_rdf OntoModel/OntoModel.owl --out_rdf OntoModel/OntoModel1.owl --json json/dispersion_coefficient_with_tubular_flow.json to add axial dispersion law for short tube reactor
  • json template
{
  "Phenomenon": [
    {
      "name": "...",
      "class": "Accumulation or FlowPattern or MolecularTransportPhenomenon or ChemicalReactionPhenomenon",
      "flow_patterns": [],
      "molecular_transport_phenomena": []
    },
  ],
  "Unit": [
    {
      "name": "...",
      "class": "SI_BaseUnit or SI_DerivedUnit",
      "symbol": "<math>...</math>"
    },
  ],
  "Variable": [
    {
      "name": "...",
      "class": "RateVariable or StateVariable or ReactorParameter or FlowParameter or OperatingParameter or ReactionParameter or PhysicalParameter or MolecularTransportParameter",
      "symbol": "<math>...</math>",
      "unit": "...",
      "law": "...",
      "dimensions": ["Species and/or Reaction and/or Stream and/or Solvent"]
    },
  ],
  "Law": {
    "name": "(Target_Variable)_with_(Phenomenon)_by_(Authors)",
    "phenomenon": "...",
    "DOI": "...",
    "formula": "<math>...</math>",
    "variables": []
  }
}

See metagraphs for key classes below:

  • Phenomenon
flowchart LR
    OntoCAPE:Accumulation -- OntoModel:relatesToFlowPattern -->  OntoCAPE:FlowPattern;
    OntoCAPE:FlowPattern -- OntoModel:relatesToMolecularTransportPheonmenon -->  OntoCAPE:MolecularTransportPheonmenon;
Loading
  • Unit
flowchart LR
    OntoCAPE:SI_DerivedUnit -- OntoModel:hasSymbol -->  xsd:XMLLiteral;
Loading
  • ModelVariable
flowchart LR
    OntoCAPE:ModelVariable -- OntoModel:hasSymbol -->  rdf:XMLLiteral;
    OntoCAPE:ModelVariable -. OntoModel:hasDimension .->  OntoModel:Dimension;
    OntoCAPE:ModelVariable -. OntoModel:hasLaw .->  OntoCAPE:Law;
    OntoCAPE:ModelVariable -. OntoModel:hasUnitOfMeasure .->  OntoCAPE:SI_Unit;
Loading
  • Law
flowchart LR
    OntoModel:Law -- OntoModel:isAssociatedWith --> OntoCAPE:Phenomenon;
    OntoModel:Law -- OntoModel:hasFormula --> rdf:XMLLiteral;
    OntoModel:Law -. OntoCAPE:hasModelVariable .-> OntoCAPE:ModelVariable;
    OntoModel:Law -. OntoModel:hasDOI .-> rdf:string;
Loading

About

A collection of useful ontologies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages