Foods and beverages with more than one variety.

Entity["FoodType",name] or

represents an entity of type "FoodType".

[prop]

gives the value of a specified property.

[{propi,}]

gives the value of a list of properties.

[prop,{qualivali,}]

gives the value of a specified property modified by qualifier rules quali->vali.

Sample Entities

Properties

  • ApproximateCookingTemperaturesapproximate cooking temperatures
    ApproximateCookingTimeAssociationapproximate cooking time association
    ApproximateCookingTimesapproximate cooking times
    ApproximatepHapproximate pH
    ApproximateShapeapproximate shape
    ApproximateShapeDimensionsapproximate shape dimensions
    BasicFoodGroupsbasic food groups
    CategoricalPropertiescategorical properties
    CategoricalPropertyValuescategorical property values
    CommonInsideColorcommon inside color
    CommonOutsideColorcommon outside color
    CompassPlotnutrition compass
    CompleteItemcomplete item
    DefaultItemSizeMassdefault item size mass
    DefaultServingSizeMassdefault serving size mass
    DietaryRestrictionsdietary restrictions
    EntityTypeListentity type list
    FoodCountfood count
    FoodStatefood state
    FoodTypeGroupsfood type groups
    Imageimage
    Namename
    NutritionLabelnutrition label
    pHAssociationpH association
    PluralNameplural name
    PossibleIngredientSubstitutionFoodTypespossible ingredient substitution food types
    PossibleIngredientSubstitutionRatiospossible ingredient substitution ratios
    PossibleIngredientSubstitutionspossible ingredient substitutions
    PossibleInsideColorspossible inside colors
    PossibleOutsideColorspossible outside colors
    RelatedPokemonrelated Pokémon
    RelatedSolidrelated solid
    StrictFoodCountstrict food count
    StrictFoodsstrict foods
    Transparencytransparency

Details

  • "FoodType" entities include generic types of foods and beverages, such as abalone, cava and steak.
  • Some properties are available for the "FoodType" entity type as a whole and can be given using the form EntityValue["FoodType",property]. Such properties include:
  • "Properties"the list of available properties
    "PropertyCanonicalNames"the standard names of available properties
    "SampleEntities"a sample list of available entities (typically of length 10)
    "SampleEntityClasses"a sample list of available entity classes (typically of length 10)
    "EntityCount"number of entities available
    "Entities"the list of available entities
    "EntityCanonicalNames"the standard names of available entities
    "EntityClasses"the list of available entity classes
    "EntityClassCanonicalNames"the standard names of available entity classes
    "PropertyClasses"the list of available property classes
    "PropertyClassCanonicalNames"the standard names of available property classes
    "PropertyCount"number of properties available
  • The following annotations can be used in the third argument of EntityValue["FoodType",property,annotation]:
  • "Source"source information for the property
    "Date"the date associated with the entity-property value (if any)
    "EntityAssociation"an association of entities and entity-property values
    "PropertyAssociation"an association of properties and entity-property values
    "EntityPropertyAssociation"an association in which the specified entities are keys, and values are a nested association of properties and entity-property values
    "PropertyEntityAssociation"an association in which the specified properties are keys, and values are a nested association of entities and entity-property values
    "Dataset"a dataset in which the specified entities are keys, and values are an association of property names and entity-property values
  • The following annotations can be used in the second argument of EntityValue[property,annotation]:
  • "Qualifiers"the list of possible qualifiers for the property
    "QualifierValues"the list of possible values that can be given to each qualifier
    "DefaultQualifierValues"the list of default values for the property's qualifiers
    "Description"a brief textual description of the property
    "Definition"a detailed textual definition of the property
    "PhysicalQuantity"the physical quantity associated with the entity-property value
    "Unit"the unit associated with the entity-property value
  • A qualifier value of Automatic indicates that an applicable format of values can be used; e.g. for the "Date" qualifier, this includes a proper date or date span.

Examples

open allclose all

Basic Examples  (2)

Choose five random entities:

Use implicit entity syntax to retrieve food entities with specified criteria:

Scope  (1)

Implicit Entity Classes  (1)

Find torus-shaped foods:

Find externally red, spherical food types:

Neat Examples  (2)

Visualize vegetables with white or cream interiors weighted by iron content:

Visualize the pH of various groups of food types: