Comments (6)
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.
This will be very similar to the work done in UA-SRC-data/srpdio#7 and FoodOntology/foodon#116.
from cdno.
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.
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.
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.
Addressed in #12 instead of here, can close this issue and #10.
from cdno.
Related Issues (20)
- Error in the design pattern during the release HOT 12
- version IRI in OLS does not resolve HOT 14
- duplicate terms under different ids now under 'concentration of' HOT 18
- xrefs are malformed - CURIEs should not have space after the colon HOT 1
- Multiple labels for ChEBI chemicals HOT 13
- Update CDNO/tooling to lastest owl API HOT 7
- Add term deprication/obsolete template HOT 2
- Create CDNO annotation documentation HOT 2
- Lignin should be a subclass of insoluble fibre? HOT 3
- Addition of dietary energy and related terms to CDNO HOT 1
- protein class suggested updates HOT 1
- floating term at top level PR_000000001 HOT 1
- Update USDA compoent prefix in mappings HOT 3
- CDNO Ontology Description missing from OLS HOT 1
- Suggestion to update template for consistency HOT 1
- Suggestion to import vitamin (role) from ChEBI
- Change parent terms for amino acid HOT 1
- Synonyms in nutritional_components_framework.csv template overriding imported synonyms HOT 1
- CDNO has some CHEBI terms with right bracket hidden in URI HOT 9
- Dietary Fiber Ontology Working Group: Fiber term updates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdno.