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

Missing warning when using the MINUS operator #15

Open
daniel86 opened this issue Mar 11, 2024 · 0 comments
Open

Missing warning when using the MINUS operator #15

daniel86 opened this issue Mar 11, 2024 · 0 comments

Comments

@daniel86
Copy link

daniel86 commented Mar 11, 2024

Hi! I would like to use rasqal in a project, and there are some cases where I need negation. I know about the workaround using OPTIONAL and BOUND (which might be ok for the cases I consider where I know that the object field is unbound before entering the optional).

But first I just tried to use MINUS without being aware it is not supported. The parser supports it, so no syntax error is reported. But it seems then the algebra does not generate a warning here, which I think would be a good idea:

https://github.com/dajobe/rasqal/blob/master/src/rasqal_algebra.c#L1582

In general, it would be great if MINUS could be supported. Is it problematic to do so?

Here is a related ticket in the self-hosted bug tracker: https://bugs.librdf.org/mantis/view.php?id=514

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