PREFIX mifc: <https://w3id.org/kaiiam/mifc/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

mifc:NamedThing a rdfs:Class .

<http://schema.org/Provenance> a rdfs:Class ;
  rdfs:comment "Supplemental data about the provenance of a Food and Component dataset collection standardized using MIFC." ;
  rdfs:subClassOf mifc:NamedThing .

mifc:provenance_dataset_label a rdf:Property ;
  rdfs:comment "A string corresponding to the labeled name of dataset (e.g., \"Standard Reference (SR) Legacy\")." ;
  rdfs:range xsd:string .

mifc:provenance_mifc_version_tag a rdf:Property ;
  rdfs:comment "A string corresponding to a named MIFC release number (e.g., \"v1.0.1\")." ;
  rdfs:range xsd:string .

mifc:provenance_contributor_orcid a rdf:Property ;
  rdfs:comment "A string corresponding to a \"|\" delimited list of ORCIDs of people who contributed to a MIFC formatted dataset. See https://orcid.org/." ;
  rdfs:range xsd:string .

mifc:provenance_organization_name a rdf:Property ;
  rdfs:comment "A string corresponding to a \"|\" delimited list of organizations who created or help to create to a MIFC formatted dataset. E.g., \"USDA\"." ;
  rdfs:range xsd:string .

<http://schema.org/Food> a rdfs:Class ;
  rdfs:comment "Metadata about foods analyzed for components of nutritional interest." ;
  rdfs:subClassOf mifc:NamedThing .

mifc:food_additional_types a rdf:Property ;
  rdfs:comment "A list of controlled vocabulary denoting the label(s) of additional food types, not including the food_primary_type that are in a food sample." ;
  rdfs:range xsd:string .

mifc:food_expiration_date a rdf:Property ;
  rdfs:comment "A datetime value representing the food expiration data as shown on the labeling information of the food sample." ;
  rdfs:range xsd:string .

mifc:food_acquisition_organization a rdf:Property ;
  rdfs:comment "A string denoting the name of the organization responsible for acquired the food sample." ;
  rdfs:range xsd:string .

mifc:food_label_weight a rdf:Property ;
  rdfs:comment "A float denoting the mass, (or weight on earth) as specified on the product label of a sampled primary food material." ;
  rdfs:range xsd:string .

mifc:food_brand_name a rdf:Property ;
  rdfs:comment "A string denoting a name identifying a product, service, or organization selling and or distributing the primary food material." ;
  rdfs:range xsd:string .

mifc:food_primary_type_icncp_group_name a rdf:Property ;
  rdfs:comment "A string denoting the Group (or cultivar-group) formal taxon category of the primary food material as specified by the International Code of Nomenclature for Cultivated Plants (ICNCP)." ;
  rdfs:range xsd:string .

mifc:food_upc_code a rdf:Property ;
  rdfs:comment "An string denoting a Universal Product Code (UPC) barcode of a food sample." ;
  rdfs:range xsd:string .

mifc:food_preservation_state a rdf:Property ;
  rdfs:comment "An enumerated set of controlled vocabulary terms representing the preservation state(s) of a food sample (e.g., \"raw\")." ;
  rdfs:range mifc:FoodPreservationState .

mifc:food_storage_temperature_state a rdf:Property ;
  rdfs:comment "An enumerated set of controlled vocabulary terms representing the qualitative temperature state at which a food sample was stored prior to acquisition (e.g., \"Refrigerated\")." ;
  rdfs:range mifc:FoodStorageTemperatureState .

mifc:food_origin_country a rdf:Property ;
  rdfs:comment "A string denoting the country code from which a food sample originates." ;
  rdfs:range xsd:string .

mifc:food_ripeness_state a rdf:Property ;
  rdfs:comment "An enumerated set of controlled vocabulary terms representing the qualitative freshness state of a food sample when prepared for analysis." ;
  rdfs:range mifc:FoodRipenessState .

mifc:food_primary_type_scientific_name a rdf:Property ;
  rdfs:comment "A string denoting the scientific name, (in binomial nomenclature) of an organism that a food material is primarily composed of." ;
  rdfs:range xsd:string .

mifc:food_distributor_country a rdf:Property ;
  rdfs:comment "A string denoting the country code of a distributor organization from which a food sample was acquired." ;
  rdfs:range xsd:string .

mifc:food_acquisition_country a rdf:Property ;
  rdfs:comment "A string denoting the country code from which a food sample was acquired." ;
  rdfs:range xsd:string .

mifc:food_acquisition_location_name a rdf:Property ;
  rdfs:comment "A string describing the name of the location from which a food sample was acquired (e.g., \"Safeway\")." ;
  rdfs:range xsd:string .

