Skip to content

OWL Exports

The extract command will let you export the results as OWL axioms, utilizing linkml-owl mappings in the schema.


ontogpt extract -t recipe -i recipe-spaghetti.txt -o recipe-spaghetti.owl -O owl

src/ontogpt/templates/recipe.yaml is an example schema that uses linkml-owl mappings.

See the Makefile for a full pipeline that involves using robot to extract a subset of FOODON and merge in the extracted results. This uses recipe-scrapers.

OWL output: recipe-all-merged.owl


OWL in the Protege editor