db_id
stringlengths
4
31
SQL
stringlengths
18
1.45k
input_sequence
stringlengths
148
11k
question
stringlengths
16
325
language_corpus
select t2.wid, t2.occurrences from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t1.title = 'abadia' order by t2.occurrences desc limit 1
Question: in abadia, what is the word id of the of the catalan language that appeared the highest amount of times? indicate the how many times did they said word id appeared. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words...
in abadia, what is the word id of the of the catalan language that appeared the highest amount of times? indicate the how many times did they said word id appeared.
language_corpus
select t1.title from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid order by t1.words limit 5
Question: what are the titles of the top 5 catalan language wikipedia page with the least number of different words? indicate each title's word id that has appeared the most in the said pages. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurr...
what are the titles of the top 5 catalan language wikipedia page with the least number of different words? indicate each title's word id that has appeared the most in the said pages.
language_corpus
select sum(occurrences) from biwords where w1st = 86 and w2nd = 109
Question: how many times did the word pair 'i' and 'a' appeared in the cataln language/page? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w...
how many times did the word pair 'i' and 'a' appeared in the cataln language/page?
language_corpus
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.occurrences = 2
Question: what are the word pairs that occured only twice? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: p...
what are the word pairs that occured only twice?
language_corpus
select t3.w1st, t3.w2nd, t3.occurrences from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid inner join biwords as t3 on t2.wid = t3.w1st or t2.wid = t3.w2nd where t1.title = 'addicio' order by t3.occurrences desc limit 1
Question: what is the word pair that occured the highest amount of times in addicio? indicate how many times such word pair occured. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> ...
what is the word pair that occured the highest amount of times in addicio? indicate how many times such word pair occured.
language_corpus
select sum(words) from pages where title in ('adam', 'acampada')
Question: what is the total word of title 'adam' and 'acampada'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Jo...
what is the total word of title 'adam' and 'acampada'?
language_corpus
select revision from pages where title = 'aigua dola'
Question: what is the revision page id of title 'aigua dola'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins...
what is the revision page id of title 'aigua dola'?
language_corpus
select title from pages where words = ( select max(words) from pages )
Question: what is the title of corpus with most words? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages...
what is the title of corpus with most words?
language_corpus
select cast(sum(case when words >= 10 then words else 0 end) as real) / sum(case when words >= 10 then 1 else 0 end) from pages
Question: what is the average words of the 10 fewest words title? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | J...
what is the average words of the 10 fewest words title?
language_corpus
select revision from pages where words < 10 limit 5
Question: among the title with single digit word count, list down 5 revision page id of these titles. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords ...
among the title with single digit word count, list down 5 revision page id of these titles.
language_corpus
select pid from pages where title like 'b%'
Question: list down the page id of titles start with alphabet 'b'. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | ...
list down the page id of titles start with alphabet 'b'.
language_corpus
select t1.title from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid inner join words as t3 on t2.wid = t3.wid where t3.word = 'desena'
Question: what is the title of corpus where word 'desena' appear? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | J...
what is the title of corpus where word 'desena' appear?
language_corpus
select t2.wid from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t1.title = 'sometent'
Question: what is the word id for title 'sometent'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages.li...
what is the word id for title 'sometent'?
language_corpus
select case when count(t1.pid) > 0 then 'yes' else 'no' end as yorn from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t2.wid = 88 and t1.title = 'animals'
Question: is word id '88' the word id for title 'animals'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: p...
is word id '88' the word id for title 'animals'?
language_corpus
select t2.occurrences from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t1.word = 'del' and t3.title = 'any anomalstic'
Question: what are the occurance of word 'del' in title 'any anomalstic'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
what are the occurance of word 'del' in title 'any anomalstic'?
language_corpus
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.occurrences = 4 limit 1
Question: state one biword pair with occurence of 4. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages.l...
state one biword pair with occurence of 4.
language_corpus
select sum(t2.occurrences) from words as t1 inner join biwords as t2 on t1.wid = t2.w1st or t1.wid = t2.w2nd where t2.w1st in (( select wid from words where word = 'nombre' ) or t2.w2nd in ( select wid from words where word = 'nombre' ))
Question: what are the total occurence of words that paired with 'nombre'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurre...
what are the total occurence of words that paired with 'nombre'?
language_corpus
select w2nd from biwords where w1st = ( select wid from words where word = 'john' ) limit 10
Question: what are the words that were paired with 'john', list down 10 of them. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, o...
what are the words that were paired with 'john', list down 10 of them.
language_corpus
select t3.revision from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t1.word = 'fresc'
Question: list down the revision page id of titles where 'fresc' appears. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
list down the revision page id of titles where 'fresc' appears.
language_corpus
select t1.word as w1, t3.word as w2 from words as t1 left join biwords as t2 on t1.wid = t2.w1st left join words as t3 on t3.wid = t2.w2nd where t1.wid <= 10 group by t1.wid
Question: list down the words with word id from 1 to 10 and write down a paired word for each of them. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords...
list down the words with word id from 1 to 10 and write down a paired word for each of them.
language_corpus
select t1.word, t1.occurrences from words as t1 inner join pages_words as t2 on t1.wid = t2.wid where t2.pid = ( select pid from pages where title = 'atomium' ) limit 3
Question: for corpus title 'atomium', pick 3 words appear in the title and calculate the total occurence of these words. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, oc...
for corpus title 'atomium', pick 3 words appear in the title and calculate the total occurence of these words.
language_corpus
select word from words where occurrences = ( select max(occurrences) from words )
Question: indicate which is the word that is repeated the most times. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences....
indicate which is the word that is repeated the most times.
language_corpus
select pid, title from pages where title like '%0%' or '%1%' or '%2%' or '%3%' or '%4%' or '%5%' or '%6%' or '%7%' or '%8%' or '%9%'
Question: indicate the page id of wikipedia about catalan language of all the pages that have a numeric value in their title. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wi...
indicate the page id of wikipedia about catalan language of all the pages that have a numeric value in their title.
language_corpus
select title from pages where title = ( select min(words) from pages )
Question: what is the title of the page that has the fewest words? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | ...
what is the title of the page that has the fewest words?
language_corpus
select w1st, w2nd from biwords where occurrences = ( select max(occurrences) from biwords )
Question: what is the pair of words that is repeated the most times? identify them by their id. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid...
what is the pair of words that is repeated the most times? identify them by their id.
language_corpus
select sum(occurrences) from words where length(word) = 3
Question: how many total occurrences are there in the three-letter words? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
how many total occurrences are there in the three-letter words?
language_corpus
select avg(words) from pages where title like 'a%'
Question: calculate the average number of different words that appear on all pages whose title begins with a. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. ...
calculate the average number of different words that appear on all pages whose title begins with a.
language_corpus
select cast(sum(case when w1st = 34 then 1 else 0 end) as real) / count(w1st) from biwords
Question: calculate the average number of repetitions in the pairs of words in which the first word id is number 34. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurr...
calculate the average number of repetitions in the pairs of words in which the first word id is number 34.
language_corpus
select cast(count(case when words = 1500 then 1 else null end) as real) * 100 / count(page) from pages where words > 300 limit 3
Question: calculate the percentage of pages that have 1500 different words. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurr...
calculate the percentage of pages that have 1500 different words.
language_corpus
select cast(count(case when w1st = w2nd then 1 else null end) as real) * 100 / count(w1st) from biwords
Question: calculate the percentage of times that the same word appears in a pair. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, ...
calculate the percentage of times that the same word appears in a pair.
language_corpus
select t3.title from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t1.word = 'comunitat'
Question: indicate the title of all the pages in which the word comunitat appears. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd,...
indicate the title of all the pages in which the word comunitat appears.
language_corpus
select t3.page from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t1.word = 'ripoll'
Question: indicate on how many different pages the word ripoll appears. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrence...
indicate on how many different pages the word ripoll appears.
language_corpus
select occurrences from pages_words where pid = ( select pid from pages where title = 'llista de conflictes armats' )
Question: how many words are repeated on the llista de conflictes armats page? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occ...
how many words are repeated on the llista de conflictes armats page?
language_corpus
select case when count(t1.wid) > 0 then 'yes' else 'no' end from words as t1 inner join biwords as t2 on t1.wid = t2.w1st or t1.wid = t2.w2nd where t2.w1st = ( select wid from words where t1.word = 'fukunaga' ) and t2.w2nd = ( select wid from words where word like 'd%egees' )
Question: indicate if there is any pair formed by the words fukunaga and d'egees. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, ...
indicate if there is any pair formed by the words fukunaga and d'egees.
language_corpus
select cast(sum(t2.occurrences) as real) / count(t1.page) from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t1.words = 100
Question: calculate the average of repetitions in the pages that have a total of 100 different words. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords ...
calculate the average of repetitions in the pages that have a total of 100 different words.
language_corpus
select page from pages where title = 'acampada'
Question: which wikipedia page number does the catalan language's name, acampada, appear on? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w...
which wikipedia page number does the catalan language's name, acampada, appear on?
language_corpus
select page from pages where words > 300 limit 3
Question: please list any three wikipedia pages with more than 300 words. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
please list any three wikipedia pages with more than 300 words.
language_corpus
select occurrences from words where wid = 8
Question: how many times did the word number 8 appear? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages...
how many times did the word number 8 appear?
language_corpus
select word, wid from words order by occurrences desc limit 3
Question: please list the top three most frequently occurring words and their ids. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd,...
please list the top three most frequently occurring words and their ids.
language_corpus
select occurrences from biwords where w1st = 1 and w2nd = 25
Question: how frequently did the words 1 and 25 appear together? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Jo...
how frequently did the words 1 and 25 appear together?
language_corpus
select words from pages where revision = 27457362
Question: what number of words are there on revision page 27457362? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. |...
what number of words are there on revision page 27457362?
language_corpus
select cast(count(case when occurrences > 16000 then lid else null end) as real) * 100 / count(lid) from langs_words
Question: what is the percentage of words in the catalan language that have a repetition of more than 16,000 times? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurre...
what is the percentage of words in the catalan language that have a repetition of more than 16,000 times?
language_corpus
select page from pages where words = ( select max(words) from pages )
Question: which wikipedia page number has the highest number of words in the catalan language? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid,...
which wikipedia page number has the highest number of words in the catalan language?
language_corpus
select cast(count(case when occurrences < 80 then lid else null end) as real) * 100 / count(lid) from biwords
Question: what proportion of a pair of words in the catalan language have been repeated less than 80 times? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. bi...
what proportion of a pair of words in the catalan language have been repeated less than 80 times?
language_corpus
select pages from langs where lang = 'ca'
Question: how many catalan-language wikipedia pages are there overall? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences...
how many catalan-language wikipedia pages are there overall?
language_corpus
select title, revision from pages where lid = 1 limit 3
Question: please list any three wikipedia pages that are written in catalan, together with their titles and revision page numbers. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pi...
please list any three wikipedia pages that are written in catalan, together with their titles and revision page numbers.
language_corpus
select t2.lang from biwords as t1 inner join langs as t2 on t1.lid = t2.lid where t1.w1st = 1 and t1.w2nd = 616
Question: what is the language of the pair of words numbered 1 and 616? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrence...
what is the language of the pair of words numbered 1 and 616?
language_corpus
select t1.occurrences from langs_words as t1 inner join words as t2 on t1.wid = t2.wid where t2.word = 'nombre'
Question: how many times does the catalan word 'nombre' repeat itself? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences...
how many times does the catalan word 'nombre' repeat itself?
language_corpus
select word from words where wid = 8968
Question: what is the second word in the pair of words number 1 and 8968? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
what is the second word in the pair of words number 1 and 8968?
language_corpus
select t2.word from langs_words as t1 inner join words as t2 on t1.wid = t2.wid where t1.occurrences = ( select max(occurrences) from langs_words )
Question: which word has the most repetitions in the catalan language? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences...
which word has the most repetitions in the catalan language?
language_corpus
select t2.occurrences from words as t1 inner join pages_words as t2 on t1.wid = t2.wid where t1.word = 'votives' and t2.pid = 44
Question: how many times on page number 44 does the word 'votives' appear? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurre...
how many times on page number 44 does the word 'votives' appear?
language_corpus
select sum(t1.occurrences) from pages_words as t1 inner join biwords as t2 on t2.w2nd = t1.wid where t2.w2nd = 109 and t2.w1st = 1 and t1.pid = 16
Question: how many times on page number 16 does the second word in the pair of words 1 and 109 appear? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords...
how many times on page number 16 does the second word in the pair of words 1 and 109 appear?
language_corpus
select cast(count(case when t2.occurrences < 180 then 1 else null end) as real) * 100 / count(t1.lid) from langs as t1 inner join langs_words as t2 on t1.lid = t2.lid where t1.lang = 'ca'
Question: what is the percentage of the words that have been repeated under 180 times in the catalan language? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences....
what is the percentage of the words that have been repeated under 180 times in the catalan language?
language_corpus
select cast(count(case when t2.words > 10000 then 1 else null end) as real) * 100 / count(t2.page) from langs as t1 inner join pages as t2 on t1.lid = t2.lid where t1.lang = 'ca'
Question: what percentage of catalan-language wikipedia pages have more than 10,000 words? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1s...
what percentage of catalan-language wikipedia pages have more than 10,000 words?
language_corpus
select occurrences from words where word = 'desena'
Question: how many times the word 'desena' occurs? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages.lid...
how many times the word 'desena' occurs?
language_corpus
select count(w1st) as countwords from biwords where occurrences > 10
Question: how many words has the appearance times greater than 10? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | ...
how many words has the appearance times greater than 10?
language_corpus
select pages from langs
Question: list out the total pages of wikipedia in catalan language. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. ...
list out the total pages of wikipedia in catalan language.
language_corpus
select count(wid) from langs_words where occurrences between '2000' and '5000'
Question: how many words have repetitions greater than 2000 and lower than 5000? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, o...
how many words have repetitions greater than 2000 and lower than 5000?
language_corpus
select title from pages where revision = 106601
Question: list out the title of catalan language wikipedia page that has wikipedia revision page id as 106601. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences....
list out the title of catalan language wikipedia page that has wikipedia revision page id as 106601.
language_corpus
select title from pages where revision = 28040864
Question: state the wikipedia page title that has revision page id of 28040864. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, oc...
state the wikipedia page title that has revision page id of 28040864.
language_corpus
select sum(occurrences) from biwords where w1st = ( select wid from words where word = 'barcelona' ) and w2nd = ( select wid from words where word = 'precolombina' )
Question: how many times that the word pair of 'barcelona' and 'precolombina' occur? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2n...
how many times that the word pair of 'barcelona' and 'precolombina' occur?
language_corpus
select t1.locale from langs as t1 inner join pages as t2 on t1.lid = t2.lid where t2.title = 'anys 90'
Question: what is the locale of the language of the page titled 'anys 90'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurre...
what is the locale of the language of the page titled 'anys 90'?
language_corpus
select t1.word from words as t1 inner join langs_words as t2 on t1.wid = t2.wid where t2.occurrences = 71303
Question: which word that has 71303 appearance in the catalan language? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrence...
which word that has 71303 appearance in the catalan language?
language_corpus
select t1.locale from langs as t1 inner join pages as t2 on t1.lid = t2.lid where t2.title = 'abril'
Question: what is the locale of the language of the page titled 'abril'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrenc...
what is the locale of the language of the page titled 'abril'?
language_corpus
select words from langs where lid = ( select lid from biwords where w1st = 100 and w2nd = 317 )
Question: what is the total number of words in page containing pair of word id '100' and '317'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid...
what is the total number of words in page containing pair of word id '100' and '317'?
language_corpus
select count(t1.pages) from langs as t1 inner join langs_words as t2 on t1.lid = t2.lid where t2.occurrences = 2593
Question: state the total pages of the words that has repeated times of 2593. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occu...
state the total pages of the words that has repeated times of 2593.
language_corpus
select distinct t1.title from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t2.wid < 20
Question: list out the title of the word have id less than 20. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Join...
list out the title of the word have id less than 20.
language_corpus
select count(t2.wid) from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t1.words = 3
Question: how many word that has number of different words equal to 3? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences...
how many word that has number of different words equal to 3?
language_corpus
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
Question: how many word appeared 8 times? state the language id of the page. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occur...
how many word appeared 8 times? state the language id of the page.
language_corpus
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
Question: calculate the average percentage of word appearance in the page that have revision page id smaller than 106680. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, o...
calculate the average percentage of word appearance in the page that have revision page id smaller than 106680.
language_corpus
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
Question: list out the total pages of the words that has repeated times more than 3000. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, ...
list out the total pages of the words that has repeated times more than 3000.
language_corpus
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
Question: state the name of the pair of word that have id of 20 and 50? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrence...
state the name of the pair of word that have id of 20 and 50?
language_corpus
select pages from langs where lang = 'ca'
Question: how many pages of wikipedia are there in total on the catalan language? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, ...
how many pages of wikipedia are there in total on the catalan language?
language_corpus
select title from pages where lid = 1 and words > 4000
Question: please list the titles of the wikipedia pages on the catalan language with more than 4000 words. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biw...
please list the titles of the wikipedia pages on the catalan language with more than 4000 words.
language_corpus
select words from pages where title = 'asclepi'
Question: how many words are there on the page titled 'asclepi'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Jo...
how many words are there on the page titled 'asclepi'?
language_corpus
select case when ( select words from pages where title = 'asclepi' ) > ( select words from pages where title = 'afluent' ) then 'asclepi' else 'afluent' end
Question: which of these pages have more words, the page titled 'afluent' or 'asclepi'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, ...
which of these pages have more words, the page titled 'afluent' or 'asclepi'?
language_corpus
select occurrences from words where word = 'nombre'
Question: what is the occurrence of the word 'nombre'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages...
what is the occurrence of the word 'nombre'?
language_corpus
select word from words where occurrences > 200000
Question: please list the catalan words with an occurrence of over 200000. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurre...
please list the catalan words with an occurrence of over 200000.
language_corpus
select t2.locale from pages as t1 inner join langs as t2 on t1.lid = t2.lid where t1.title = 'asclepi'
Question: what is the locale of the language of the page titled 'asclepi'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurre...
what is the locale of the language of the page titled 'asclepi'?
language_corpus
select t2.occurrences from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t3.title = 'bac' and t1.word = 'grec'
Question: how many times did the word 'grec' occur on the page titled 'bac'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occur...
how many times did the word 'grec' occur on the page titled 'bac'?
language_corpus
select t3.title from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t1.word = 'grec' and t2.occurrences > 20
Question: please list the title of the pages on which the word 'grec' occurred for over 20 times. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> l...
please list the title of the pages on which the word 'grec' occurred for over 20 times.
language_corpus
select sum(t3.words) from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pid where t1.word = 'grec' and t2.occurrences = 52
Question: how many words are there on the page that the word 'grec' has occurred for 52 times? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid,...
how many words are there on the page that the word 'grec' has occurred for 52 times?
language_corpus
select occurrences from biwords where w1st = ( select wid from words where word = 'bac' ) and w2nd = ( select wid from words where word = 'xins' )
Question: what's the occurrence of the biwords pair whose first word is 'bac' and second word is 'xins'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwor...
what's the occurrence of the biwords pair whose first word is 'bac' and second word is 'xins'?
language_corpus
select case when ( select occurrences from biwords where w1st = ( select wid from words where word = 'bac' ) and w2nd = ( select wid from words where word = 'xins' ) ) > ( select occurrences from biwords where w1st = ( select wid from words where word = 'bac' ) and w2nd = ( select wid from words where word = 'grec' ) )...
Question: which biwords pair has a higher occurrence, 'bac-xins' or 'bac-grec'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, oc...
which biwords pair has a higher occurrence, 'bac-xins' or 'bac-grec'?
language_corpus
select occurrences - ( select occurrences from biwords where w1st = ( select wid from words where word = 'bac' ) and w2nd = ( select wid from words where word = 'xins' ) ) as calus from words where word = 'bac'
Question: how many more times does the first word in the biwords pair 'bac-xins' occur than the biwords pair itself? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurr...
how many more times does the first word in the biwords pair 'bac-xins' occur than the biwords pair itself?
language_corpus
select t1.word as w1, t3.word as w2 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 t1.word = 'bac'
Question: please list all the biwords pairs with 'bac' as its first word. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
please list all the biwords pairs with 'bac' as its first word.
language_corpus
select count(t2.w1st) 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 t1.word = 'bac'
Question: what is the total occurrence of the biwords pairs with 'bac' as its first word? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st...
what is the total occurrence of the biwords pairs with 'bac' as its first word?
language_corpus
select count(t1.pages) from langs as t1 inner join biwords as t2 on t1.lid = t2.lid where t2.w1st = ( select wid from words where word = 'bac' ) and t2.w2nd = ( select wid from words where word = 'xins' )
Question: how many wikipedia pages are there on the language of the biwords pair 'bac-xins'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w...
how many wikipedia pages are there on the language of the biwords pair 'bac-xins'?
language_corpus
select cast((sum(case when t3.title = 'bac' then t2.occurrences end) - sum(case when t3.title = 'astronomia' then t2.occurrences end)) as real) * 100 / sum(case when t3.title = 'astronomia' then t2.occurrences end) from words as t1 inner join pages_words as t2 on t1.wid = t2.wid inner join pages as t3 on t2.pid = t3.pi...
Question: how much higher in percentage does the word 'grec' occur on the page titled 'bac' than on the page titled 'astronomia'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid...
how much higher in percentage does the word 'grec' occur on the page titled 'bac' than on the page titled 'astronomia'?
language_corpus
select pages from langs where lang = 'ca'
Question: how many pages does the catalan language have in wikipedia? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences....
how many pages does the catalan language have in wikipedia?
language_corpus
select wid from langs_words where occurrences = ( select max(occurrences) from langs_words )
Question: which word has the most repetitions in the catalan language? give the id of the word. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid...
which word has the most repetitions in the catalan language? give the id of the word.
language_corpus
select w2nd from biwords where occurrences = ( select max(occurrences) from biwords )
Question: what is the word id for the second word for the biwords pair with most repetitions? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, ...
what is the word id for the second word for the biwords pair with most repetitions?
language_corpus
select occurrences from words where word = 'panajot'
Question: how many occurrences does the word 'panajot' have? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins:...
how many occurrences does the word 'panajot' have?
language_corpus
select word from words where occurrences = 340691
Question: which word has the time of occurrences as 340691? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: ...
which word has the time of occurrences as 340691?
language_corpus
select wid from words where word = 'periodograma'
Question: state the word id for 'periodograma'. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurrences. | Joins: pages.lid = ...
state the word id for 'periodograma'.
language_corpus
select t1.word from words as t1 inner join biwords as t2 on t1.wid = t2.w2nd where t2.occurrences = 116430
Question: for the biwords pair that appears '116430' times, what is the second word of the pair? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> li...
for the biwords pair that appears '116430' times, what is the second word of the pair?
language_corpus
select count(t1.wid) 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 t1.word = 'riu'
Question: how many times does the word 'riu' appears in the biwords pair? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w1st, w2nd, occurren...
how many times does the word 'riu' appears in the biwords pair?
language_corpus
select t2.wid from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t1.title = 'agricultura' order by t2.occurrences desc limit 1
Question: which word has the most appearances in the wikipedia page with the title of 'agricultura'? give the word id. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occu...
which word has the most appearances in the wikipedia page with the title of 'agricultura'? give the word id.
language_corpus
select sum(t2.occurrences) from pages as t1 inner join pages_words as t2 on t1.pid = t2.pid where t1.title = 'astre' and t2.wid = 2823
Question: how many appearances does the word id no. 2823 have in the wikipedia page 'astre'? | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords -> lid, w...
how many appearances does the word id no. 2823 have in the wikipedia page 'astre'?
language_corpus
select title from pages where pid = ( select pid from pages_words where wid = 174 order by occurrences desc limit 1 )
Question: in which wikipedia page does the word id no. 174 have the most appearances? give the title. | Tables: langs -> lid, lang, locale, pages, words. pages -> pid, lid, page, revision, title, words. words -> wid, word, occurrences. langs_words -> lid, wid, occurrences. pages_words -> pid, wid, occurrences. biwords ...
in which wikipedia page does the word id no. 174 have the most appearances? give the title.