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

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

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