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

Relation queries should produce identical results but don't #453

Open
jan-niestadt opened this issue Sep 27, 2023 · 0 comments
Open

Relation queries should produce identical results but don't #453

jan-niestadt opened this issue Sep 27, 2023 · 0 comments
Assignees
Labels
bug relations Related to relations search and/or parallel corpora
Milestone

Comments

@jan-niestadt
Copy link
Member

The following queries should have identical results:

n:_  -case-> v1:_; -case-> v2:_  :: start(v1) < start(n) & start(n) < start(v2)
n:_  -case-> v1:_; -case-> v2:_  :: start(v2) < start(n) & start(n) < start(v1)

However, the results differ. This is caused by the "deduplication" of matched relations, which says that if you return relations A and B as v1 and v2, you're not allowed to also return those same relations A and B as v2 and v1, as that would be the exact same set of relations, just with the names v1 and v2 swapped.

Maybe this deduplication can only be done after evaluating the condition.

@jan-niestadt jan-niestadt self-assigned this Sep 27, 2023
@jan-niestadt jan-niestadt added this to the Treebank-like search milestone Sep 27, 2023
@jan-niestadt jan-niestadt added the relations Related to relations search and/or parallel corpora label Oct 18, 2023
@jan-niestadt jan-niestadt modified the milestones: Parallel corpora, v4.0 Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug relations Related to relations search and/or parallel corpora
Projects
None yet
Development

No branches or pull requests

1 participant