IBM / SQL-to-Text

SQL-to-Text is a simple code for translating SQL to Text Generation with a novel Graph-to-Sequence Model
Apache License 2.0
72 stars 23 forks source link

Some question about the paper. #1

Closed guotong1988 closed 5 years ago

guotong1988 commented 5 years ago

we get text from SQL, then how can we use text to query the database?

Thank you very much.

@stevemart

teddylfwu commented 5 years ago

Could you elaborate more on your problem?

Our codes will be released in one month. You will see some examples in our codes.

Yours sincerely,

Lingfei (Teddy) Wu Research Staff Member, AI Foundations Labs - Reasoning IBM Research AI IBM T. J. Watson Research Center, Yorktown Heights, NY 10598 Phone: +1 757-634-5455 Email: lwu@email.wm.edu, wuli@us.ibm.com

On Fri, Sep 21, 2018 at 6:01 AM Tong Guo notifications@github.com wrote:

we get text from SQL, then how can we use text to query the database?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/IBM/SQL-to-Text/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AMWHNeYKDRoMv9zkHfyEuezUWRxSfK__ks5udLj_gaJpZM4Wz1Qj .

guotong1988 commented 5 years ago

Thank for your reply. In WikiSQL dataset, we transform text to SQL and then query the database. In the end we get the answer corresponding to the text. I cannot understand how graph2seq get the answer for a SQL.

teddylfwu commented 5 years ago

Using grpah2seq model for converting SQL to text has attracted a surge of interests recently.

Please see the following two papers for getting a better understanding of this task.

https://arxiv.org/abs/1809.05255

https://arxiv.org/abs/1805.02473

Yours sincerely,

Lingfei (Teddy) Wu Research Staff Member, AI Foundations Labs - Reasoning IBM Research AI IBM T. J. Watson Research Center, Yorktown Heights, NY 10598 Phone: +1 757-634-5455 Email: lwu@email.wm.edu, wuli@us.ibm.com

On Sat, Sep 22, 2018 at 8:33 PM Tong Guo notifications@github.com wrote:

Thank for your reply. In WikiSQL dataset, we transform text to SQL and then query the database. In the end we get the answer corresponding to the text. I cannot understand how graph2seq get the answer for a SQL.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/IBM/SQL-to-Text/issues/1#issuecomment-423782942, or mute the thread https://github.com/notifications/unsubscribe-auth/AMWHNVfGv1iO3D7S-qsNk_Mso3MhPsB1ks5udtbjgaJpZM4Wz1Qj .

guotong1988 commented 5 years ago

Oh, I know, the task is transforming SQL to text, without query the database.