SlideShare uma empresa Scribd logo
1 de 14
liquid
context-aware queries
chris beckmann
jeffrey heer
alan newberger
jason hong
liquid introduction
Context Fabric: storage and subscription
services at InfoSpace level
What about cross infospace concerns?
 “Give me the e-mails of all people in the room”
What about complex relations?
 “Give me all the people in the conference hall
with whom I have a co-author in common”
liquid introduction
 “Give me all the people in the conference hall
with whom I have a co-author in common”
Currently, a context-aware app must
handle all this complexity on its own!
liquid introduction
Enter liquid, a prototype query service
 distributed across infospaces
 location.occupantperson.email
 handles persistent, continuous queries
 people exiting, entering rooms
 supports rich set of data selection criteria
 selection, projection, joins
liquid concepts
entity type paths
 a naming mechanism for context data
query specification
 how to issue a query
query execution
 how a query is evaluated
result items
 encapsulation for query results
entity type paths
Each infospace in the sequence is specified by its
relation to the preceding infospace, and addressed by
an entity-link.
An entity type path specifies a ContextTuple to be retrieved at the end of a
sequence of infospaces.
location.occupant.publication
entity type paths
location.occupant.publication
entity type paths
location.occupant.publication
entity type paths
location.occupant.publication
query specification
 queries are specified using XML syntax
 future work: a high-level query language that
maps down to this intermediate XML rep.
<?xml version=“1.0” encoding = “UTF-8” ?>
<Query>
<QuerySpec persist=“true”>
<EntityTypePath>location</EntityTypePath>
</QuerySpec>
</Query>
query evaluation
result items
result items == collection of context tuples
+ query metadata (timestamp, status)
query result status types
 inserted new tuple inserted into an infospace
 deleted tuple deleted from an infospace
 updated tuple updated in infospace (and still matches query)
 exited tuple updated in infospace (and no longer matches)
 expired tuple fell out of window watched by liquid
future work
 testing / evaluation / deployment
 once confab deploys, this will be natural
 query language
 already have the basics of an OQL-like natural query
language, but need a parser
 perfect scope for an undergrad project
 advanced entity type paths
 intra-infospace scoping
 optimization
 making liquid faster, more robust in response to usage
conclusion
liquid provides distributed, continuous
queries over collected context data
a necessary component for enabling the
easy development of c/a-apps
as c/a-architectures deploy, liquid will
hopefully grow to match developers’
needs
liquid source code is bundled with the context fabric distribution
-check out package edu.berkeley.guir.confab.query
-context fabric home: http://sourceforge.net/projects/confab

Mais conteúdo relacionado

Último

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Último (20)

1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Liquid: A System for Context-Aware Queries, at Ubicomp 2003

  • 2. liquid introduction Context Fabric: storage and subscription services at InfoSpace level What about cross infospace concerns?  “Give me the e-mails of all people in the room” What about complex relations?  “Give me all the people in the conference hall with whom I have a co-author in common”
  • 3. liquid introduction  “Give me all the people in the conference hall with whom I have a co-author in common” Currently, a context-aware app must handle all this complexity on its own!
  • 4. liquid introduction Enter liquid, a prototype query service  distributed across infospaces  location.occupantperson.email  handles persistent, continuous queries  people exiting, entering rooms  supports rich set of data selection criteria  selection, projection, joins
  • 5. liquid concepts entity type paths  a naming mechanism for context data query specification  how to issue a query query execution  how a query is evaluated result items  encapsulation for query results
  • 6. entity type paths Each infospace in the sequence is specified by its relation to the preceding infospace, and addressed by an entity-link. An entity type path specifies a ContextTuple to be retrieved at the end of a sequence of infospaces. location.occupant.publication
  • 10. query specification  queries are specified using XML syntax  future work: a high-level query language that maps down to this intermediate XML rep. <?xml version=“1.0” encoding = “UTF-8” ?> <Query> <QuerySpec persist=“true”> <EntityTypePath>location</EntityTypePath> </QuerySpec> </Query>
  • 12. result items result items == collection of context tuples + query metadata (timestamp, status) query result status types  inserted new tuple inserted into an infospace  deleted tuple deleted from an infospace  updated tuple updated in infospace (and still matches query)  exited tuple updated in infospace (and no longer matches)  expired tuple fell out of window watched by liquid
  • 13. future work  testing / evaluation / deployment  once confab deploys, this will be natural  query language  already have the basics of an OQL-like natural query language, but need a parser  perfect scope for an undergrad project  advanced entity type paths  intra-infospace scoping  optimization  making liquid faster, more robust in response to usage
  • 14. conclusion liquid provides distributed, continuous queries over collected context data a necessary component for enabling the easy development of c/a-apps as c/a-architectures deploy, liquid will hopefully grow to match developers’ needs liquid source code is bundled with the context fabric distribution -check out package edu.berkeley.guir.confab.query -context fabric home: http://sourceforge.net/projects/confab