QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    How many word appeared 8 times? State the language id of the page. appeared 8 times refers to occurrences = 8;

    【Evidence】
    appeared 8 times refers to occurrences = 8;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(T2.wid), T1.lid FROM pages AS T1 INNER JOIN pages_words AS T2 ON T1.pid = T2.pid WHERE T2.occurrences = 8
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Calculate the average percentage of word appearance in the page that have revision page id smaller than 106680. revision page id smaller than 106680 refers to revision < 106680; word appearance refers to occurrences; DIVIDE(SUM(occurrences where revision < 106680), COUNT(occurrences)) as percentage;

    【Evidence】
    revision page id smaller than 106680 refers to revision < 106680; word appearance refers to occurrences; DIVIDE(SUM(occurrences where revision < 106680), COUNT(occurrences)) as percentage;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CAST(SUM(T1.words) AS REAL) * 100 / SUM(T2.occurrences) FROM pages AS T1 INNER JOIN pages_words AS T2 ON T1.pid = T2.pid WHERE T1.revision < 106680
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    List out the total pages of the words that has repeated times more than 3000. repeated more than 3000 times refers to occurrences > 3000;

    【Evidence】
    repeated more than 3000 times refers to occurrences > 3000;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.pages FROM langs AS T1 INNER JOIN langs_words AS T2 ON T1.lid = T2.lid WHERE T2.occurrences > 3000 GROUP BY T1.pages
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    State the name of the pair of word that have id of 20 and 50? word that have id of 20 refers to wid = 20; word that have id of 50 refers to wid = 50;

    【Evidence】
    word that have id of 20 refers to wid = 20; word that have id of 50 refers to wid = 50;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.word, T3.word FROM words AS T1 INNER JOIN biwords AS T2 ON T1.wid = T2.w1st INNER JOIN words AS T3 ON T3.wid = T2.w2nd WHERE T2.w1st = 20 AND T2.w2nd = 50
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    How many pages of Wikipedia are there in total on the Catalan language? Catalan language refers to lang = 'ca';

    【Evidence】
    Catalan language refers to lang = 'ca';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT pages FROM langs WHERE lang = 'ca'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Please list the titles of the Wikipedia pages on the Catalan language with more than 4000 words. Catalan language refers to lid = 1; more than 4000 words refers to words > 4000;

    【Evidence】
    Catalan language refers to lid = 1; more than 4000 words refers to words > 4000;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT title FROM pages WHERE lid = 1 AND words > 4000
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    How many words are there on the page titled "Asclepi"? page titled "Asclepi" refers to title = 'Asclepi' ;

    【Evidence】
    page titled "Asclepi" refers to title = 'Asclepi' ;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT words FROM pages WHERE title = 'Asclepi'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Which of these pages have more words, the page titled "Afluent" or "Asclepi"? COUNT(words where title = 'Afluent')> COUNT(words where title = 'Asclepi')

    【Evidence】
    COUNT(words where title = 'Afluent')> COUNT(words where title = 'Asclepi')

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CASE WHEN ( SELECT words FROM pages WHERE title = 'Asclepi' ) > ( SELECT words FROM pages WHERE title = 'Afluent' ) THEN 'Asclepi' ELSE 'Afluent' END
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    What is the occurrence of the word "nombre"? This is not;

    【Evidence】
    This is not;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT occurrences FROM words WHERE word = 'nombre'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Please list the Catalan words with an occurrence of over 200000. occurrence of over 200000 refers to occurrences > 200000;

    【Evidence】
    occurrence of over 200000 refers to occurrences > 200000;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT word FROM words WHERE occurrences > 200000
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    What is the locale of the language of the page titled "Asclepi"? page titled "Asclepi" refers to title = 'Asclepi' ;

    【Evidence】
    page titled "Asclepi" refers to title = 'Asclepi' ;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.locale FROM pages AS T1 INNER JOIN langs AS T2 ON T1.lid = T2.lid WHERE T1.title = 'Asclepi'