Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight problem when reusing variables #22

Open
yfaria opened this issue Oct 21, 2021 · 0 comments
Open

Highlight problem when reusing variables #22

yfaria opened this issue Oct 21, 2021 · 0 comments

Comments

@yfaria
Copy link
Contributor

yfaria commented Oct 21, 2021

The WQL query

_chase_v_1[arg2 z] 
_dog_n_1[arg0 z]

In particular, this query has an interpretation: we are basically searching for sentences where a dog is being chased.
Even though the SPARQL resulting from it makes sense and we get the right results, there is a highlighting problem.
.
In this case, it's easy to see that the match happened associating WQL's z variable with the MRS x3 variable, and the corresponding MRS variable is highlighted but only in the predication with _dog_n_1.

Actually, if we look at the SPARQL resulting query, we have

The problem is that we are selecting the SPARQL variable ?x5 two times and the second occurence was ignored on the output.

I should investigate whether this problem only occur with AllegroGraph or it's about SPARQL specification and how to solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant