SlideShare a Scribd company logo
1 of 13
Rui Pereira, Jácome Cunha, João Paulo Fernandes,
Jorge Mendes and João Saraiva
Embedding Model-Driven Spreadsheet
Queries in Spreadsheet Systems
VL/HCC 2014
Melbourne, Australia
Problem: Querying Spreadsheets
1
› “poor man’s database”
› No way to query what data they contain
Spreadsheets are generally used to store information
Attempts to replicate traditional querying systems
› Highly restrict user’s spreadsheet data
› Denormalization
› Headers present
› Column letters ≠ Column labels
› Data evolution not supported
2
Budget Spreadsheet
Question – What was the total per year, in decreasing
order, from 2010 onwards?
3
Google QUERY Function
Question – What was the total per year, in decreasing
order, from 2010 onwards?
=query(A1:E53;”SELECT A, sum(E) WHERE A >= 2010
GROUP BY A ORDER BY sum(E) DESC”)
4
QuerySheet
Question – What was the total per year, in decreasing
order, from 2010 onwards?
SELECT Year, sum(Total)
WHERE Year >= 2010
GROUP BY Year
Order BY sum(Total) DESC
5
Previous Empirical Study
› Easier to construct queries
› Intuitive and Understandable queries
› Productive/Faster
Our goal with Model-Driven Querying:
› Semantic errors
› Syntax errors
› Low SQL knowledge  Construction still difficult
Recurring problem among participants:
6
Embedded Spreadsheet SQL
› Guide end-users in constructing queries
› Reduce the number of errors
› Continue taking advantage of positive aspects of
QuerySheet
› SQL knowledge not needed
7
ES-SQL - Environment
Question – What was the total per year, in decreasing
order, from 2010 onwards?
8
ES-SQL - Synchronization
ClassSheet
Spreadsheet
conforms to
8
ES-SQL - Synchronization
ClassSheet
Spreadsheet
ClassSheet’
Spreadsheet’
Qm + Q Qm’ + Q’
9
ES-SQL - Synchronization
10
Conclusions and Future Work
› Approach built on model-driven querying language
› Visual query construction
› Elimination of construction errors
› Fully embedded model-driven querying system
› Synchronization between model, instance, and query
Embedded Spreadsheet SQL
We still need to:
› Add missing expressions to the Embedded Query
› Validation through empirical study
Rui Pereira, Jácome Cunha, João Paulo Fernandes,
Jorge Mendes and João Saraiva
Embedding Model-Driven Spreadsheet
Queries in Spreadsheet Systems
VL/HCC 2014
Melbourne, Australia

More Related Content

Viewers also liked

Msc Thesis Presentation
Msc Thesis PresentationMsc Thesis Presentation
Msc Thesis PresentationRui Pereira
 
Avarynaya santekhnicheskaya sluzhba
Avarynaya santekhnicheskaya sluzhbaAvarynaya santekhnicheskaya sluzhba
Avarynaya santekhnicheskaya sluzhbaIndigo911
 
аварийная сантехническая служба
аварийная сантехническая службааварийная сантехническая служба
аварийная сантехническая службаIndigo911
 
Avarynaya santekhnicheskaya sluzhba_1
Avarynaya santekhnicheskaya sluzhba_1Avarynaya santekhnicheskaya sluzhba_1
Avarynaya santekhnicheskaya sluzhba_1Indigo911
 
Recursos y medios didacticos
Recursos y medios didacticosRecursos y medios didacticos
Recursos y medios didacticosswatwlly
 
Talk at QUATIC'14
Talk at QUATIC'14Talk at QUATIC'14
Talk at QUATIC'14Rui Pereira
 
Microsoft azure machine learning hakaton 2015, team 1'st place
Microsoft azure machine learning hakaton 2015, team 1'st placeMicrosoft azure machine learning hakaton 2015, team 1'st place
Microsoft azure machine learning hakaton 2015, team 1'st placeEugene Necheporenko
 
Vacon Driven NA Case Studies Booklet 2008 - 2015
Vacon Driven NA Case Studies Booklet  2008 - 2015Vacon Driven NA Case Studies Booklet  2008 - 2015
Vacon Driven NA Case Studies Booklet 2008 - 2015Nicki Bowling
 

Viewers also liked (10)

Msc Thesis Presentation
Msc Thesis PresentationMsc Thesis Presentation
Msc Thesis Presentation
 
Avarynaya santekhnicheskaya sluzhba
Avarynaya santekhnicheskaya sluzhbaAvarynaya santekhnicheskaya sluzhba
Avarynaya santekhnicheskaya sluzhba
 
аварийная сантехническая служба
аварийная сантехническая службааварийная сантехническая служба
аварийная сантехническая служба
 
Talk at DSL13
Talk at DSL13Talk at DSL13
Talk at DSL13
 
