Tea Team
Cara Reedy & Katie Chastain
Overview of Ontology
Overview, continued
Structure
SPARQL examples
“Does my Sencha green tea blend well with mint tea?”
ASK {
tea:SenchaGreenTea tea:hasFlavor ?flavorA ;
tea:hasBrewingTemperature ?temp .
tea:MintTea tea:hasFlavor ?flavorB ;
tea:hasBrewingTemperature ?temp .
?flavorA tea:isCompatibleWith ?flavorB .
}
Will it blend? That is the question….
SPARQL, continued
“I like the flavor of snow bud white tea and I want to blend it with rose hip tea, but their brewing temperatures are not compatible. What tastes like the snow buds, but will still make a compatible blend with the rose hips?”
SELECT DISTINCT ?tealabel where {
tea:snowBudWhiteTea tea:hasFlavor ?flavorA .
tea:roseHipTea tea:hasBrewingTemperature ?temp .
?othertea tea:hasFlavor ?flavorA ;
tea:hasBrewingTemperature ?temp .
?othertea rdfs:label ?tealabel .
}
SPARQL, continued continued
“I have a little bit of fancy Oolong tea left. What are all the possible things that would taste good in a blend with it?”
SELECT DISTINCT ?tealabel where {
tea:exampleOolong tea:brewsAt ?temp ;
tea:hasFlavor ?flavorA .
?othertea tea:hasBrewingTemperature ?temp ;
tea:hasFlavor ?flavorB .
?flavorA tea:isCompatibleWith ?flavorB .
?othertea rdfs: label ?tealabel .
}
Evaluation
Going forward
Modelling questions - blends
Other issues