awslabs / awslabs/decode-answer-logical-form

In GrailQA preprocess_SP, something wrong happen in revise_only_name() function

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
32
Forks
4
PR merge metrics
No merged PRs in 30d

Description

It seems that sparql_executor get_label function cannot find one of the query s_expression so
except urllib.error.URLError:
print(query)
#exit(0)
return None

I change the exit(0) to return None , Have you met the problem?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem in GrailQA preprocess_SP and trace revise_only_name() into sparql_executor.get_label(). Check the reported s_expression and the urllib.error.URLError path. Done means the failure is understood and the intended handling of an unresolved query is confirmed with a reproducible result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.