Skip to content

Error in Executing queries for LC-Quad #8

@Reham-Osama

Description

@Reham-Osama

I tried to run the System on Qald 9 dataset as specified in the Read.me file, and it worked correctly. Then I tried to run it on Lc-Quad with the following parameters "-d lc-quad -uc true" but for all questions I am getting empty Golden Answer and Predicted Answer.

This can be seen in the following example for question 5:

[DEBUG] Golden sparql: SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Joe_Pass http://dbpedia.org/ontology/associatedBand ?uri. http://dbpedia.org/resource/Dream_Dancing_(album) http://dbpedia.org/property/artist ?uri . }
[INFO] SparqlGenerator list: []
[INFO] Golden Answer: []
[INFO] Predicted Answer: []

But in the log that you provide here it show non-empty Golden answer and Predicted answer lists as shown:

[DEBUG] Golden sparql: SELECT DISTINCT ?uri WHERE { http://dbpedia.org/resource/Joe_Pass http://dbpedia.org/ontology/associatedBand ?uri. http://dbpedia.org/resource/Dream_Dancing_(album) http://dbpedia.org/property/artist ?uri . }
[INFO] SparqlGenerator list: [SELECT DISTINCT ?e0 WHERE { {?e0 http://dbpedia.org/ontology/associatedBand http://dbpedia.org/resource/Joe_Pass} UNION {http://dbpedia.org/resource/Joe_Pass http://dbpedia.org/ontology/associatedBand ?e0} . {?e0 http://dbpedia.org/property/artist http://dbpedia.org/resource/Dream_Dancing_(album)} UNION {http://dbpedia.org/resource/Dream_Dancing_(album) http://dbpedia.org/property/artist ?e0} . }, SELECT DISTINCT ?e0 WHERE { {?e0 http://dbpedia.org/ontology/associatedBand http://dbpedia.org/resource/Joe_Pass} UNION {http://dbpedia.org/resource/Joe_Pass http://dbpedia.org/ontology/associatedBand ?e0} . {?e0 http://dbpedia.org/ontology/artist http://dbpedia.org/resource/Dream_Dancing_(album)} UNION {http://dbpedia.org/resource/Dream_Dancing_(album) http://dbpedia.org/ontology/artist ?e0} . }]
[INFO] Golden Answer: [http://dbpedia.org/resource/Ella_Fitzgerald]
[INFO] Predicted Answer: [http://dbpedia.org/resource/Ella_Fitzgerald]

I ran the Golden SPARQL query against the Virtuoso endpoint to make sure that it is not the cause of the error, and it worked and returned the correct result, but during the running of the system, I get the explained output.

Would you please help me in solving this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions