Preparing and merging a ROBOT template into Mondo¶
Updated 2025-06-10
Preparing and merging a ROBOT template into Mondo:¶
0:00:00 - 0:01:37 Intro and resources
0:01:38 - 0:23:59 preparing ROBOT template (simple example)
0:24:00 - 0:34:10 merging ROBOT template
0:34:11 - 0:42:00 preparing ROBOT template (extended example)
0:48:44 - 0:51:34 examples of error
0:56:42 - 1:05:22 preparing ROBOT template (examples for axioms)
- Create Google sheet with ROBOT template. See example Mondo ROBOT templates here. See more details about ROBOT templates here.
- Click File->Share->Publish to the Web
- Publish the specific sheet as TSV
- Copy the link to the TSV
- In the Terminal, navigate to the folder where the Mondo ontology is (usually in Documents/GitHub/mondo/src/ontology)
- Run
git checkout master — mondo-edit.oboto revert mondo-edit.obo to the state it is on the master branch. This is only important if you have run the template command before. - Run
sh run.sh make TEMPLATE_URL="https://docs.google.com/spreadsheets/d/e/2PACX-1vQ_G0rImuYa8o72cgQ97bH7xIq_V4TF6YfHkQaQY7HJUElcolO2RSh4bE7d50HTlSL1Vq7LoRJSkKBD/pub?gid=875350397&single=true&output=tsv" merge_template -B(theTEMPLATE_URLshould be your template link you have copied) - Note - If you just want to module a tsv you have edited locally, place it somewhere into the
srcdirectory and run:sh run.sh make merge_template MERGE_TEMPLATE="modules/name_of_your_template.tsv" - If all went well,
mondo-edit.obowill be updated with the template. - Branch + pull request
- As always, carefully review the diff before committing.
Recompile the template:¶
- Check out the current mondo-edit from master:
git checkout master -- mondo-edit.obo - In terminal: sh run.sh merge_template -B