Code Monkey home page Code Monkey logo

Comments (6)

kaiiam avatar kaiiam commented on June 1, 2024 1

Splitting it up into the two sheets one for the hierarchical NCF with is a relationships and one for the derivative terms. The rational is that following Chris Mungalls advice any terms with an equivalence axiom should follow a design pattern analogous to a DOSDP. Here it's a python script generating the formulaic input for a Robot template, but the result is very similar to using a DOSDP where it's programmatic based on a compositional combination of inputs.

NCF terms:

robot template --template nutritional_components_framework.tsv -i ../cdno-edit.owl --prefix "CDNO:http://purl.obolibrary.org/obo/CDNO_" --prefix "CHEBI:http://purl.obolibrary.org/obo/CHEBI_" --prefix "ENVO:http://purl.obolibrary.org/obo/ENVO_"  -o nutritional_components_framework.owl

Sugar derivative terms:

robot template --template sugar_derivatives.tsv -i ../cdno-edit.owl --prefix "CDNO:http://purl.obolibrary.org/obo/CDNO_" --prefix "CHEBI:http://purl.obolibrary.org/obo/CHEBI_" --prefix "ENVO:http://purl.obolibrary.org/obo/ENVO_"  -o sugar_derivatives.owl

from cdno.

kaiiam avatar kaiiam commented on June 1, 2024

This will be very similar to the work done in UA-SRC-data/srpdio#7 and FoodOntology/foodon#116.

from cdno.

kaiiam avatar kaiiam commented on June 1, 2024

Testing this in branch 9, see this sheet as robot template input.

run in modules/

robot template --template test_nut_comp.tsv -i ../cdno-edit.owl --prefix "TEST:http://purl.obolibrary.org/obo/TEST_"  -o test_nut_comp.owl

from cdno.

kaiiam avatar kaiiam commented on June 1, 2024

Trying it with the test output of a python script converting unreleased version of CDNO_nutritional_components_framework_v7.9 from @LilyAndres.

robot template --template CDNO_nutritional_components_framework_v7.9_test.tsv -i ../cdno-edit.owl --prefix "CDNO:http://purl.obolibrary.org/obo/CDNO_" --prefix "CHEBI:http://purl.obolibrary.org/obo/CHEBI_" --prefix "ENVO:http://purl.obolibrary.org/obo/ENVO_"  -o CDNO_nutritional_components_framework_v7.9_test.owl

from cdno.

kaiiam avatar kaiiam commented on June 1, 2024

Doing it hopefully one last time with the full version of the output CDNO_nutritional_components_framework_v7.9

robot template --template CDNO_NCF_v7.9_output_for_ROBOT.tsv -i ../cdno-edit.owl --prefix "CDNO:http://purl.obolibrary.org/obo/CDNO_" --prefix "CHEBI:http://purl.obolibrary.org/obo/CHEBI_" --prefix "ENVO:http://purl.obolibrary.org/obo/ENVO_"  -o CDNO_NCF_v7.9_output_for_ROBOT.owl

from cdno.

kaiiam avatar kaiiam commented on June 1, 2024

Addressed in #12 instead of here, can close this issue and #10.

from cdno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.