SlideShare a Scribd company logo
1 of 31
Querying forModel-DrivenQuerying forModel-Driven
SpreadsheetsSpreadsheets
Rui Pereira
Prof. João Saraiva(Supervisor)
Prof. Orlando Belo (Co-Supervisor)
University of MinhoUniversity of Minho
Department of InformaticsDepartment of Informatics
Problem: Querying
Spreadsheets2
Problem: Querying
Spreadsheets3
 Spreadsheets are generally used to store
information
 Much like database systems
 Have no way to query what data they contain
 Attempts have been made to replicate traditional
querying systems for spreadsheets
 MS-Query
 Google QUERY Function
Problem: Querying
Spreadsheets4
 Highly restrict user’s spreadsheet data
 Requires data to be in a tabular format
 Requires header to be present (in first row)
 Column letters ≠ Column labels
 Counter intuitive queries
 Data evolution not supported
Example
5
Example: Running Data
6
 Model-Driven spreadsheet representing:
orders, clients, and products
Example: Running Data
7
 Spreadsheet data instance
Example: Running Query
8
 Query: How much have we profited from
each client?
Solution: Google QUERY
Function9
Solution: Google QUERY
Function10
Denormalization
Solution: Google QUERY
Function11
 Google
Query:
Solution: Google QUERY
Function12
Denormalization
Solution: Google QUERY
Function13
 Google
Query:
Solution: Envisioned Approach
14
Solution: Envisioned Approach
15
 Proposed
Query:
SELECT Client.*,
sum(TotalPrice)
FROM Client JOIN Order
GROUP BY Client.*
LABEL sum(TotalPrice)
‘Profits’
Solution: Envisioned Approach
16
 Query: How much have we profited from
each client?
Solution: Envisioned Approach
17
 Model
Inference
Solution: Envisioned Approach
18
 Model
Inference
 Spreadsheet data instance
