[R&DL] Wolfram R&D LIVE: Nutrients by the Numbers -- Food and Nutrition Statistics

MODERATOR NOTE: This is the notebook used in the livestream “Nutrients by the Numbers” on Wednesday, January 17 – a part of Wolfram R&D livestream series announced and scheduled here: ⭐ [R&DL] Wolfram R&D Developers on LIVE Stream - Staff Picks - WOLFRAM COMMUNITY. Subscribe to [@WolframRD] (https://wolfr.am/1eatWLcDA) on YouTube for more livestreams, exclusive VODs, creator presentations, behind-the-scenes insider videos, and so much more.

◔

DOWLOAD-DESKTOP-NOTEBOOK.nb (2.84 MB)

6 Likes

news-congrads-kkluyshnik-02-04-19.jpg – you have earned Featured Contributor Badge 2015-11-02_10-07-11.png
Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

Thank you Gay for posting.

I noticed an unfamiliar entity that is created by the Interpreter. Its InputForm is:

Entity["Food", {EntityProperty["Food", "FoodType"] -> ContainsExactly[{
Entity["FoodType", "Elderberry"]}], 
  EntityProperty["Food", "AddedFoodTypes"] -> ContainsExactly[{}]}]

What kind of entity is this?

I suspect it’s a compound Entity given the “plus” sign and its own icon.

The closest example I can find is in the first example in the “Scope” section in https://reference.wolfram.com/language/ref/Entity.html .

However the syntax is about the first argument, not the second argument.

3 Likes

Thanks Dave for working with our post. The food entities have a unique design within the Wolfram Language, so I agree, it’s a challenge to find comparable entities. The food entities can be more complex than other domains due to the many varieties of a single food that are possible. Our goal is to build entities for as many varieties of foods as feasible. Please send your input on Wolfram food data anytime. If I don’t have the answer myself, I will be glad to research it.

2 Likes

Thanks for the reply, Gay. I will look into the entity syntax and experiment with food and other entity types.

I named it a compound entity, but is there an official classification/name within Wolfram Research to address this type of Entity?

1 Like

We don’t have an official name for food entities, but I did want to share this link to our documentation, which I hope will be helpful in your exploration of Wolfram Food: Food Entities and Properties.

Please keep us posted on your work!

1 Like

I’m looking forward to spending more time studying your Wolfram Community posts. There is much I can learn from those!

1 Like

Thank you Gay, for your kind words. You inspired me to look deeper into food entities and now I have acquired more knowledge on the subject.

2 Likes

I just read your “Food and TaxonomicSpecies Entities” post, and it is brilliant! Thanks so much for publishing it to Wolfram Community.

2 Likes