public class NaturopathyWS
extends java.lang.Object
Constructor and Description |
---|
NaturopathyWS() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
bodyTemperatureSick()
Suggest home remedies according to the body temperature scenario
|
javax.ws.rs.core.Response |
convertFoodMeasurement()
Convert senml measurements into semantic measurements
|
javax.ws.rs.core.Response |
convertFoodMNeasuremt()
Convert SenML health measurements according to the M3 nomenclature implemented in the M3 ontology
|
javax.ws.rs.core.Response |
convertHealthMeasurement()
Convert SenML health measurements according to the M3 nomenclature implemented in the M3 ontology
|
java.lang.String |
emotionDisease(java.lang.String property)
scenario relationships between emotion and disease
|
java.lang.String |
getDiseases()
Search all diseases in the naturopathy dataset
|
java.util.Set<SparqlResultRecipeNaturopathy> |
getFoodAvailableKitchenSeason()
Get food available in the kitchen and their season
|
java.util.ArrayList<SparqlResultRecipe> |
getRecipeDetails(java.lang.String property)
Search detail of a recipe
|
java.lang.String |
isRecommendedFor()
Search food related to the cold symptom
|
java.lang.String |
luminosityWeatherEmotion()
Scenario seasonal affective disorder
According to the luminosity measurement we can interpret your mood
|
java.util.ArrayList<SparqlResultMatchingFood> |
matchingFood()
Link semantic food measurements to existing semantic dataset (recipe, food, naturopathy)
|
java.lang.String |
searchFoodHighCholesterol()
Cholesterol scenario: get recipe fat free
|
java.util.ArrayList<SparqlResultRecipe> |
searchRecipeWithIngredient(java.lang.String property)
Search a recipe
|
java.lang.String |
searchSeasonForTemperature()
Search food according to the season (naturopathy:hasSeason)
The Season is deduced according to the external temperature (jena rule reasoner)
File with jena rule temperature
|
public java.lang.String bodyTemperatureSick()
public javax.ws.rs.core.Response convertHealthMeasurement()
public javax.ws.rs.core.Response convertFoodMNeasuremt()
public java.lang.String luminosityWeatherEmotion()
public java.lang.String searchSeasonForTemperature()
public java.lang.String emotionDisease(java.lang.String property)
property
- public java.lang.String searchFoodHighCholesterol()
public java.lang.String getDiseases()
public java.lang.String isRecommendedFor()
public javax.ws.rs.core.Response convertFoodMeasurement()
data
- converted according to the format RDFpublic java.util.ArrayList<SparqlResultMatchingFood> matchingFood()
public java.util.ArrayList<SparqlResultRecipe> searchRecipeWithIngredient(java.lang.String property)
property
- public java.util.ArrayList<SparqlResultRecipe> getRecipeDetails(java.lang.String property)
property
- public java.util.Set<SparqlResultRecipeNaturopathy> getFoodAvailableKitchenSeason()