UA-SRC-data / srpdio

Superfund Research Project data integration ontology
Other
1 stars 1 forks source link

Convert to full use of ODK for ontology development #13

Open ramonawalls opened 2 years ago

ramonawalls commented 2 years ago

Things that need to be fixed after updating to ODK 1.3.0:

DOSDP patterns:

if [ true  = true ]; then dosdp-tools prototype --obo-prefixes true --template=../patterns/dosdp-patterns --outfile=../patterns/pattern.owl; fi
make: *** [Makefile:507: ../patterns/pattern.owl] Error 1

Imports:

Modules:

*Releases:** TBD. Maybe once I fix patterns and imports, it will work correctly. For now, I have to run make IMP=false PAT=false prepare_release for it to work correctly (but first make sure the imports and patterns are up to date).

ramonawalls commented 2 years ago

**DOSDP patterns:

  • So far, I can run sh run.sh make ../patterns/definitions.owl -B IMP=false, but sh run.sh make ../patterns/pattern.owl -B IMP=false throws the error below, which is not terribly helpful. However, definitions.owl is all I really need.
if [ true  = true ]; then dosdp-tools prototype --obo-prefixes true --template=../patterns/dosdp-patterns --outfile=../patterns/pattern.owl; fi
make: *** [Makefile:507: ../patterns/pattern.owl] Error 1
  • Can I improve the way ACS5 patterns are managed with ODK?

TODO:

ramonawalls commented 2 years ago

Imports: Make sure ODK knows that chebi is a large file. Add import statements to srpdio-edit.owl manually, rather than through protege. Other?

TODO:

if [ true = true ] && [ true = true ] && [ true = true ]; then curl -L http://purl.obolibrary.org/obo/chebi.owl.gz --create-dirs -o mirror/chebi.owl.gz --retry 4 --max-time 200 && robot --catalog catalog-v001.xml convert -i mirror/chebi.owl.gz -o mirror-chebi.tmp.owl && \
    robot --catalog catalog-v001.xml remove -i mirror-chebi.tmp.owl --base-iri http://purl.obolibrary.org/obo/CHEBI --axioms external --preserve-structure false --trim false -o mirror-chebi.tmp.owl && mv mirror-chebi.tmp.owl tmp/mirror-chebi.owl; fi
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   331  100   331    0     0   1808      0 --:--:-- --:--:-- --:--:--  1808
100 44.8M  100 44.8M    0     0   757k      0  0:01:00  0:01:00 --:--:--  758k
Killed
make[1]: *** [Makefile:316: mirror-chebi] Error 137
ramonawalls commented 2 years ago

Modules:

  • They are already well handled in sdrpio.Makefile, but they need to be included as imports manually via srpdio-edit.owl for the release to work properly.
  • There was a problem with the old version of ODK including patterns in with modules, but that has been fixed.

TODO:

ramonawalls commented 2 years ago

Releases:* TBD. Maybe once I fix patterns and imports, it will work correctly. For now, I have to run make IMP=false PAT=false prepare_release for it to work correctly (but first make sure the imports and patterns are up to date).

TODO