AskNowQA / LC-QuAD

A data set of natural language queries with corresponding SPARQL queries
GNU General Public License v3.0
91 stars 30 forks source link

Does the dataset comes with answers to the template questions in any format? #16

Open hexie1995 opened 2 years ago

hexie1995 commented 2 years ago

I think it maybe a good idea to include the Wikidata/DBpedia answer to these questions for KBQA training/testing purposes

geraltofrivia commented 2 years ago

Hi @hexie1995 ,

Thank you for your interest in the repository. And yeah, you're right. It would be beneficial to have answers from the source knowledge graph included alongwith the dataset.

However, since working on this project, I have moved to a different institution, where it would be far more difficult to spring up an instance of DBpedia v16.04 and query it for answers to these queries.

Are you in a position to do that? If so, that would be a most welcome contribution.

Note that you would need to execute these queries on the specific version of DBpedia, since with updates, many of these queries would no longer yield an answer. Likewise, I'm not immediately aware of existing bridges between Wikidata and DBpedia URIs, and am even less confident if that all the queries would yield answers on Wikidata even if such a bridge existed. Please correct me, if I'm wrong.

Best,

hexie1995 commented 2 years ago

Dear Priyansh,

Sounds like a good plan. While I could not promise that I would definitely be able to execute the query and get all of the answers, I could definitely give it a try. Could you share the version of the DBpedia data that you have used or maybe a link to directly query it? Thank you very much for your help!

Best,

Xie

On Fri, Jul 15, 2022 at 2:57 AM Priyansh Trivedi @.***> wrote:

Hi @hexie1995 https://github.com/hexie1995 ,

Thank you for your interest in the repository. And yeah, you're right. It would be beneficial to have answers from the source knowledge graph included alongwith the dataset.

However, since working on this project, I have moved to a different institution, where it would be far more difficult to spring up an instance of DBpedia v16.04 and query it for answers to these queries.

Are you in a position to do that? If so, that would be a most welcome contribution.

Note that you would need to execute these queries on the specific version of DBpedia, since with updates, many of these queries would no longer yield an answer. Likewise, I'm not immediately aware of existing bridges between Wikidata and DBpedia URIs, and am even less confident if that all the queries would yield answers on Wikidata even if such a bridge existed. Please correct me, if I'm wrong.

Best,

— Reply to this email directly, view it on GitHub https://github.com/AskNowQA/LC-QuAD/issues/16#issuecomment-1185282370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJL7OJG5PUCIWLXXDGZILWTVUEKYFANCNFSM52KTGSIQ . You are receiving this because you were mentioned.Message ID: @.***>

geraltofrivia commented 2 years ago

Hi Xie,

Thanks for agreeing to do this. Unfortunately, I can't find pre-hosted instance of the right DBpedia version. Specifically, the dataset was made over DBpedia v16.04 (April, 2016 release). The version hosted on the public DBpedia endpoint [1] is v 16.10 (October, 2016) which is incompatible with a substantial number of queries (src [2]).

You would have to download the relevant dataset, and spin up your on Virtuoso instance, and point it at the dataset to be able to query it. Feel free to write to me, in case of any difficulties.

Best Wishes.

[1] - https://dbpedia.org/sparql [2] - https://www.dbpedia.org/resources/sparql/

hexie1995 commented 2 years ago

Hello Priyansh,

I have a good news! I have run the query against our sparql endpoint and managed to get almost all of the answers except 3 of the query for training and another 3 for testing. The resulting files has been saved as json files, with extra attributes including "results", "entities", "answers".

Best,

Xie

On Thu, Jul 21, 2022 at 8:10 AM Priyansh Trivedi @.***> wrote:

Hi Xie,

Thanks for agreeing to do this. Unfortunately, I can't find pre-hosted instance of the right DBpedia version. Specifically, the dataset was made over DBpedia v16.04 (April, 2016 release). The version hosted on the public DBpedia endpoint [1] is v 16.10 (October, 2016) which is incompatible with a substantial number of queries (src [2]).

You would have to download the relevant dataset, and spin up your on Virtuoso instance, and point it at the dataset to be able to query it. Feel free to write to me, in case of any difficulties.

Best Wishes.

[1] - https://dbpedia.org/sparql [2] - https://www.dbpedia.org/resources/sparql/

— Reply to this email directly, view it on GitHub https://github.com/AskNowQA/LC-QuAD/issues/16#issuecomment-1191466384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJL7OJDCWNJZ54HNBGFPZ7LVVFD4FANCNFSM52KTGSIQ . You are receiving this because you were mentioned.Message ID: @.***>

amontee commented 7 months ago

Hello @hexie1995 , I was also facing the same issue. Is it possible for you to share the resulting files?

Cheers!