plugging-n-playing with data sources in your...
TRANSCRIPT
Plugging-n-Playing with Data Sources in your Browser
Abhijeet Mohapatra, Sudhir Agarwal, and Michael Genesereth
Stanford Logic Group
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Structured Data
Web-pages
Browser-based
http://dexter.stanford.edu
Structured Data ExplorerDomain-Independent
Browser-based
http://dexter.stanford.edu
Ad-hoc “on-the-fly” queries
Structured Data ExplorerDomain-Independent
Browser-based
http://dexter.stanford.edu
Ad-hoc “on-the-fly” queries
Queries across multiple sources
Structured Data ExplorerDomain-Independent
http://dexter.stanford.edu
Other data sources:
Data = TablesX Y1 a2 b
rY Za 3c 5
s
http://dexter.stanford.edu
Other data sources:
Data = TablesX Y1 a2 b
rY Za 3c 5
s
Queries = Datalog rulesq(X, Y) :- r(X, Y) & s(Y, Z)
http://dexter.stanford.edu
Other data sources:
Other query languages: Datalog
Data = TablesX Y1 a2 b
rY Za 3c 5
s
Queries = Datalog rulesq(X, Y) :- r(X, Y) & s(Y, Z)
Example: Exploring U.S. Congress data
Who is the youngest member of congress?
Example: Exploring U.S. Congress data
http://dexter.stanford.edu
Who is the youngest member of congress?
Example: Exploring U.S. Congress data
http://dexter.stanford.edu
Who is the youngest member of congress?
Example: Exploring U.S. Congress data
https://www.govtrack.us/data/congress-legislators/
http://dexter.stanford.edu
Who is the youngest member of congress?
Example: Exploring U.S. Congress data
http://dexter.stanford.edu
Who is the youngest member of congress?
Example: Exploring U.S. Congress data
http://dexter.stanford.edu
Who is the youngest member of congress?
Example: Exploring U.S. Congress data
Which senators have been charged with a DUI?
http://dexter.stanford.edu
Example: Exploring U.S. Congress data
Which senators have been charged with a DUI?
http://dexter.stanford.edu
Example: Exploring U.S. Congress data
http://dexter.stanford.edu
Which senators’ tweets contain #equalpay?
Example: Exploring U.S. Congress data
http://dexter.stanford.edu
Which senators’ tweets contain #equalpay?
Datalog + Negation + Aggregates + Built-ins
Dexter
Queries
q(FName, LName) :- senators(FName, LName)
& dui.records(FName, LName)
Datalog + Negation + Aggregates + Built-ins
Dexter
Queries
q(FName, LName) :- senators(FName, LName)
& dui.records(FName, LName)
Datalog + Negation + Aggregates + Built-ins
Dexter
Queries
Server
Client-sided evaluation
q(FName, LName) :- senators(FName, LName)
& dui.records(FName, LName)
Datalog + Negation + Aggregates + Built-ins
Dexter
Queries
Server
Client-sided evaluation
senators(FName, LName)
dui.records(FName, LName)
Dexter
Server
q(FName, LName) :- senators(FName, LName)
& dui.records(FName, LName)
Datalog + Negation + Aggregates + Built-ins
dui.records(FName, LName)
senators(FName, LName)
Queries
Client-sided evaluation
Dexter
Server
q(FName, LName) :- senators(FName, LName)
& dui.records(FName, LName)
Datalog + Negation + Aggregates + Built-ins
dui.records(FName, LName)
senators(FName, LName)
Queries
Client-sided evaluation
⋈
Dexter and Semcities
Dexter and Semcities
Exploration of the city data
Dexter and Semcities
Exploration of the city data
Dexter and Semcities
What if there isn’t?
Exploration of the city data
Dexter and Semcities
Exploration of the city data
Dexter and Semcities
Exploration of the city data
Yelp ratings about restaurants
Smart Consumption of Data
DexterBrowser-based Domain-independent Data Explorer
Expressive Queries
Ad-hoc “on-the-fly” queries
Queries across Data Sources
Queries that are not directly supported by data sources
Client-sided exploration of Data Sources
http://dexter.stanford.edu
Thank you
Plug-n-Play Sources