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

Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Hung Le
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
David Celestin
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
ZurliaSoop
 
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
 

Recently uploaded (17)

Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
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
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
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
 
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait Cityin kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
 
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
 
Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptx
 

Msc Thesis Presentation