Open Sulstice opened 1 year ago
Hi @Sulstice
Of course this is of interest to us, because it can help people with rare disease.
Do you propose it as a contribution ?
Hello @alexgarel I am Damilola from GlobalChem. That's great to hear! GlobalChem would like to contribute to OpenFoodFacts, What is any possible way to link both our data together?
Hi @Nickspizza001 (sorry for late reply, summer is a bit full of work !).
I don't know what @stephanegigandet, @aleene, @moon-rabbitOFF or @teolemon think, but a first way could be to add to link ingredients / additives / etc. to the id in your database in the taxonomies (see https://wiki.openfoodfacts.org/Global_taxonomies)
Also I'm not sure about the license of your database. Is MPL 2.0 the license for the data ?
Hi @alexgarel,
No worries, I totally get it. We can move slow, I care more that we do it correctly.
Yeah so here's an output of our knowledge graph which puts it nicely how it's organized:
âtainted_sexual_enhancements
â âexsens_products
âsexââexsensââlube
â âcontraceptivesâoral_contraceptives
â âpihkal
â âschedule_five
â âschedule_three
ânarcoticsââschedule_four
â âschedule_two
â âschedule_one
âanimalsâsnakesâdrugs_from_snake_venom
âinterstellar_spaceâasteroid_ryugu
â âamino_acids
â âvitamins
âmiscellaneousââopen_smiles
â âregex_patterns
â âallergen_inactive_ingredients
âformulationâexcipientsââmonoclonal_antibodies
â âbiopharmaceutics_class_threeâcimetidine_and_acyclovir
âwarfareâorganophosphorous_nerve_agents
â âprivileged_kinase_inhibitors
â âcommon_r_group_replacements
âproteinsâkinasesââscaffoldsââprivileged_scaffolds
â â âiupac_blue_book
â âbrafâbraf_inhibitors
â âalternative_jet_fuels
âenvironmentââemerging_perfluoroalkyls
â âchemicals_from_biomass
â âclayâmontmorillonite_adsorption
âmaterialsââpolymersâcommon_monomer_repeating_units
â âsalt
â â âmango_flavonoids
â â âmango_phytocompounds
â â âmango_fatty_acids
â âfruitsâmangoââmango_vitamins
â â âmango_phenolic_acids
â â âmango_amino_acids
âfoodââ âfda_list_one
â â âfda_list_three
â â âfda_list_two
â âcolor_additivesââfda_list_seven
â âfda_list_six
â âfda_list_four
â âfda_list_five
âeducationâcengageâorganic_and_inorganic_bronsted_acids
global_chemâââ âtransdermal_and_dermal_deliveryâsurfactants
âskinââsunscreen
â âbidendate_phosphine_ligandsânickel_ligands
âorganic_synthesisââsolventsâcommon_organic_solvents
â âprotecting_groupsâamino_acid_protecting_groups
â âmedical_gases
â âanaesthetics
â âcysticidal_medicines
â âaccess_group_antibiotics
â âantidotes
â âwatch_group_antibiotics
â âreserve_group_antibiotics
â âanticonvulsants
â âworld_health_organizationââopioid_analgesics
â â âanaphylaxis_medicines
â â âantifilarials
â â âpreoperative_medicines
â â âintestinal_anthelminthics
â â âpalliative_care
â â ânon_steroidal_anti_inflammatory_medicines
â â âantischistosomals_medicines
â â âhydrocarbons
â â âproteins_glycoproteins_enzymes
â â ânitrogenous_compounds
âmedicinal_chemistryââ âalcohols
â â âsugars
â â âesters_and_lactones
â â âpigments
â â âacids
â âcannabinoidsââflavanoidglycosides
â â âfatty_acids
â â âconstituents_of_cannabis_sativa
â â âterpenes
â â âsteroids
â â âketones
â â âaldehydes
â â ânon_cannabinoids_phenols
â â âphytocannabinoids
â â âelectrophilic_warheads_for_kinases
â âwarheadsââcommon_warheads_covalent_inhibitors
â â âiupac_blue_book_rings
â âringsâârings_in_drugs
â â âphase_2_hetereocyclic_rings
â âchineseâhow_to_live_longer
âpeptidesâlanthipeptides
nodes can be fetched by their literal name
. For example.
from global_chem import GlobalChem
gc = GlobalChem()
gc.build_global_chem_network()
smiles = gc.get_node('mango')
Yes it is MPL 2.0 for the data. It's also got a U.S. copyright for the dictionary given to my personal name.
@Nickspizza001 and @Sulstice it might be a good idea to join the #taxonomies chan on our slack
Do you support links to wikidata? Links to OFF have been added to Wikidata. For me it seems a bit to much if we add other links. I rather keep things centralised on wikidata.
Hello! Another approach is to link your database against Wikidata, and when we're working on project that involves using your database, we can very easily link our taxonomy against your database through Wikidata.
This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description⊠Thank you very much for your contribution to đ Open Food Facts
Problem
Hi, we started recording chemical compositons to food and colour additive lists used in food in our open source chemical knowledge graph.
We recorded chemical lists of a Mango:
https://github.com/Global-Chem/global-chem/blob/development/global_chem/global_chem/food/fruits/mango/constituents_of_mango.py
Salt:
https://github.com/Global-Chem/global-chem/blob/development/global_chem/global_chem/food/salt/salt.py
And Federal Food and Drug Administration Colour Lists:
https://github.com/Global-Chem/global-chem/blob/development/global_chem/global_chem/food/color_additives/fda_list_one.py
Proposed solution
We are hoping to connect our API's somehow if people are interested in learning the chemical composition of different foods and their 1-D molecular representation.
Number of products impacted
Could be a lot if everyone can query ingredients based on the chemical composition.
Time per product
A linkage between us could take about a week of development with testing.