mifc:food_primary_type_icncp_cultivar_name a rdf:Property ;
  rdfs:comment "A string denoting the cultivar name of the primary food material as specified by the International Code of Nomenclature for Cultivated Plants (ICNCP)." ;
  rdfs:range xsd:string .

mifc:food_cooking_method a rdf:Property ;
  rdfs:comment "An enumerated set of controlled vocabulary terms representing the any cooking method(s) applied to a food sample prior to analysis (e.g., \"baked\")." ;
  rdfs:range mifc:FoodCookingMethod .

mifc:food_acquisition_agent_name a rdf:Property ;
  rdfs:comment "A string denoting the name of the agent (person, device or other type of service) that acquired the food sample." ;
  rdfs:range xsd:string .

mifc:food_sell_by_date a rdf:Property ;
  rdfs:comment "A datetime value representing a date that indicates to stores how long to display a food product for sale for inventory management purposes." ;
  rdfs:range xsd:string .

mifc:food_category_label a rdf:Property ;
  rdfs:comment "A string or controlled vocabulary denoting the label of the food group or category of the primary food material." ;
  rdfs:range xsd:string .

mifc:food_acquisition_date a rdf:Property ;
  rdfs:comment "A datetime value representing the date a food sample was acquired." ;
  rdfs:range xsd:string .

mifc:food_laboratory_sample_aliquot_id a rdf:Property ;
  rdfs:comment "A string denoting an identifier of a unique aliquot of a food laboratory sample which was prepared from a food sample." ;
  rdfs:range xsd:string .

mifc:food_acquisition_country_subdivision a rdf:Property ;
  rdfs:comment "A string denoting the country subdivision from which a food sample was acquired (e.g., state or province)." ;
  rdfs:range xsd:string .

mifc:food_acquisition_location_type a rdf:Property ;
  rdfs:comment "A string describing the type of location from which a food sample was acquired (e.g., a supermarket)." ;
  rdfs:range mifc:FoodAcquisitionLocationType .

mifc:food_acquisition_longitude a rdf:Property ;
  rdfs:comment "A float representing the longitude of the place from which the food sample was acquired." ;
  rdfs:range xsd:float .

mifc:food_acquisition_latitude a rdf:Property ;
  rdfs:comment "A float representing the latitude of the place from which the food sample was acquired." ;
  rdfs:range xsd:float .

mifc:food_primary_type_label a rdf:Property ;
  rdfs:comment "A string denoting the label of a controlled vocabulary term representing the primary food material which was sampled." ;
  rdfs:range xsd:string .

mifc:food_distributor_country_subdivision a rdf:Property ;
  rdfs:comment "A string denoting the country subdivision of a distributor organization from which a food sample was acquired, (e.g., state or province)." ;
  rdfs:range xsd:string .

mifc:food_laboratory_sample_id a rdf:Property ;
  rdfs:comment "A string denoting an identifier of a laboratory sample which was prepared from a food sample." ;
  rdfs:range xsd:string .

mifc:food_label_weight_unit a rdf:Property ;
  rdfs:comment "A unit code representing the unit of measurement in which a food_label_weight is measured." ;
  rdfs:range xsd:string .

mifc:food_primary_type_ncbi_taxon_id a rdf:Property ;
  rdfs:comment "A curie from the ontology representation of the NCBI organismal taxonomy (NCBITaxon) describing the taxonomic identifier of the primary food material." ;
  rdfs:range xsd:string .

mifc:food_laboratory_sample_batch_id a rdf:Property ;
  rdfs:comment "A string denoting an identifier of a batch of laboratory samples analysed together." ;
  rdfs:range xsd:string .

mifc:food_acquisition_city a rdf:Property ;
  rdfs:comment "A string denoting the city in which a food sample was acquired." ;
  rdfs:range xsd:string .

mifc:food_primary_type_animal_breed_name a rdf:Property ;
  rdfs:comment "A string denoting the breed name of the primary food material." ;
  rdfs:range xsd:string .

mifc:food_distributor_city a rdf:Property ;
  rdfs:comment "A string denoting the city of a distributor organization from which a food sample was acquired." ;
  rdfs:range xsd:string .

<http://schema.org/name> a rdf:Property ;
  rdfs:comment "A controlled vocabulary term representing the primary food material which was sampled." ;
  rdfs:range xsd:string .

mifc:food_lot_number a rdf:Property ;
  rdfs:comment "A string denoting the identifying lot number number assigned by a manufacturer to a particular quantity, (or lot) of the sampled primary food material." ;
  rdfs:range xsd:string .

mifc:Container a rdfs:Class .

mifc:components a rdf:Property ;
  rdfs:range <http://schema.org/Component> .

mifc:foods a rdf:Property ;
  rdfs:range <http://schema.org/Food> .

mifc:provenances a rdf:Property ;
  rdfs:range <http://schema.org/Provenance> .