QuerySheet: Architecture
19
QuerySheet: Architecture
20
SELECT Pilots.*, Sum(Hours)
WHERE Destination = ‘LIS’
GROUP BY Pilots.*
LABEL Sum(Hours) ‘Total Hours’
=query(A1:F53;
“SELECT B, SUM(F)
WHERE D = ‘LIS’
GROUP BY B
LABEL SUM(F) ‘Total Hours’”
conforms to
conforms to
denormalization
model inference
execution
translation
Preliminary Study
21
Preliminary Study
22
Minute
s
 QuerySheet was found to be approx. ~70%
faster than Google’s QUERY Function
Preliminary Study
23
 After each question, students were asked to
choose which system they preferred in regards to
being:
 Intuitive
 Faster to write
 Easier to write
 Understandable
 Almost all prefered QuerySheet on every aspect
Contributions
24
Contributions
25
 Querying Model-Driven Spreadsheets, Jácome Cunha, João Fernandes, Jorge Mendes,
Rui Pereira, and João Saraiva. In proceedings of the IEEE Sym po sium o n Visua l
Lang uag e s and Hum an-Ce ntric Co m puting (VL/HCC 20 1 3), San Jose, CA, USA. IEEE
Computer Society, September 2013.
 QuerySheet: A Bidirectional Query Environment forModel-Driven Spreadsheets, Orlando
Belo, Jácome Cunha, João Fernandes, Jorge Mendes, Rui Pereira, and João Saraiva. In
proceedings of the IEEE Sym po sium o n Visua lLang uag e s and Hum an-Ce ntric
Co m puting (VL/HCC 20 1 3), San Jose, CA, USA. IEEE Computer Society, September
2013.
 Spreadsheet Querying, Rui Pereira. In proceedings of the 5th
International School on
Domain Specific Languages (DSL’2013), Cluj-Napoca, Romania, 2013. (to appear)
 Graphical Querying of Model-Driven Spreadsheet, Jácome Cunha, João Paulo
Fernandes, Rui Pereira, and João Saraiva. In proceedings of the 16th
International
Conference on Human-Computer Interaction (HCI2014), Heraklion, Crete, Greece, June
2014. (submitted extended abstract)
 QuerySheet Software Prototype. (Available at ssaapp.di.uminho.pt)
Conclusion
26
Conclusion
27
 Spreadsheet querying is more:
 Humanized
 Understandable
 Robust
 Productive
 More functionality
 Automatically deal with pro ble m s caused by
querying denormalized data
Future Work
28
Future Work
29
 Incremental Denormalization
 Graphical Querying Interface
 Query/Model/Instance Bidirectionality
 Evaluation
30
Querying forModel-DrivenQuerying forModel-Driven
SpreadsheetsSpreadsheets
Rui Pereira
Prof. João Saraiva(Supervisor)
Prof. Orlando Belo (Co-Supervisor)
University of MinhoUniversity of Minho
Department of InformaticsDepartment of Informatics

More Related Content

Similar to Msc Thesis Presentation

Machine Learning for automated diagnosis of distributed ...AE
Machine Learning for automated diagnosis of distributed ...AEMachine Learning for automated diagnosis of distributed ...AE
Machine Learning for automated diagnosis of distributed ...AE
butest
 
Shared Editing on the Web: A Classification of Developer Support Frameworks
Shared Editing on the Web: A Classification of Developer Support FrameworksShared Editing on the Web: A Classification of Developer Support Frameworks
Shared Editing on the Web: A Classification of Developer Support Frameworks
IstvanKoren
 
ccna course 2
ccna course 2ccna course 2
ccna course 2
S Sridhar
 

Similar to Msc Thesis Presentation (20)

SciDB : Open Source Data Management System for Data-Intensive Scientific Anal...
SciDB : Open Source Data Management System for Data-Intensive Scientific Anal...SciDB : Open Source Data Management System for Data-Intensive Scientific Anal...
SciDB : Open Source Data Management System for Data-Intensive Scientific Anal...
 
From Scientific Workflows to Research Objects: Publication and Abstraction of...
From Scientific Workflows to Research Objects: Publication and Abstraction of...From Scientific Workflows to Research Objects: Publication and Abstraction of...
From Scientific Workflows to Research Objects: Publication and Abstraction of...
 
Standards and tools for model management in biomedical research
Standards and tools for model management in biomedical researchStandards and tools for model management in biomedical research
Standards and tools for model management in biomedical research
 
The Research Object Initiative: Frameworks and Use Cases
The Research Object Initiative:Frameworks and Use CasesThe Research Object Initiative:Frameworks and Use Cases
The Research Object Initiative: Frameworks and Use Cases
 
Machine Learning for automated diagnosis of distributed ...AE
Machine Learning for automated diagnosis of distributed ...AEMachine Learning for automated diagnosis of distributed ...AE
Machine Learning for automated diagnosis of distributed ...AE
 
[DSC Europe 23] Dmitry Ustalov - Design and Evaluation of Large Language Models
[DSC Europe 23] Dmitry Ustalov - Design and Evaluation of Large Language Models[DSC Europe 23] Dmitry Ustalov - Design and Evaluation of Large Language Models
[DSC Europe 23] Dmitry Ustalov - Design and Evaluation of Large Language Models
 
Paper 192. in CISTI 2021: OntoDRE: An Ontology For The Requirements...
Paper 192. in CISTI 2021: OntoDRE: An Ontology For The Requirements...Paper 192. in CISTI 2021: OntoDRE: An Ontology For The Requirements...
Paper 192. in CISTI 2021: OntoDRE: An Ontology For The Requirements...
 
Shared Editing on the Web: A Classification of Developer Support Frameworks
Shared Editing on the Web: A Classification of Developer Support FrameworksShared Editing on the Web: A Classification of Developer Support Frameworks
Shared Editing on the Web: A Classification of Developer Support Frameworks
 
Model-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentModel-Driven Spreadsheet Development
Model-Driven Spreadsheet Development
 
From Scientific Workflows to Research Objects: Publication and Abstraction of...
From Scientific Workflows to Research Objects: Publication and Abstraction of...From Scientific Workflows to Research Objects: Publication and Abstraction of...
From Scientific Workflows to Research Objects: Publication and Abstraction of...
 
Resume
ResumeResume
Resume
 
Docker in Open Science Data Analysis Challenges by Bruce Hoff
Docker in Open Science Data Analysis Challenges by Bruce HoffDocker in Open Science Data Analysis Challenges by Bruce Hoff
Docker in Open Science Data Analysis Challenges by Bruce Hoff
 
WDES 2015 paper: A Systematic Mapping on the Relations between Systems-of-Sys...
WDES 2015 paper: A Systematic Mapping on the Relations between Systems-of-Sys...WDES 2015 paper: A Systematic Mapping on the Relations between Systems-of-Sys...
WDES 2015 paper: A Systematic Mapping on the Relations between Systems-of-Sys...
 
Myria: Analytics-as-a-Service for (Data) Scientists
Myria: Analytics-as-a-Service for (Data) ScientistsMyria: Analytics-as-a-Service for (Data) Scientists
Myria: Analytics-as-a-Service for (Data) Scientists
 
Software Requirement Patterns (SRP)
Software Requirement Patterns (SRP)Software Requirement Patterns (SRP)
Software Requirement Patterns (SRP)
 
A new language for a new biology: How SBML and other tools are transforming m...
A new language for a new biology: How SBML and other tools are transforming m...A new language for a new biology: How SBML and other tools are transforming m...
A new language for a new biology: How SBML and other tools are transforming m...
 
Advancing Foundation and Practice of Software Analytics
Advancing Foundation and Practice of Software AnalyticsAdvancing Foundation and Practice of Software Analytics
Advancing Foundation and Practice of Software Analytics
 
Decomposed Conformance Checking in the Data era
Decomposed Conformance Checking in the Data eraDecomposed Conformance Checking in the Data era
Decomposed Conformance Checking in the Data era
 
Curation-Friendly Tools for the Scientific Researcher
Curation-Friendly Tools for the Scientific ResearcherCuration-Friendly Tools for the Scientific Researcher
Curation-Friendly Tools for the Scientific Researcher
 
ccna course 2
ccna course 2ccna course 2
ccna course 2
 

Recently uploaded

Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Sheetaleventcompany
 

Recently uploaded (20)

SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 

Msc Thesis Presentation