{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/303909"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/303909","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Natural-SQL Translator A general natural language interface to SQL using the Grammatical Framework programming language","abstract":"Databases are powerful tools and the ability to use natural language to query databases makes these tools more accessible. For a natural language-database accessing system to become useful beyond niche applications, it needs to be able to scale and adapt. For that to be the case, it needs to be formulated generically to not require redesign for every new application. The central part of this system needs to be agnostic with regards to what database is to be accessed as well as agnostic with regards to what natural language is to be used. This project has as its goal to create a prototype of such a system for the database query language SQL. A system which is accessible, has a general form and can easily be adapted to new natural languages and databases. To do this the Grammatical Framework (GF) programming language was used, which is designed to enable translations based on an abstract grammar and multiple concrete descriptions of how everything that can be formed in the grammar is expressed in each language. For this project that list of languages includes SQL and natural languages such as English and Swedish. Around the GF grammar, an application was constructed which allows the user to perform translations without much technical skill, no commands need to be entered and nothing needs to be compiled once the system has been set up once. The system which is the result of this project has a general form and allows for easy use with a new database, and a somewhat more involved application to a new natural language. It allows access to databases without requiring any programming knowledge. It permits the user flexibility in their way of expressing themselves when using a natural language.","abstract_html":"Databases are powerful tools and the ability to use natural language to query databases makes these tools more accessible. For a natural language-database accessing system to become useful beyond niche applications, it needs to be able to scale and adapt. For that to be the case, it needs to be formulated generically to not require redesign for every new application. The central part of this system needs to be agnostic with regards to what database is to be accessed as well as agnostic with regards to what natural language is to be used. This project has as its goal to create a prototype of such a system for the database query language SQL. A system which is accessible, has a general form and can easily be adapted to new natural languages and databases. To do this the Grammatical Framework (GF) programming language was used, which is designed to enable translations based on an abstract grammar and multiple concrete descriptions of how everything that can be formed in the grammar is expressed in each language. For this project that list of languages includes SQL and natural languages such as English and Swedish. Around the GF grammar, an application was constructed which allows the user to perform translations without much technical skill, no commands need to be entered and nothing needs to be compiled once the system has been set up once. The system which is the result of this project has a general form and allows for easy use with a new database, and a somewhat more involved application to a new natural language. It allows access to databases without requiring any programming knowledge. It permits the user flexibility in their way of expressing themselves when using a natural language.","abstract_has_math":false,"creators":["Davallius, Daniel"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data och informationsteknik","school":null,"contributors":[],"advisors":["Ranta, Aarne"],"committee_chairs":[],"committee_members":["Ahrendt, Wolfgang"],"year":2021,"date_issued":"2021","date_published":"2021","updated_at":"2026-11-19T03:02:07Z","subjects":["Grammatical framework","GF","Grammars","Structured Query Language","SQL","Databases","Natural language","Human-computer interaction","User friendly","General"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/303909","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/303909","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F303909","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F303909","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Ahrendt, Wolfgang"]},{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data och informationsteknik"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Ranta, Aarne"]},{"key":"dc:creator","label":"Author","values":["Davallius, Daniel"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-08-18T07:18:27Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2021-08-18T07:18:27Z"]},{"key":"dc:date.issued","label":"Date","values":["2021"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2020"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Computer systems and networks (MPCSN), MSc"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Grammatical framework","GF","Grammars","Structured Query Language","SQL","Databases","Natural language","Human-computer interaction","User friendly","General"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/303909"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Databases are powerful tools and the ability to use natural language to query databases makes these tools more accessible. For a natural language-database accessing system to become useful beyond niche applications, it needs to be able to scale and adapt. For that to be the case, it needs to be formulated generically to not require redesign for every new application. The central part of this system needs to be agnostic with regards to what database is to be accessed as well as agnostic with regards to what natural language is to be used. This project has as its goal to create a prototype of such a system for the database query language SQL. A system which is accessible, has a general form and can easily be adapted to new natural languages and databases. To do this the Grammatical Framework (GF) programming language was used, which is designed to enable translations based on an abstract grammar and multiple concrete descriptions of how everything that can be formed in the grammar is expressed in each language. For this project that list of languages includes SQL and natural languages such as English and Swedish. Around the GF grammar, an application was constructed which allows the user to perform translations without much technical skill, no commands need to be entered and nothing needs to be compiled once the system has been set up once. The system which is the result of this project has a general form and allows for easy use with a new database, and a somewhat more involved application to a new natural language. It allows access to databases without requiring any programming knowledge. It permits the user flexibility in their way of expressing themselves when using a natural language."]},{"key":"dc:title","label":"Title","values":["Natural-SQL Translator A general natural language interface to SQL using the Grammatical Framework programming language"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Ahrendt, Wolfgang"],"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data och informationsteknik"],"dc:contributor.supervisor":["Ranta, Aarne"],"dc:creator":["Davallius, Daniel"],"dc:date.accessioned":["2021-08-18T07:18:27Z"],"dc:date.available":["2021-08-18T07:18:27Z"],"dc:date.issued":["2021"],"dc:date.submitted":["2020"],"dc:description.abstract":["Databases are powerful tools and the ability to use natural language to query databases makes these tools more accessible. For a natural language-database accessing system to become useful beyond niche applications, it needs to be able to scale and adapt. For that to be the case, it needs to be formulated generically to not require redesign for every new application. The central part of this system needs to be agnostic with regards to what database is to be accessed as well as agnostic with regards to what natural language is to be used. This project has as its goal to create a prototype of such a system for the database query language SQL. A system which is accessible, has a general form and can easily be adapted to new natural languages and databases. To do this the Grammatical Framework (GF) programming language was used, which is designed to enable translations based on an abstract grammar and multiple concrete descriptions of how everything that can be formed in the grammar is expressed in each language. For this project that list of languages includes SQL and natural languages such as English and Swedish. Around the GF grammar, an application was constructed which allows the user to perform translations without much technical skill, no commands need to be entered and nothing needs to be compiled once the system has been set up once. The system which is the result of this project has a general form and allows for easy use with a new database, and a somewhat more involved application to a new natural language. It allows access to databases without requiring any programming knowledge. It permits the user flexibility in their way of expressing themselves when using a natural language."],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/303909"],"dc:language.iso":["eng"],"dc:publisher.program":["Computer systems and networks (MPCSN), MSc"],"dc:subject":["Grammatical framework","GF","Grammars","Structured Query Language","SQL","Databases","Natural language","Human-computer interaction","User friendly","General"],"dc:subject.uppsok":["Technology"],"dc:title":["Natural-SQL Translator A general natural language interface to SQL using the Grammatical Framework programming language"],"dc:type.degree":["Examensarbete för masterexamen"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T03:02:07Z"}