Avarynaya santekhnicheskaya sluzhba_1
Avarynaya santekhnicheskaya sluzhba_1Avarynaya santekhnicheskaya sluzhba_1
Avarynaya santekhnicheskaya sluzhba_1
 
Recursos y medios didacticos
Recursos y medios didacticosRecursos y medios didacticos
Recursos y medios didacticos
 
Talk at QUATIC'14
Talk at QUATIC'14Talk at QUATIC'14
Talk at QUATIC'14
 
PhD Pre-Thesis
PhD Pre-ThesisPhD Pre-Thesis
PhD Pre-Thesis
 
Microsoft azure machine learning hakaton 2015, team 1'st place
Microsoft azure machine learning hakaton 2015, team 1'st placeMicrosoft azure machine learning hakaton 2015, team 1'st place
Microsoft azure machine learning hakaton 2015, team 1'st place
 
Vacon Driven NA Case Studies Booklet 2008 - 2015
Vacon Driven NA Case Studies Booklet  2008 - 2015Vacon Driven NA Case Studies Booklet  2008 - 2015
Vacon Driven NA Case Studies Booklet 2008 - 2015
 

Similar to Embedding Model-Driven Queries in Spreadsheets

Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical EfficiencyTaming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical EfficiencyDatavail
 
Model-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentModel-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentJácome Cunha
 
2012 SAIR The Pie Maker - Automating the Fact Book Creation Process
2012 SAIR The Pie Maker - Automating the Fact Book Creation Process2012 SAIR The Pie Maker - Automating the Fact Book Creation Process
2012 SAIR The Pie Maker - Automating the Fact Book Creation ProcessDavid Onder
 
Student Information & Result Processing Sytem
Student Information & Result Processing SytemStudent Information & Result Processing Sytem
Student Information & Result Processing SytemMuslim U. Sumon
 
Exam seating and jumbling questions
Exam seating and jumbling questionsExam seating and jumbling questions
Exam seating and jumbling questionsManchireddy Reddy
 
Joey dowell resume doc
Joey dowell resume docJoey dowell resume doc
Joey dowell resume docJoey Dowell
 
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major GainsOptimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major GainsDatavail
 
Preconference Overview of data visualisation and technology
Preconference Overview of data visualisation and technologyPreconference Overview of data visualisation and technology
Preconference Overview of data visualisation and technologyJen Stirrup
 
Ruahl Behr's CV
Ruahl Behr's CVRuahl Behr's CV
Ruahl Behr's CVRuahl Behr
 
TeamTechnicalFinalPresentation-M5
TeamTechnicalFinalPresentation-M5TeamTechnicalFinalPresentation-M5
TeamTechnicalFinalPresentation-M5Naveed Shahid
 
Toward a Traceable, Explainable and fair JD/Resume Recommendation System
Toward a Traceable, Explainable and fair JD/Resume Recommendation SystemToward a Traceable, Explainable and fair JD/Resume Recommendation System
Toward a Traceable, Explainable and fair JD/Resume Recommendation SystemAmine Barrak
 
Discussion Explore and Discuss a Research StudyReview the Probl.docx
Discussion Explore and Discuss a Research StudyReview the Probl.docxDiscussion Explore and Discuss a Research StudyReview the Probl.docx
Discussion Explore and Discuss a Research StudyReview the Probl.docxmadlynplamondon
 
Create a sql script containing your data definition language (ddl)
Create a sql script containing your data definition language (ddl)Create a sql script containing your data definition language (ddl)
Create a sql script containing your data definition language (ddl)RAJU852744
 

Similar to Embedding Model-Driven Queries in Spreadsheets (20)

Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical EfficiencyTaming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
 
SQL Workshop
SQL WorkshopSQL Workshop
SQL Workshop
 
Model-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentModel-Driven Spreadsheet Development
Model-Driven Spreadsheet Development
 
pretesh2015
pretesh2015pretesh2015
pretesh2015
 
KomalChoudhary_Resume
KomalChoudhary_ResumeKomalChoudhary_Resume
KomalChoudhary_Resume
 
2012 SAIR The Pie Maker - Automating the Fact Book Creation Process
2012 SAIR The Pie Maker - Automating the Fact Book Creation Process2012 SAIR The Pie Maker - Automating the Fact Book Creation Process
2012 SAIR The Pie Maker - Automating the Fact Book Creation Process
 
Student Information & Result Processing Sytem
Student Information & Result Processing SytemStudent Information & Result Processing Sytem
Student Information & Result Processing Sytem
 
Exam seating and jumbling questions
Exam seating and jumbling questionsExam seating and jumbling questions
Exam seating and jumbling questions
 
ChristopherBell
ChristopherBellChristopherBell
ChristopherBell
 
Joey dowell resume doc
Joey dowell resume docJoey dowell resume doc
Joey dowell resume doc
 
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major GainsOptimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
 
