@prefix : . @prefix owl: . @prefix rdf: . @prefix xml: . @prefix xsd: . @prefix rdfs: . @base . rdf:type owl:Ontology ; owl:imports , , . ################################################################# # Annotation properties ################################################################# ### http://www.w3.org/1999/02/22-rdf-syntax-ns#label rdf:label rdf:type owl:AnnotationProperty . ### http://www.w3.org/ns/prov#hadPrimarySource rdf:type owl:AnnotationProperty . ### http://www.w3.org/ns/prov#isDefinedBy rdf:type owl:AnnotationProperty . ### http://www.w3.org/ns/prov#wasGeneratedBy rdf:type owl:AnnotationProperty . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#hasPythonRepresentation :hasPythonRepresentation rdf:type owl:AnnotationProperty ; rdfs:subPropertyOf rdfs:comment . ################################################################# # Object Properties ################################################################# ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#foodPreference :foodPreference rdf:type owl:ObjectProperty . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#prohibits :prohibits rdf:type owl:ObjectProperty . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#shouldNotEat :shouldNotEat rdf:type owl:ObjectProperty . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#wantsToEat :wantsToEat rdf:type owl:ObjectProperty . ################################################################# # Classes ################################################################# ### http://semanticscience.org/resource/SIO_000614 owl:equivalentClass :MedicationDosage . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#ActivityGuideline :ActivityGuideline rdf:type owl:Class ; rdfs:subClassOf :LifestyleGuideline . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#ActivityLogSummary :ActivityLogSummary rdf:type owl:Class ; rdfs:subClassOf :TemporalSummary . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Carbohydrate :Carbohydrate rdf:type owl:Class ; rdfs:subClassOf :Nutrient . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#ConsistentCarbIntakeDirective :ConsistentCarbIntakeDirective rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :LowCarb ] , [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :DG02 ] ; rdfs:subClassOf :Directive ; rdf:label "Baseline carbohydrate level should be 30g - 45g per carbs per meal +/- 5 carbs) whole dy 150g max." ; rdfs:comment "" ; :hasPythonRepresentation """{'carbohydrate' : {'unit': 'g', 'meal' : {'type': 'range', 'lower' : '30', 'upper': '45'}, 'daily total' : '150'} }""" . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#ConsistentPattern :ConsistentPattern rdf:type owl:Class ; owl:equivalentClass [ owl:intersectionOf ( [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Frequency ] [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Quantifier ] ) ; rdf:type owl:Class ] ; rdfs:subClassOf :TemporalPattern . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DG02 :DG02 rdf:type owl:Class ; owl:equivalentClass [ owl:intersectionOf ( [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :FixedMedicationDosage ] [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom [ owl:intersectionOf ( :ConsistentPattern [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Carbohydrate ] ) ; rdf:type owl:Class ] ] ) ; rdf:type owl:Class ] ; rdfs:subClassOf :DietaryGuideline ; rdfs:comment "For individuals whose daily insulin dosing is fixed, a consistent pattern of carbohydrate intake with respect to time and amount may be recommended to improve glycemic control and reduce the risk of hypoglycemia." ; rdfs:label "For a diabetic individual, if their daily insulin dosing is fixed, and there is a consistent pattern of carbohydrate intake with respect to time and amount, that pattern should be maintained." . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DG05 :DG05 rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom [ owl:intersectionOf ( :ConsistentPattern [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom [ owl:intersectionOf ( :HighCarb :LowFat ) ; rdf:type owl:Class ] ] ) ; rdf:type owl:Class ] ] ; rdfs:subClassOf :DietaryGuideline ; rdfs:comment "Data on the ideal total dietary fat content for people with diabetes are inconclusive, so an eating plan emphasizing elements of a Mediterranean-style diet rich in monounsaturated and polyunsaturated fats may be considered to improve glucose metabolism and lower cardiovascular disease risk and can be an effective alternative to a diet low in total fat but relatively high in carbohydrates." ; rdfs:label "Diet low in total fat but relatively high in carbohydrates should be replaced with Mediterranean diet." . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DG11 :DG11 rdf:type owl:Class ; rdfs:subClassOf :DietaryGuideline ; rdfs:comment "Weight loss can be attained with lifestyle programs that achieve a 500–750 kcal/day energy deficit or provide ∼1,200–1,500 kcal/day for women adjusted for the individual's baseline body weight." ; rdfs:label "Ideal caloric deficit for weight loss in women." . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DG12 :DG12 rdf:type owl:Class ; rdfs:subClassOf :DietaryGuideline ; rdfs:comment "Weight loss can be attained with lifestyle programs that achieve a 500–750 kcal/day energy deficit and 1,500–1,800 kcal/day for men, adjusted for the individual's baseline body weight." ; rdfs:label "Ideal caloric deficit for weight loss in men." . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DG17 :DG17 rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom [ owl:intersectionOf ( :LowCarb [ rdf:type owl:Class ; owl:unionOf ( :DiabeticUser :PrediabeticUser ) ] ) ; rdf:type owl:Class ] ] ; rdfs:subClassOf :DietaryGuideline ; rdfs:comment "For people with type 2 diabetes or prediabetes, low-carbohydrate eating plans show potential to improve glycemia and lipid outcomes for up to 1 year." ; rdfs:label "Low-carbohydrate eating plan recommendation." . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DG25 :DG25 rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom [ owl:intersectionOf ( :ConsistentPattern [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :IdealTotalFat ] ) ; rdf:type owl:Class ] ] ; rdfs:subClassOf :DietaryGuideline ; rdfs:comment "The National Academy of Medicine has defined an acceptable macronutrient distribution for total fat for all adults to be 20–35% of total calorie intake. " ; rdfs:label "Macronutrient distribution for total fat should be 20–35% of total calorie intake. "^^xsd:string . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Daily :Daily rdf:type owl:Class ; rdfs:subClassOf :Frequency . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DerivedNutrient :DerivedNutrient rdf:type owl:Class ; rdfs:subClassOf :Nutrient . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DiabeticUser :DiabeticUser rdf:type owl:Class ; rdfs:subClassOf :HEALSUser . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Diet :Diet rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#DietaryGuideline :DietaryGuideline rdf:type owl:Class ; rdfs:subClassOf :LifestyleGuideline . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Directive :Directive rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Fat :Fat rdf:type owl:Class ; rdfs:subClassOf :Nutrient . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#FixedMedicationDosage :FixedMedicationDosage rdf:type owl:Class ; rdfs:subClassOf :MedicationDosage . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#FoodLogSummary :FoodLogSummary rdf:type owl:Class ; owl:equivalentClass [ owl:intersectionOf ( [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Nutrient ] [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :TemporalPattern ] ) ; rdf:type owl:Class ] ; rdfs:subClassOf :TemporalSummary . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Frequency :Frequency rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#GlycemicLoad :GlycemicLoad rdf:type owl:Class ; rdfs:subClassOf :DerivedNutrient . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Goal :Goal rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Guideline :Guideline rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#HEALSUser :HEALSUser rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Guideline ] ; rdfs:subClassOf . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#HighCarb :HighCarb rdf:type owl:Class ; rdfs:subClassOf :Diet ; rdf:label "greater that 65% carbs" ; "https://blog.myfitnesspal.com/ask-the-dietitian-whats-the-best-carb-protein-and-fat-breakdown-for-weight-loss/"^^xsd:anyURI . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#HighProtein :HighProtein rdf:type owl:Class ; rdfs:subClassOf :Diet ; rdf:label "10–35% of of calories" ; "https://blog.myfitnesspal.com/ask-the-dietitian-whats-the-best-carb-protein-and-fat-breakdown-for-weight-loss/"^^xsd:anyURI . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#IdealTotalFat :IdealTotalFat rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :DG25 ] ; rdfs:subClassOf :Diet ; "https://blog.myfitnesspal.com/ask-the-dietitian-whats-the-best-carb-protein-and-fat-breakdown-for-weight-loss/"^^xsd:anyURI . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#IdealTotalFatDirective :IdealTotalFatDirective rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :IdealTotalFat ] ; rdfs:subClassOf :Directive ; :hasPythonRepresentation """{'total fat': {'percentage': 'calories', 'type': 'range', 'meal': { 'lower': '20', 'upper': '35'} } }""" . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#InconsistentPattern :InconsistentPattern rdf:type owl:Class ; rdfs:subClassOf :TemporalPattern . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#IncreasingPattern :IncreasingPattern rdf:type owl:Class ; rdfs:subClassOf :TemporalPattern . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Insulin :Insulin rdf:type owl:Class ; rdfs:subClassOf :Medication . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#LifestyleGuideline :LifestyleGuideline rdf:type owl:Class ; rdfs:subClassOf :Guideline . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#LowCarb :LowCarb rdf:type owl:Class ; rdfs:subClassOf :Diet ; rdf:label "45–65% of calories" ; "https://blog.myfitnesspal.com/ask-the-dietitian-whats-the-best-carb-protein-and-fat-breakdown-for-weight-loss/"^^xsd:anyURI . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#LowFat :LowFat rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :DG25 ] ; rdfs:subClassOf :Diet ; rdf:label "20–35% of calories" ; "https://blog.myfitnesspal.com/ask-the-dietitian-whats-the-best-carb-protein-and-fat-breakdown-for-weight-loss/"^^xsd:anyURI . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#LoweringPattern :LoweringPattern rdf:type owl:Class ; rdfs:subClassOf :TemporalPattern . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Medication :Medication rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#MedicationDosage :MedicationDosage rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Mediterranean :Mediterranean rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :DG05 ] ; rdfs:subClassOf :Diet ; rdf:label "food items tagged as mediterranean" . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#MediterraneanDietDirective :MediterraneanDietDirective rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Mediterranean ] , [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :DG05 ] ; rdfs:subClassOf :Directive ; :hasPythonRepresentation """{'food': {'tag': 'mediterranean'} }""" . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#MonounsaturatedFat :MonounsaturatedFat rdf:type owl:Class ; rdfs:subClassOf :Fat . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Monthly :Monthly rdf:type owl:Class ; rdfs:subClassOf :Frequency . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#NormalUser :NormalUser rdf:type owl:Class ; rdfs:subClassOf :HEALSUser . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Nutrient :Nutrient rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#PharmacologicGuideline :PharmacologicGuideline rdf:type owl:Class ; rdfs:subClassOf :Guideline . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#PolyunsaturatedFat :PolyunsaturatedFat rdf:type owl:Class ; rdfs:subClassOf :Fat . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#PrediabeticUser :PrediabeticUser rdf:type owl:Class ; rdfs:subClassOf :HEALSUser . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Quantifier :Quantifier rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Sodium :Sodium rdf:type owl:Class ; rdfs:subClassOf :Nutrient . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#TemporalPattern :TemporalPattern rdf:type owl:Class ; owl:equivalentClass [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :HEALSUser ] . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#TemporalSummary :TemporalSummary rdf:type owl:Class . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#TotalFat :TotalFat rdf:type owl:Class ; rdfs:subClassOf :Fat . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Vegan :Vegan rdf:type owl:Class ; rdfs:subClassOf :Diet . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Weekly :Weekly rdf:type owl:Class ; rdfs:subClassOf :Frequency . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#WeightLossGoal :WeightLossGoal rdf:type owl:Class ; rdfs:subClassOf :Goal . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#WeightMaintainGoal :WeightMaintainGoal rdf:type owl:Class ; rdfs:subClassOf :Goal . ################################################################# # Individuals ################################################################# ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Alice :Alice rdf:type owl:NamedIndividual , :PrediabeticUser , [ rdf:type owl:Restriction ; owl:onProperty ; owl:hasValue :AliceDietPattern ] , [ rdf:type owl:Restriction ; owl:onProperty ; owl:hasValue :AliceGoal ] ; rdfs:comment "Alice is a pre-diabetic woman in her thirties. She has a weight loss goal in mind. She has been consuming a low fat and high carb diet for a month." . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#AliceDietPattern :AliceDietPattern rdf:type owl:NamedIndividual , [ owl:intersectionOf ( :ConsistentPattern [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom [ owl:intersectionOf ( :HighCarb :LowFat ) ; rdf:type owl:Class ] ] ) ; rdf:type owl:Class ] . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#AliceGoal :AliceGoal rdf:type owl:NamedIndividual , [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :WeightMaintainGoal ] . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#Bob :Bob rdf:type owl:NamedIndividual , :DiabeticUser , [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :FixedMedicationDosage ] , [ rdf:type owl:Restriction ; owl:onProperty ; owl:hasValue :BobActivityPattern ] , [ rdf:type owl:Restriction ; owl:onProperty ; owl:hasValue :BobDietPattern ] ; rdfs:comment "Bob is an over-weight diabetic man in his sixties. He was advised to take a fixed dose of insulin, and consume a well-balanced consistent meal to maintain a healthy lifestyle."^^xsd:string . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#BobActivityPattern :BobActivityPattern rdf:type owl:NamedIndividual . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#BobDietPattern :BobDietPattern rdf:type owl:NamedIndividual , [ owl:intersectionOf ( :ConsistentPattern [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :Carbohydrate ] [ rdf:type owl:Restriction ; owl:onProperty ; owl:allValuesFrom :IdealTotalFat ] ) ; rdf:type owl:Class ] . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#BobGoal :BobGoal rdf:type owl:NamedIndividual , [ rdf:type owl:Restriction ; owl:onProperty ; owl:someValuesFrom :WeightLossGoal ] . ### https://raw.githubusercontent.com/oshanis/misc/master/guidelines.owl#MediterraneanDietEvidenceSentence :MediterraneanDietEvidenceSentence rdf:type owl:NamedIndividual , ; rdfs:comment "Data on the ideal total dietary fat content for people with diabetes are inconclusive, so an eating plan emphasizing elements of a Mediterranean-style diet rich in monounsaturated and polyunsaturated fats may be considered to improve glucose metabolism and lower cardiovascular disease risk and can be an effective alternative to a diet low in total fat but relatively high in carbohydrates." . ################################################################# # General axioms ################################################################# [ rdf:type owl:AllDisjointClasses ; owl:members ( :ConsistentPattern :InconsistentPattern :IncreasingPattern :LoweringPattern ) ] . [ rdf:type owl:AllDisjointClasses ; owl:members ( :InconsistentPattern :IncreasingPattern :LoweringPattern ) ] . ### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi