SlideShare a Scribd company logo
1 of 43
Trio:  A System for  Data ,  Uncertainty , and  Lineage Search “stanford trio” DATA UNCERTAINTY LINEAGE
Stanford Report: March ‘06
Trio ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Picture Data Uncertainty Lineage (“sourcing”)
Why Uncertainty + Lineage? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why Uncertainty + Lineage? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Goal ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Trio   }
The Trio Trio ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Trio Trio ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Running Example: Crime-Solving ,[object Object],[object Object],[object Object]
Data Model: Uncertainty ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Our Model for Uncertainty ,[object Object],[object Object],[object Object]
Our Model for Uncertainty ,[object Object],[object Object],[object Object],= Three possible instances (Amy, Honda)  ∥  (Amy, Toyota)  ∥  (Amy, Mazda) Saw (witness,car) { Honda, Toyota, Mazda } car Amy witness
Our Model for Uncertainty ,[object Object],[object Object],[object Object],Six possible instances ? (Amy, Honda)  ∥  (Amy, Toyota)  ∥  (Amy, Mazda) (Betty, Acura) Saw (witness,car)
Our Model for Uncertainty ,[object Object],[object Object],[object Object],? Six possible instances, each with a probability (Amy, Honda): 0.5  ∥  (Amy,Toyota): 0.3  ∥  (Amy, Mazda): 0.2 (Betty, Acura): 0.6 Saw (witness,car)
Deficiency in Model Suspects   =  π person (Saw  ⋈  Drives) ? ? ? Does not correctly capture possible instances in the result CANNOT (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Billy, Honda)  ∥ (Frank, Honda) (Hank, Honda) (Jimmy, Toyota)  ∥ (Jimmy, Mazda) Drives (person,car) Jimmy Billy  ∥ Frank Hank Suspects
Lineage to the Rescue ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example with Lineage ? ? ? Suspects   =  π person (Saw  ⋈  Drives) λ (31) = (11,2),(21,2) λ (32,1) = (11,1),(22,1);  λ (32,2) = (11,1),(22,2) λ (33) = (11,1), 23 11 ID (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) 23 22 21 ID (Billy, Honda)  ∥ (Frank, Honda) (Hank, Honda) (Jimmy, Toyota)  ∥ (Jimmy, Mazda) Drives (person,car) 33 32 31 ID Jimmy Billy  ∥ Frank Hank Suspects Correctly captures possible instances in the result
Uncertainty-Lineage Databases ( ULDBs ) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Querying ULDBs ,[object Object],[object Object],[object Object],TriQL
Initial TriQL Example SELECT Drives.person INTO Suspects FROM Saw, Drives WHERE Saw.car = Drives.car ? ? ? λ (31) = (11,2),(21,2) λ (32,1)=(11,1),(22,1);  λ (32,2)=(11,1),(22,2) λ (33) = (11,1), 23 11 ID (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) 23 22 21 ID (Billy, Honda)  ∥ (Frank, Honda) (Hank, Honda) (Jimmy, Toyota)  ∥ (Jimmy, Mazda) Drives (person,car) 33 32 31 ID Jimmy Billy  ∥ Frank Hank Suspects
Formal Semantics ,[object Object],D D 1 ,  D 2 , …,  D n possible instances Q   on each instance representation of instances Q(D 1 ),  Q(D 2 ), …,  Q ( D n ) D’ implementation of  Q operational semantics D + Result
TriQL: Querying Confidences ,[object Object],[object Object],[object Object],[object Object],[object Object]
TriQL: Querying Lineage ,[object Object],[object Object],[object Object],[object Object],[object Object]
Operational Semantics ,[object Object],[object Object],[object Object],[object Object],[object Object],SELECT attr-list [ INTO table ] FROM X 1 , X 2 , ..., X n WHERE predicate
Operational Semantics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SELECT attr-list [ INTO table ] FROM X 1 , X 2 , ..., X n WHERE predicate
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car)
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda,Jim,Mazda) ∥ (Cathy,Mazda,Bill,Mazda)
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda,Jim,Mazda) ∥ (Cathy,Mazda,Bill,Mazda)
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda)
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda) (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Hank,Honda)  ∥  (Cathy,Mazda,Hank,Honda)
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda) (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Hank,Honda)  ∥  (Cathy,Mazda,Hank,Honda)
Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda) (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda, Hank ,Honda)   ∥  (Cathy,Mazda,Hank,Honda)
Operational Semantics: Example SELECT Drives.person   INTO Suspects FROM Saw, Drives WHERE Saw.car = Drives.car ? ? λ ( ) = ... λ ( ) = ... (Cathy, Honda)  ∥  (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda)  ∥ (Bill, Mazda) Drives (person,car) Jim  ∥ Bill Hank Suspects
Confidences ,[object Object],[object Object],[object Object],[object Object],? ? ? 0.3  0.4  0.6  Probabilistic Min (Cathy, Honda):   0.6   ∥  (Cathy, Mazda):   0.4 Saw (witness,car) (Hank, Honda) (Jim, Mazda):  0.3   ∥ (Bill, Mazda):  0.6 Drives (person,car) Jim:  0.12   ∥ Bill:  0.24 Hank:  0.6 Suspects
Additional Query Constructs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Final Example Query Credibility List suspects with  conf  values based on accuser credibility (1, Amy, Jimmy)  ∥  (1, Betty, Billy)  ∥  (1, Cathy, Hank) (2, Cathy, Frank)  ∥  (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33  ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25  ∥ Freddy: 0.75 Suspects
Final Example Query Credibility SELECT suspect, score/[sum(score)] as conf FROM (SELECT suspect, (SELECT score FROM Credibility C WHERE C.person = P.accuser) FROM PrimeSuspect P) (1, Amy, Jimmy)  ∥  (1, Betty, Billy)  ∥  (1, Cathy, Hank) (2, Cathy, Frank)  ∥  (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33  ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25  ∥ Freddy: 0.75 Suspects
Final Example Query Credibility SELECT suspect, score/[sum(score)]  as conf FROM (SELECT suspect, (SELECT score FROM Credibility C WHERE C.person = P.accuser) FROM PrimeSuspect P) (1, Amy, Jimmy)  ∥  (1, Betty, Billy)  ∥  (1, Cathy, Hank) (2, Cathy, Frank)  ∥  (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33  ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25  ∥ Freddy: 0.75 Suspects
Final Example Query Credibility SELECT suspect,  score/[sum(score)]   as conf FROM (SELECT suspect, (SELECT score FROM Credibility C WHERE C.person = P.accuser) FROM PrimeSuspect P) (1, Amy, Jimmy)  ∥  (1, Betty, Billy)  ∥  (1, Cathy, Hank) (2, Cathy, Frank)  ∥  (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33  ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25  ∥ Freddy: 0.75 Suspects
Trio System: Version 1 Standard relational DBMS Trio API and translator (Python) Command-line client Trio Metadata TrioExplorer (GUI client) Trio Stored Procedures Encoded Data Tables Lineage Tables Standard SQL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Future Features (sample) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
but don’t forget the lineage… DATA UNCERTAINTY LINEAGE

More Related Content

Viewers also liked

Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02
Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02
Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02meena reddy
 
Martin Boddy - Getting the Measure of Prosperity
Martin Boddy - Getting the Measure of ProsperityMartin Boddy - Getting the Measure of Prosperity
Martin Boddy - Getting the Measure of ProsperitySouth West Observatory
 
Bob Shaw El Palacio De La Eternidad
Bob Shaw   El Palacio De La EternidadBob Shaw   El Palacio De La Eternidad
Bob Shaw El Palacio De La EternidadPalau Lax
 
BFRS Oakham Event Feedback - 29th January 2015
BFRS Oakham Event Feedback - 29th January 2015BFRS Oakham Event Feedback - 29th January 2015
BFRS Oakham Event Feedback - 29th January 2015Stacey Holmes
 
Hab Introductory Certificate In Customer Service (Service Sector) Acetates
Hab Introductory Certificate In Customer Service (Service Sector)   AcetatesHab Introductory Certificate In Customer Service (Service Sector)   Acetates
Hab Introductory Certificate In Customer Service (Service Sector) Acetatesmartincarter
 
Henry II the constitution of clarendon and thomas becket master
Henry II the constitution of clarendon and thomas becket masterHenry II the constitution of clarendon and thomas becket master
Henry II the constitution of clarendon and thomas becket masterGabriella Pecora
 
Lucas Hesling Research Project
Lucas Hesling Research ProjectLucas Hesling Research Project
Lucas Hesling Research ProjectLucas Hesling
 

Viewers also liked (14)

Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02
Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02
Greencommunication anapproachtoreduceehsfromcellularphones-120316150959-phpapp02
 
Martin Boddy - Getting the Measure of Prosperity
Martin Boddy - Getting the Measure of ProsperityMartin Boddy - Getting the Measure of Prosperity
Martin Boddy - Getting the Measure of Prosperity
 
Azucena garcia
Azucena garciaAzucena garcia
Azucena garcia
 
El agua
El aguaEl agua
El agua
 
Bob Shaw El Palacio De La Eternidad
Bob Shaw   El Palacio De La EternidadBob Shaw   El Palacio De La Eternidad
Bob Shaw El Palacio De La Eternidad
 
BFRS Oakham Event Feedback - 29th January 2015
BFRS Oakham Event Feedback - 29th January 2015BFRS Oakham Event Feedback - 29th January 2015
BFRS Oakham Event Feedback - 29th January 2015
 
Hab Introductory Certificate In Customer Service (Service Sector) Acetates
Hab Introductory Certificate In Customer Service (Service Sector)   AcetatesHab Introductory Certificate In Customer Service (Service Sector)   Acetates
Hab Introductory Certificate In Customer Service (Service Sector) Acetates
 
Unethical powerpoint
Unethical powerpointUnethical powerpoint
Unethical powerpoint
 
Mazda Trio Notes
Mazda Trio NotesMazda Trio Notes
Mazda Trio Notes
 
Sansmriti JFM Qtr 2010
Sansmriti JFM Qtr 2010Sansmriti JFM Qtr 2010
Sansmriti JFM Qtr 2010
 
Henry II the constitution of clarendon and thomas becket master
Henry II the constitution of clarendon and thomas becket masterHenry II the constitution of clarendon and thomas becket master
Henry II the constitution of clarendon and thomas becket master
 
2009 Donor Report - East Tennessee Children's Hospital
2009 Donor Report - East Tennessee Children's Hospital2009 Donor Report - East Tennessee Children's Hospital
2009 Donor Report - East Tennessee Children's Hospital
 
Lucas Hesling Research Project
Lucas Hesling Research ProjectLucas Hesling Research Project
Lucas Hesling Research Project
 
2007 12 payoff magazine
2007 12 payoff magazine2007 12 payoff magazine
2007 12 payoff magazine
 

More from Social Media Marketing

Why Display Advertising vs PPC Search Advertising
Why Display Advertising vs PPC Search AdvertisingWhy Display Advertising vs PPC Search Advertising
Why Display Advertising vs PPC Search AdvertisingSocial Media Marketing
 
Automotive Advertising Landing Page Best Practices
Automotive Advertising Landing Page Best PracticesAutomotive Advertising Landing Page Best Practices
Automotive Advertising Landing Page Best PracticesSocial Media Marketing
 
Automotive Marketing; Predicting The Present
Automotive Marketing; Predicting The PresentAutomotive Marketing; Predicting The Present
Automotive Marketing; Predicting The PresentSocial Media Marketing
 
Reaching the In-Market Automotive Consumer
Reaching the In-Market Automotive ConsumerReaching the In-Market Automotive Consumer
Reaching the In-Market Automotive ConsumerSocial Media Marketing
 
Social media aids customer acquisition media buyerplanner
Social media aids customer acquisition   media buyerplannerSocial media aids customer acquisition   media buyerplanner
Social media aids customer acquisition media buyerplannerSocial Media Marketing
 
Flagship motorcars mercedes benz & sprinter
Flagship motorcars mercedes benz & sprinterFlagship motorcars mercedes benz & sprinter
Flagship motorcars mercedes benz & sprinterSocial Media Marketing
 

More from Social Media Marketing (20)

Why Display Advertising vs PPC Search Advertising
Why Display Advertising vs PPC Search AdvertisingWhy Display Advertising vs PPC Search Advertising
Why Display Advertising vs PPC Search Advertising
 
Automotive Advertising Landing Page Best Practices
Automotive Advertising Landing Page Best PracticesAutomotive Advertising Landing Page Best Practices
Automotive Advertising Landing Page Best Practices
 
Automotive Marketing; Predicting The Present
Automotive Marketing; Predicting The PresentAutomotive Marketing; Predicting The Present
Automotive Marketing; Predicting The Present
 
Reaching the In-Market Automotive Consumer
Reaching the In-Market Automotive ConsumerReaching the In-Market Automotive Consumer
Reaching the In-Market Automotive Consumer
 
Social media-marketing-networking
Social media-marketing-networkingSocial media-marketing-networking
Social media-marketing-networking
 
Googlestudy
GooglestudyGooglestudy
Googlestudy
 
Yahoostudy
YahoostudyYahoostudy
Yahoostudy
 
Emarketer
EmarketerEmarketer
Emarketer
 
Jd power media annual_review
Jd power media annual_reviewJd power media annual_review
Jd power media annual_review
 
Pr writing fundamentals
Pr writing fundamentalsPr writing fundamentals
Pr writing fundamentals
 
Online newsreleasein
Online newsreleaseinOnline newsreleasein
Online newsreleasein
 
Social media aids customer acquisition media buyerplanner
Social media aids customer acquisition   media buyerplannerSocial media aids customer acquisition   media buyerplanner
Social media aids customer acquisition media buyerplanner
 
Emarketing strategies for success
Emarketing strategies for successEmarketing strategies for success
Emarketing strategies for success
 
Digital dealer june 2010
Digital dealer june 2010Digital dealer june 2010
Digital dealer june 2010
 
Net trak lead status v5
Net trak lead status v5Net trak lead status v5
Net trak lead status v5
 
Dealer magazine july 2010
Dealer magazine july 2010Dealer magazine july 2010
Dealer magazine july 2010
 
Digital dealer magazine may 2010
Digital dealer magazine may 2010Digital dealer magazine may 2010
Digital dealer magazine may 2010
 
Digital dealer april 2010
Digital dealer april 2010Digital dealer april 2010
Digital dealer april 2010
 
Flagship motorcars mercedes benz & sprinter
Flagship motorcars mercedes benz & sprinterFlagship motorcars mercedes benz & sprinter
Flagship motorcars mercedes benz & sprinter
 
Google top ten whitepaper
Google top ten whitepaperGoogle top ten whitepaper
Google top ten whitepaper
 

Recently uploaded

Interpreting the Secrets of Milan Night Chart
Interpreting the Secrets of Milan Night ChartInterpreting the Secrets of Milan Night Chart
Interpreting the Secrets of Milan Night ChartChart Kalyan
 
Technical Data | ThermTec Wild 335 | Optics Trade
Technical Data | ThermTec Wild 335 | Optics TradeTechnical Data | ThermTec Wild 335 | Optics Trade
Technical Data | ThermTec Wild 335 | Optics TradeOptics-Trade
 
Instruction Manual | ThermTec Wild Thermal Monoculars | Optics Trade
Instruction Manual | ThermTec Wild Thermal Monoculars | Optics TradeInstruction Manual | ThermTec Wild Thermal Monoculars | Optics Trade
Instruction Manual | ThermTec Wild Thermal Monoculars | Optics TradeOptics-Trade
 
Real Moto 2 MOD APK v1.1.721 All Bikes, Unlimited Money
Real Moto 2 MOD APK v1.1.721 All Bikes, Unlimited MoneyReal Moto 2 MOD APK v1.1.721 All Bikes, Unlimited Money
Real Moto 2 MOD APK v1.1.721 All Bikes, Unlimited MoneyApk Toly
 
Expert Pool Table Refelting in Lee & Collier County, FL
Expert Pool Table Refelting in Lee & Collier County, FLExpert Pool Table Refelting in Lee & Collier County, FL
Expert Pool Table Refelting in Lee & Collier County, FLAll American Billiards
 
Technical Data | ThermTec Wild 325 | Optics Trade
Technical Data | ThermTec Wild 325 | Optics TradeTechnical Data | ThermTec Wild 325 | Optics Trade
Technical Data | ThermTec Wild 325 | Optics TradeOptics-Trade
 
JORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdf
JORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdfJORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdf
JORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdfArturo Pacheco Alvarez
 
JORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdf
JORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdfJORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdf
JORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdfArturo Pacheco Alvarez
 
Resultados del Campeonato mundial de Marcha por equipos Antalya 2024
Resultados del Campeonato mundial de Marcha por equipos Antalya 2024Resultados del Campeonato mundial de Marcha por equipos Antalya 2024
Resultados del Campeonato mundial de Marcha por equipos Antalya 2024Judith Chuquipul
 
Plan d'orientations stratégiques rugby féminin
Plan d'orientations stratégiques rugby fémininPlan d'orientations stratégiques rugby féminin
Plan d'orientations stratégiques rugby fémininThibaut TATRY
 
8377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/7
8377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/78377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/7
8377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/7dollysharma2066
 
Technical Data | ThermTec Wild 650 | Optics Trade
Technical Data | ThermTec Wild 650 | Optics TradeTechnical Data | ThermTec Wild 650 | Optics Trade
Technical Data | ThermTec Wild 650 | Optics TradeOptics-Trade
 
Dubai Call Girls Bikni O528786472 Call Girls Dubai Ebony
Dubai Call Girls Bikni O528786472 Call Girls Dubai EbonyDubai Call Girls Bikni O528786472 Call Girls Dubai Ebony
Dubai Call Girls Bikni O528786472 Call Girls Dubai Ebonyhf8803863
 
France's UEFA Euro 2024 Ambitions Amid Coman's Injury.docx
France's UEFA Euro 2024 Ambitions Amid Coman's Injury.docxFrance's UEFA Euro 2024 Ambitions Amid Coman's Injury.docx
France's UEFA Euro 2024 Ambitions Amid Coman's Injury.docxEuro Cup 2024 Tickets
 
VIP Kolkata Call Girl Liluah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Liluah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Liluah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Liluah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...
Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...
Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...Eticketing.co
 
ppt on Myself, Occupation and my Interest
ppt on Myself, Occupation and my Interestppt on Myself, Occupation and my Interest
ppt on Myself, Occupation and my InterestNagaissenValaydum
 
办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样
办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样
办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样7pn7zv3i
 
Presentation: The symbols of the Olympic Games
Presentation: The symbols of the Olympic  GamesPresentation: The symbols of the Olympic  Games
Presentation: The symbols of the Olympic Gamesluciavilafernandez
 

Recently uploaded (20)

young Call girls in Moolchand 🔝 9953056974 🔝 Delhi escort Service
young Call girls in Moolchand 🔝 9953056974 🔝 Delhi escort Serviceyoung Call girls in Moolchand 🔝 9953056974 🔝 Delhi escort Service
young Call girls in Moolchand 🔝 9953056974 🔝 Delhi escort Service
 
Interpreting the Secrets of Milan Night Chart
Interpreting the Secrets of Milan Night ChartInterpreting the Secrets of Milan Night Chart
Interpreting the Secrets of Milan Night Chart
 
Technical Data | ThermTec Wild 335 | Optics Trade
Technical Data | ThermTec Wild 335 | Optics TradeTechnical Data | ThermTec Wild 335 | Optics Trade
Technical Data | ThermTec Wild 335 | Optics Trade
 
Instruction Manual | ThermTec Wild Thermal Monoculars | Optics Trade
Instruction Manual | ThermTec Wild Thermal Monoculars | Optics TradeInstruction Manual | ThermTec Wild Thermal Monoculars | Optics Trade
Instruction Manual | ThermTec Wild Thermal Monoculars | Optics Trade
 
Real Moto 2 MOD APK v1.1.721 All Bikes, Unlimited Money
Real Moto 2 MOD APK v1.1.721 All Bikes, Unlimited MoneyReal Moto 2 MOD APK v1.1.721 All Bikes, Unlimited Money
Real Moto 2 MOD APK v1.1.721 All Bikes, Unlimited Money
 
Expert Pool Table Refelting in Lee & Collier County, FL
Expert Pool Table Refelting in Lee & Collier County, FLExpert Pool Table Refelting in Lee & Collier County, FL
Expert Pool Table Refelting in Lee & Collier County, FL
 
Technical Data | ThermTec Wild 325 | Optics Trade
Technical Data | ThermTec Wild 325 | Optics TradeTechnical Data | ThermTec Wild 325 | Optics Trade
Technical Data | ThermTec Wild 325 | Optics Trade
 
JORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdf
JORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdfJORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdf
JORNADA 3 LIGA MURO 2024GHGHGHGHGHGH.pdf
 
JORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdf
JORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdfJORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdf
JORNADA 4 LIGA MURO 2024TUXTEPEC1234.pdf
 
Resultados del Campeonato mundial de Marcha por equipos Antalya 2024
Resultados del Campeonato mundial de Marcha por equipos Antalya 2024Resultados del Campeonato mundial de Marcha por equipos Antalya 2024
Resultados del Campeonato mundial de Marcha por equipos Antalya 2024
 
Plan d'orientations stratégiques rugby féminin
Plan d'orientations stratégiques rugby fémininPlan d'orientations stratégiques rugby féminin
Plan d'orientations stratégiques rugby féminin
 
8377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/7
8377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/78377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/7
8377087607 ☎, Cash On Delivery Call Girls Service In Hauz Khas Delhi Enjoy 24/7
 
Technical Data | ThermTec Wild 650 | Optics Trade
Technical Data | ThermTec Wild 650 | Optics TradeTechnical Data | ThermTec Wild 650 | Optics Trade
Technical Data | ThermTec Wild 650 | Optics Trade
 
Dubai Call Girls Bikni O528786472 Call Girls Dubai Ebony
Dubai Call Girls Bikni O528786472 Call Girls Dubai EbonyDubai Call Girls Bikni O528786472 Call Girls Dubai Ebony
Dubai Call Girls Bikni O528786472 Call Girls Dubai Ebony
 
France's UEFA Euro 2024 Ambitions Amid Coman's Injury.docx
France's UEFA Euro 2024 Ambitions Amid Coman's Injury.docxFrance's UEFA Euro 2024 Ambitions Amid Coman's Injury.docx
France's UEFA Euro 2024 Ambitions Amid Coman's Injury.docx
 
VIP Kolkata Call Girl Liluah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Liluah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Liluah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Liluah 👉 8250192130 Available With Room
 
Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...
Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...
Croatia vs Italy UEFA Euro 2024 Croatia's Checkered Legacy on Display in New ...
 
ppt on Myself, Occupation and my Interest
ppt on Myself, Occupation and my Interestppt on Myself, Occupation and my Interest
ppt on Myself, Occupation and my Interest
 
办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样
办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样
办理学位证(KCL文凭证书)伦敦国王学院毕业证成绩单原版一模一样
 
Presentation: The symbols of the Olympic Games
Presentation: The symbols of the Olympic  GamesPresentation: The symbols of the Olympic  Games
Presentation: The symbols of the Olympic Games
 

Trio Notes

  • 1. Trio: A System for Data , Uncertainty , and Lineage Search “stanford trio” DATA UNCERTAINTY LINEAGE
  • 3.
  • 4. The Picture Data Uncertainty Lineage (“sourcing”)
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Deficiency in Model Suspects = π person (Saw ⋈ Drives) ? ? ? Does not correctly capture possible instances in the result CANNOT (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Billy, Honda) ∥ (Frank, Honda) (Hank, Honda) (Jimmy, Toyota) ∥ (Jimmy, Mazda) Drives (person,car) Jimmy Billy ∥ Frank Hank Suspects
  • 17.
  • 18. Example with Lineage ? ? ? Suspects = π person (Saw ⋈ Drives) λ (31) = (11,2),(21,2) λ (32,1) = (11,1),(22,1); λ (32,2) = (11,1),(22,2) λ (33) = (11,1), 23 11 ID (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) 23 22 21 ID (Billy, Honda) ∥ (Frank, Honda) (Hank, Honda) (Jimmy, Toyota) ∥ (Jimmy, Mazda) Drives (person,car) 33 32 31 ID Jimmy Billy ∥ Frank Hank Suspects Correctly captures possible instances in the result
  • 19.
  • 20.
  • 21. Initial TriQL Example SELECT Drives.person INTO Suspects FROM Saw, Drives WHERE Saw.car = Drives.car ? ? ? λ (31) = (11,2),(21,2) λ (32,1)=(11,1),(22,1); λ (32,2)=(11,1),(22,2) λ (33) = (11,1), 23 11 ID (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) 23 22 21 ID (Billy, Honda) ∥ (Frank, Honda) (Hank, Honda) (Jimmy, Toyota) ∥ (Jimmy, Mazda) Drives (person,car) 33 32 31 ID Jimmy Billy ∥ Frank Hank Suspects
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car)
  • 28. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda,Jim,Mazda) ∥ (Cathy,Mazda,Bill,Mazda)
  • 29. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda,Jim,Mazda) ∥ (Cathy,Mazda,Bill,Mazda)
  • 30. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda)
  • 31. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda) (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Hank,Honda) ∥ (Cathy,Mazda,Hank,Honda)
  • 32. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda) (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda,Hank,Honda) ∥ (Cathy,Mazda,Hank,Honda)
  • 33. Operational Semantics: Example SELECT Drives.person FROM Saw, Drives WHERE Saw.car = Drives.car (Cathy,Honda,Jim,Mazda) ∥ (Cathy,Honda,Bill,Mazda) ∥ (Cathy,Mazda, Jim ,Mazda) ∥ (Cathy,Mazda, Bill ,Mazda) (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) (Cathy,Honda, Hank ,Honda) ∥ (Cathy,Mazda,Hank,Honda)
  • 34. Operational Semantics: Example SELECT Drives.person INTO Suspects FROM Saw, Drives WHERE Saw.car = Drives.car ? ? λ ( ) = ... λ ( ) = ... (Cathy, Honda) ∥ (Cathy, Mazda) Saw (witness,car) (Hank, Honda) (Jim, Mazda) ∥ (Bill, Mazda) Drives (person,car) Jim ∥ Bill Hank Suspects
  • 35.
  • 36.
  • 37. Final Example Query Credibility List suspects with conf values based on accuser credibility (1, Amy, Jimmy) ∥ (1, Betty, Billy) ∥ (1, Cathy, Hank) (2, Cathy, Frank) ∥ (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33 ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25 ∥ Freddy: 0.75 Suspects
  • 38. Final Example Query Credibility SELECT suspect, score/[sum(score)] as conf FROM (SELECT suspect, (SELECT score FROM Credibility C WHERE C.person = P.accuser) FROM PrimeSuspect P) (1, Amy, Jimmy) ∥ (1, Betty, Billy) ∥ (1, Cathy, Hank) (2, Cathy, Frank) ∥ (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33 ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25 ∥ Freddy: 0.75 Suspects
  • 39. Final Example Query Credibility SELECT suspect, score/[sum(score)] as conf FROM (SELECT suspect, (SELECT score FROM Credibility C WHERE C.person = P.accuser) FROM PrimeSuspect P) (1, Amy, Jimmy) ∥ (1, Betty, Billy) ∥ (1, Cathy, Hank) (2, Cathy, Frank) ∥ (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33 ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25 ∥ Freddy: 0.75 Suspects
  • 40. Final Example Query Credibility SELECT suspect, score/[sum(score)] as conf FROM (SELECT suspect, (SELECT score FROM Credibility C WHERE C.person = P.accuser) FROM PrimeSuspect P) (1, Amy, Jimmy) ∥ (1, Betty, Billy) ∥ (1, Cathy, Hank) (2, Cathy, Frank) ∥ (2, Betty, Freddy) PrimeSuspect (crime#, accuser, suspect) Cathy Betty Amy person 15 5 10 score Jimmy: 0.33 ∥ Billy: 0.5 ∥ Hank: 0.166 Frank: 0.25 ∥ Freddy: 0.75 Suspects
  • 41.
  • 42.
  • 43. but don’t forget the lineage… DATA UNCERTAINTY LINEAGE