<http://schema.org/Component> a rdfs:Class ;
  rdfs:comment "Metadata about components of nutritional interest measured from foods." ;
  rdfs:subClassOf mifc:NamedThing .

mifc:component_sample_id a rdf:Property ;
  rdfs:comment "A string denoting the primary identifier for a sample of the class Component. Note that component_sample_id does not need be unique in a given dataset and should be used to relate Food and Component records via food_sample_id from the Food class." ;
  rdfs:range xsd:string .

mifc:component_record_date a rdf:Property ;
  rdfs:comment "A datetime value representing recorded date pertaining to an analyzed sample." ;
  rdfs:range xsd:string .

mifc:component_analysis_date a rdf:Property ;
  rdfs:comment "A datetime value representing the date in which a component of nutritional interest was analyzed." ;
  rdfs:range xsd:string .

mifc:component_comment a rdf:Property ;
  rdfs:comment "A comment relating to an analyzed component of nutritional interest." ;
  rdfs:range xsd:string .

mifc:compound_sample_aggregation_maximum_value a rdf:Property ;
  rdfs:comment "A float representing the maximum measured compound value of an aggregation of compound samples." ;
  rdfs:range xsd:float .

mifc:component_data_points_number a rdf:Property ;
  rdfs:comment "An integer representing the number of individual samples that comprise a component sample. 1 if an individual sample >1 if an aggregation of samples." ;
  rdfs:range xsd:integer .

mifc:compound_sample_aggregation_standard_deviation a rdf:Property ;
  rdfs:comment "A float representing the standard deviation of a measured compound value of an aggregation of compound samples." ;
  rdfs:range xsd:float .

mifc:compound_analytical_laboratory_name a rdf:Property ;
  rdfs:comment "A string denoting the name of a laboratory that conducted the analytical analysis of a component of nutritional interest." ;
  rdfs:range xsd:string .

mifc:compound_sample_aggregation_minimum_value a rdf:Property ;
  rdfs:comment "A float representing the minimum measured compound value of an aggregation of compound samples." ;
  rdfs:range xsd:float .

mifc:component_type_label a rdf:Property ;
  rdfs:comment "A string denoting the label of a controlled vocabulary term representing an analyzed component_type from a food sample." ;
  rdfs:range xsd:string .

mifc:component_derivation_type a rdf:Property ;
  rdfs:comment "A controlled vocabulary term denoting how a component of nutritional interest was generated, (e.g., Analytical or Calculated)." ;
  rdfs:range xsd:string .

mifc:compound_analytical_measurement_method a rdf:Property ;
  rdfs:comment "A controlled vocabulary term denoting the method used to conduct an analytical analysis on a sample, (e.g., HPLC)." ;
  rdfs:range mifc:CompoundAnalyticalMeasurementMethod .

mifc:compound_analytical_measurement_protocol_doi a rdf:Property ;
  rdfs:comment "A string denoting a digital object identifier link to a measurement protocol used to conduct an analytical analysis on a sample." ;
  rdfs:range xsd:string .

mifc:component_quality_control_remeasurement a rdf:Property ;
  rdfs:comment "A boolean value denoting TRUE if a component_recorded_value was measured more than once for internal laboratory quality control purposes." ;
  rdfs:range xsd:boolean .

mifc:component_limit_of_quantitation a rdf:Property ;
  rdfs:comment "A string representing the lowest analyte concentration likely to be reliably distinguished from the Limit of Blank (LoB) and at which detection is feasible during the analysis of a component of nutritional interest." ;
  rdfs:range xsd:string .

mifc:compound_sample_aggregation_median_value a rdf:Property ;
  rdfs:comment "A float representing the median measured compound value of an aggregation of compound samples." ;
  rdfs:range xsd:float .

mifc:component_type a rdf:Property ;
  rdfs:comment "A controlled vocabulary term representing the type of component of nutritional interest analyzed from a food sample." ;
  rdfs:range xsd:string .

mifc:component_measurement_unit a rdf:Property ;
  rdfs:comment "A unit code representing the unit of measurement in which a component_recorded_value is measured." ;
  rdfs:range xsd:string .

mifc:component_recorded_value a rdf:Property ;
  rdfs:comment "A float representing a recorded value of a component of nutritional interest measured from a laboratory sample derived from a food sample." ;
  rdfs:range xsd:float .

mifc:FoodAcquisitionLocationType a rdfs:Class .

mifc:FoodAcquisitionLocationType.BIOBANK a mifc:FoodAcquisitionLocationType .

mifc:FoodAcquisitionLocationType.FIELD a mifc:FoodAcquisitionLocationType .

mifc:FoodAcquisitionLocationType.FRESH_MARKET a mifc:FoodAcquisitionLocationType .

mifc:FoodAcquisitionLocationType.OTHER a mifc:FoodAcquisitionLocationType .

