Sous / vocab

Vocabularies

The Sous domain: state facets, operations as typed state transformers, equipment classes, and a starter substance library.

VocabularyContents
state-facets.json 10 material and 5 equipment facets, including affordances — what can usefully be done to a material now.
operations.json 56 operations, each with preconditions and effects in facet terms. This is what compiles to a PDDL domain.
equipment-classes.json Capability classes, observables and their instruments, and physical hazards.
units.json What each UCUM code means: the word a recipe writes for it, the dimension it measures, and what it converts to. The closed enumeration in quantity.schema.json says which codes are legal; this says what they mean.
core-ingredients.json 260 substances, 215 mapped to FoodOn where a class exists. Also the target of the sous: CURIE prefix.

On identifiers

Sous mints no food identifiers of its own. Substances carry CURIEs into FoodOn, CHEBI, FDC or GTIN, resolved against the live ontology rather than hand-written; 183 of 222 are mapped and the other 39 say unmapped, because a wrong CURIE is worse than none. The exception is the sous: prefix, used only for prepared forms no external ontology names — FoodOn has no peeled-onion class, verified. See the JSON-LD context.

Elsewhere

github.com/psigen/sous · JSON-LD context · the specification