DocSpider: a dataset of cross-domain natural language querying for MongoDB.

Saved in:
Bibliographic Details
Title: DocSpider: a dataset of cross-domain natural language querying for MongoDB.
Authors: Özer, Arif Görkem1 (AUTHOR) gorkem@ceng.metu.edu.tr, Cekinel, Recep Firat1 (AUTHOR), Toroslu, Ismail Hakki1 (AUTHOR), Karagoz, Pinar1 (AUTHOR)
Source: Natural Language Processing (29770424). Nov2025, Vol. 31 Issue 6, p1367-1398. 32p.
Subjects: Language models, Nonrelational databases, Databases, Natural languages, Big data
Abstract: Natural language querying allows users to formulate questions in a natural language without requiring specific knowledge of the database query language. Large language models have been very successful in addressing the text-to-SQL problem, which is about translating given questions in textual form into SQL statements. Document-oriented NoSQL databases are gaining popularity in the era of big data due to their ability to handle vast amounts of semi-structured data and provide advanced querying functionalities. However, studies on text-to-NoSQL systems, particularly on systems targeting document databases, are very scarce. In this study, we utilize large language models to create a cross-domain natural language to document database query dataset, DocSpider , leveraging the well-known text-to-SQL challenge dataset Spider. As a document database, we use MongoDB. Furthermore, we conduct experiments to assess the effectiveness of the DocSpider dataset to fine-tune a text-to-NoSQL model against a cross-language transfer learning approach, SQL-to-NoSQL, and zero-shot instruction prompting. The experimental results reveal a significant improvement in the execution accuracy of fine-tuned language models when utilizing the DocSpider dataset. [ABSTRACT FROM AUTHOR]
Copyright of Natural Language Processing (29770424) is the property of Cambridge University Press and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Engineering Source
FullText Text:
  Availability: 0
Header DbId: egs
DbLabel: Engineering Source
An: 188601269
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: DocSpider: a dataset of cross-domain natural language querying for MongoDB.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Özer%2C+Arif+Görkem%22">Özer, Arif Görkem</searchLink><relatesTo>1</relatesTo> (AUTHOR)<i> gorkem@ceng.metu.edu.tr</i><br /><searchLink fieldCode="AR" term="%22Cekinel%2C+Recep+Firat%22">Cekinel, Recep Firat</searchLink><relatesTo>1</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Toroslu%2C+Ismail+Hakki%22">Toroslu, Ismail Hakki</searchLink><relatesTo>1</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Karagoz%2C+Pinar%22">Karagoz, Pinar</searchLink><relatesTo>1</relatesTo> (AUTHOR)
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22Natural+Language+Processing+%2829770424%29%22">Natural Language Processing (29770424)</searchLink>. Nov2025, Vol. 31 Issue 6, p1367-1398. 32p.
– Name: Subject
  Label: Subjects
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Language+models%22">Language models</searchLink><br /><searchLink fieldCode="DE" term="%22Nonrelational+databases%22">Nonrelational databases</searchLink><br /><searchLink fieldCode="DE" term="%22Databases%22">Databases</searchLink><br /><searchLink fieldCode="DE" term="%22Natural+languages%22">Natural languages</searchLink><br /><searchLink fieldCode="DE" term="%22Big+data%22">Big data</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: Natural language querying allows users to formulate questions in a natural language without requiring specific knowledge of the database query language. Large language models have been very successful in addressing the text-to-SQL problem, which is about translating given questions in textual form into SQL statements. Document-oriented NoSQL databases are gaining popularity in the era of big data due to their ability to handle vast amounts of semi-structured data and provide advanced querying functionalities. However, studies on text-to-NoSQL systems, particularly on systems targeting document databases, are very scarce. In this study, we utilize large language models to create a cross-domain natural language to document database query dataset, DocSpider , leveraging the well-known text-to-SQL challenge dataset Spider. As a document database, we use MongoDB. Furthermore, we conduct experiments to assess the effectiveness of the DocSpider dataset to fine-tune a text-to-NoSQL model against a cross-language transfer learning approach, SQL-to-NoSQL, and zero-shot instruction prompting. The experimental results reveal a significant improvement in the execution accuracy of fine-tuned language models when utilizing the DocSpider dataset. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of Natural Language Processing (29770424) is the property of Cambridge University Press and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=188601269
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1017/nlp.2024.63
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 32
        StartPage: 1367
    Subjects:
      – SubjectFull: Language models
        Type: general
      – SubjectFull: Nonrelational databases
        Type: general
      – SubjectFull: Databases
        Type: general
      – SubjectFull: Natural languages
        Type: general
      – SubjectFull: Big data
        Type: general
    Titles:
      – TitleFull: DocSpider: a dataset of cross-domain natural language querying for MongoDB.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Özer, Arif Görkem
      – PersonEntity:
          Name:
            NameFull: Cekinel, Recep Firat
      – PersonEntity:
          Name:
            NameFull: Toroslu, Ismail Hakki
      – PersonEntity:
          Name:
            NameFull: Karagoz, Pinar
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 11
              Text: Nov2025
              Type: published
              Y: 2025
          Identifiers:
            – Type: issn-print
              Value: 29770424
          Numbering:
            – Type: volume
              Value: 31
            – Type: issue
              Value: 6
          Titles:
            – TitleFull: Natural Language Processing (29770424)
              Type: main
ResultId 1