Code Monkey home page Code Monkey logo

lc-quad's People

Contributors

geraltofrivia avatar mohnish-rygbee avatar saist1993 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lc-quad's Issues

Inconsistance question/query pairs

Hey guys,
There are couple of pairs in which the question doesn't make sense w.r.t its query:

{
"_id": "4121",
"corrected_question": "What organisation regulates and controls the New Sanno Hotel?",
"intermediary_question": "What is the of New Sanno Hotel ?",
"sparql_query": " SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/New_Sanno_Hotel http://dbpedia.org/ontology/tenant ?uri } ",
"sparql_template_id": 2
},
{
"_id": "3557",
"corrected_question": "What are the awrds won by Laemmle Theatres ?",
"intermediary_question": "What is the of Laemmle Theatres ?",
"sparql_query": " SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/Laemmle_Theatres http://dbpedia.org/ontology/service ?uri } ",
"sparql_template_id": 2
},
{
"_id": "4917",
"corrected_question": "Who owns Chelsea F.C.?",
"intermediary_question": "Who is the whose is ?",
"sparql_query": "SELECT DISTINCT ?uri WHERE {?uri http://dbpedia.org/ontology/occupation http://dbpedia.org/resource/Chelsea_F.C. . }",
"sparql_template_id": 1
},
{
"_id": "4932",
"corrected_question": "What is the location of Sam Sen Railway Station ?",
"intermediary_question": "What is the of Sam Sen Railway Station ?",
"sparql_query": " SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/Sam_Sen_Railway_Station http://dbpedia.org/property/other ?uri } ",
"sparql_template_id": 2
},
{
"_id": "4225",
"corrected_question": "Where did Aghasalim Childagh die?",
"intermediary_question": "What are the of Aghasalim Childagh?",
"sparql_query": " SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/Aghasalim_Childagh http://dbpedia.org/property/deathDate ?uri } ",
"sparql_template_id": 2
},
{
"_id": "4103",
"corrected_question": "What is the political party to which Purnima Banerjee is a member of?",
"intermediary_question": "What is the of Robert Nutting ?",
"sparql_query": " SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/Robert_Nutting http://dbpedia.org/ontology/knownFor ?uri } ",
"sparql_template_id": 2
},
{
"_id": "3390",
"corrected_question": "Where is Lao Plaza Hotel located?",
"intermediary_question": "What is the of Lao Plaza Hotel ?",
"sparql_query": " SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/Lao_Plaza_Hotel http://dbpedia.org/property/developer ?uri } ",
"sparql_template_id": 2
},

Minor template issues

The bracket of the where-clause ends too early in templates: 302, 306, 315, 316, 402, 405, 407 and 408.
The templates 303, 307 and 403 don't fit with the corresponding questions. They need one more triple:
303: ?x rdf:type class
307: ?uri rdf:type class
403: ?x rdf:type class
In the dataset templates are referenced that don't exist: 11, 601, 605, 906.

DBpedia Errors

Describe the bug
There are some funny things in DBpedia.
For instance, dbr:Nicaragua rdf:Type dbo:MusicalArtist

Template ID: Any

Expected behaviour
Somehow, iron these kinks out. Ignore this triple, or at least don't make questions out of it.

Actual behaviour
No such filters. You'd end up with a question containing this :/

Literals in the evaluation

I’m working on a KBQA system on LC-QuAD 1.0. I would like to ask some questions about the evaluation.
Should I include the literal in golden answers when I execute the golden SPARQL against DBpedia 1604? I noticed that all lambda variables in golden SPARQLs are ‘?uri’. Since there’s no FILTER in SPARQL for literals, does it mean answers are just URIs?
Thanks.

number of resource

hi ,
i think you should put the number of the total resource in the lc_quad dataset , to get sure about the number when we calculate precision and recall in entity linking , and i whould ask if the number of resource use in the sparql_queries is 6621 resource ??

Enable automatic benchmarking

Is your feature request related to a problem? Please describe.
Need a script to seamlessly use a QA solution, and benchmark its results over LC-QuAD

Describe the solution you'd like

  • Require them to open an API which returns answers or SPARQLS given a question.
  • Use over-arching platforms like Project Hobbit, but this requires dockerized systems and other added constraints.
  • What else?

Wrong corrected_question

There's a single QA pair in the dataset where the corrected_question is entirely different from what it's supposed to be (i.e. given the SPARQL and auto-verbalized question):

The SPARQL is wrong too, so this makes it the only question with a nil result set.

[{'_id': '3631',
  'corrected_question': 'List down the schools whose mascot is an animal from the order of Even toed Ungulates?',
  'intermediary_question': "What are the <companies> whose <programming language>'s <designer> is <Bjarne Stroustrup>?",
  'results': [],
  'sparql_query': 'SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/designer> <http://dbpedia.org/resource/Bjarne_Stroustrup> . ?uri <http://dbpedia.org/property/programmingLanguage> ?x  . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/School>}',
  'sparql_template_id': 306}]

Template 9 and 3

Fix template 9 from
{ <%(e_in_in)s> <%(e_in_in_to_e_in)s> ?x . ?x <%(e_in_to_e)s> ?uri }
to
{ <%(e_in_in)s> <%(e_in_in_to_e_in)s> ?x . ?x <%(e_in_in_to_e_in)s> ?uri }

Also interchange 3 and 303

Link to LC-QuAD 2.0 Broken

Describe the bug
The README on the repository has a link to LCQUAD 2.0, http://lc-quad.sda.tech/. Using that link however does not seem to load.

Expected behaviour
Redirected to LCQUAD 2.0

Actual behaviour
I get a site unreachable error.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.