Sahab Ebrahimi (4)
Sahab Ebrahimi (4)Sahab Ebrahimi (4)
Sahab Ebrahimi (4)
 
Preconference Overview of data visualisation and technology
Preconference Overview of data visualisation and technologyPreconference Overview of data visualisation and technology
Preconference Overview of data visualisation and technology
 
Ruahl Behr's CV
Ruahl Behr's CVRuahl Behr's CV
Ruahl Behr's CV
 
ShashankJainMSBI
ShashankJainMSBIShashankJainMSBI
ShashankJainMSBI
 
RESUME_Hitesh_CMP
RESUME_Hitesh_CMPRESUME_Hitesh_CMP
RESUME_Hitesh_CMP
 
TeamTechnicalFinalPresentation-M5
TeamTechnicalFinalPresentation-M5TeamTechnicalFinalPresentation-M5
TeamTechnicalFinalPresentation-M5
 
Toward a Traceable, Explainable and fair JD/Resume Recommendation System
Toward a Traceable, Explainable and fair JD/Resume Recommendation SystemToward a Traceable, Explainable and fair JD/Resume Recommendation System
Toward a Traceable, Explainable and fair JD/Resume Recommendation System
 
Discussion Explore and Discuss a Research StudyReview the Probl.docx
Discussion Explore and Discuss a Research StudyReview the Probl.docxDiscussion Explore and Discuss a Research StudyReview the Probl.docx
Discussion Explore and Discuss a Research StudyReview the Probl.docx
 
Create a sql script containing your data definition language (ddl)
Create a sql script containing your data definition language (ddl)Create a sql script containing your data definition language (ddl)
Create a sql script containing your data definition language (ddl)
 

Recently uploaded

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
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...Kayode Fayemi
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
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 ServiceDelhi Call girls
 
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 EnjoyPooja Nehwal
 
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 NigeriaKayode Fayemi
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
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.pdfSenaatti-kiinteistöt
 
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 ServicesPooja Nehwal
 
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, Yardsticksaastr
 
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)Chameera Dedduwage
 
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)...Hasting Chen
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
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 animalsaqsarehman5055
 
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 ServiceDelhi Call girls
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMoumonDas2
 

Recently uploaded (20)

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
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...
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
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
 
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
 
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
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
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
 
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
 
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
 
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)
 
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)...
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
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
 
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
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 

Embedding Model-Driven Queries in Spreadsheets

  • 1. Rui Pereira, Jácome Cunha, João Paulo Fernandes, Jorge Mendes and João Saraiva Embedding Model-Driven Spreadsheet Queries in Spreadsheet Systems VL/HCC 2014 Melbourne, Australia
  • 2. Problem: Querying Spreadsheets 1 › “poor man’s database” › No way to query what data they contain Spreadsheets are generally used to store information Attempts to replicate traditional querying systems › Highly restrict user’s spreadsheet data › Denormalization › Headers present › Column letters ≠ Column labels › Data evolution not supported
  • 3. 2 Budget Spreadsheet Question – What was the total per year, in decreasing order, from 2010 onwards?
  • 4. 3 Google QUERY Function Question – What was the total per year, in decreasing order, from 2010 onwards? =query(A1:E53;”SELECT A, sum(E) WHERE A >= 2010 GROUP BY A ORDER BY sum(E) DESC”)
  • 5. 4 QuerySheet Question – What was the total per year, in decreasing order, from 2010 onwards? SELECT Year, sum(Total) WHERE Year >= 2010 GROUP BY Year Order BY sum(Total) DESC
  • 6. 5 Previous Empirical Study › Easier to construct queries › Intuitive and Understandable queries › Productive/Faster Our goal with Model-Driven Querying: › Semantic errors › Syntax errors › Low SQL knowledge  Construction still difficult Recurring problem among participants:
  • 7. 6 Embedded Spreadsheet SQL › Guide end-users in constructing queries › Reduce the number of errors › Continue taking advantage of positive aspects of QuerySheet › SQL knowledge not needed
  • 8. 7 ES-SQL - Environment Question – What was the total per year, in decreasing order, from 2010 onwards?
  • 12. 10 Conclusions and Future Work › Approach built on model-driven querying language › Visual query construction › Elimination of construction errors › Fully embedded model-driven querying system › Synchronization between model, instance, and query Embedded Spreadsheet SQL We still need to: › Add missing expressions to the Embedded Query › Validation through empirical study
  • 13. Rui Pereira, Jácome Cunha, João Paulo Fernandes, Jorge Mendes and João Saraiva Embedding Model-Driven Spreadsheet Queries in Spreadsheet Systems VL/HCC 2014 Melbourne, Australia

Editor's Notes

  1. Now with our query model, which is also synchronized with the model, will only present valid attributes and queriable values. The first query model is devised from the ClassSheet, but when the ClassSheet evolves, the Query model also evolves, maintaining the Query and ClassSheet model synchronized