mifc:FoodAcquisitionLocationType.SMALL_GROCERY a mifc:FoodAcquisitionLocationType .

mifc:FoodAcquisitionLocationType.SUPERMARKET a mifc:FoodAcquisitionLocationType .

mifc:FoodAcquisitionLocationType.UNKNOWN a mifc:FoodAcquisitionLocationType .

mifc:FoodPreservationState a rdfs:Class .

mifc:FoodPreservationState.AIR_DRIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.ARTIFICIALLY_DRIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.BRINED a mifc:FoodPreservationState .

mifc:FoodPreservationState.CANDIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.CANNED a mifc:FoodPreservationState .

mifc:FoodPreservationState.CURED a mifc:FoodPreservationState .

mifc:FoodPreservationState.DRIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.FERMENTED a mifc:FoodPreservationState .

mifc:FoodPreservationState.FREEZE_DRIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.FRESH a mifc:FoodPreservationState .

mifc:FoodPreservationState.HEAT_TREATED a mifc:FoodPreservationState .

mifc:FoodPreservationState.IRRADIATED a mifc:FoodPreservationState .

mifc:FoodPreservationState.JELLIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.KIPPERED a mifc:FoodPreservationState .

mifc:FoodPreservationState.NATURALLY_DRIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.PASTEURIZED a mifc:FoodPreservationState .

mifc:FoodPreservationState.PICKLED a mifc:FoodPreservationState .

mifc:FoodPreservationState.RAW a mifc:FoodPreservationState .

mifc:FoodPreservationState.SHELF_STABLE a mifc:FoodPreservationState .

mifc:FoodPreservationState.SUN_DRIED a mifc:FoodPreservationState .

mifc:FoodPreservationState.ULTRAVIOLET_LIGHT_EXPOSED a mifc:FoodPreservationState .

mifc:FoodCookingMethod a rdfs:Class .

mifc:FoodCookingMethod.BAKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.BLANCHED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.BOILED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.BRAISED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.BROILED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.COOKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.DRY_HEAT_COOKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.DRY_ROASTED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.FRIED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.GRILLED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.HEATED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.MICROWAVED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.MOIST_HEAT_COOKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.OIL_ROASTED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.PAN_BROILED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.PAN_BROWNED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.PAN_FRIED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.PARBOILED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.PARTIALLY_FRIED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.POACHED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.PRECOOKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.REFRIED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.ROASTED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.SAUTEED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.SIMMERED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.SLOW_ROASTED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.SMOKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.SPIT_ROASTED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.STEAMED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.STEWED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.STIR_FRIED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.TOASTED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.UNCOOKED a mifc:FoodCookingMethod .

mifc:FoodCookingMethod.UNHEATED a mifc:FoodCookingMethod .

mifc:FoodRipenessState a rdfs:Class .

mifc:FoodRipenessState.OVERRIPE a mifc:FoodRipenessState .

mifc:FoodRipenessState.RIPE a mifc:FoodRipenessState .

mifc:FoodRipenessState.SLIGHTLY_RIPE a mifc:FoodRipenessState .

mifc:FoodRipenessState.UNRIPE a mifc:FoodRipenessState .

mifc:CompoundAnalyticalMeasurementMethod a rdfs:Class .

mifc:CompoundAnalyticalMeasurementMethod.FLUOROMETRIC a mifc:CompoundAnalyticalMeasurementMethod .

mifc:CompoundAnalyticalMeasurementMethod.GC a mifc:CompoundAnalyticalMeasurementMethod .

mifc:CompoundAnalyticalMeasurementMethod.GLC a mifc:CompoundAnalyticalMeasurementMethod ;
  rdfs:comment "gas-liquid chromatography" .

mifc:CompoundAnalyticalMeasurementMethod.GRAVIMETRIC a mifc:CompoundAnalyticalMeasurementMethod .

<http://purl.obolibrary.org/obo/OBI_0002116> a mifc:CompoundAnalyticalMeasurementMethod ;
  rdfs:comment "High performance liquid chromotography" .

mifc:CompoundAnalyticalMeasurementMethod.KJELDAHL a mifc:CompoundAnalyticalMeasurementMethod .

mifc:CompoundAnalyticalMeasurementMethod.NEPHELOMETRY a mifc:CompoundAnalyticalMeasurementMethod .

mifc:FoodStorageTemperatureState a rdfs:Class .

mifc:FoodStorageTemperatureState.CHILLED a mifc:FoodStorageTemperatureState .

mifc:FoodStorageTemperatureState.FOODSAFE_CHILLED a mifc:FoodStorageTemperatureState .

mifc:FoodStorageTemperatureState.FROZEN a mifc:FoodStorageTemperatureState .

mifc:FoodStorageTemperatureState.REFRIGERATED a mifc:FoodStorageTemperatureState .
