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

Unexpected (false?) positives for ?a <b>+ ?a #215

Open
streetmathematician opened this issue Nov 26, 2021 · 0 comments
Open

Unexpected (false?) positives for ?a <b>+ ?a #215

streetmathematician opened this issue Nov 26, 2021 · 0 comments

Comments

@streetmathematician
Copy link

Hi!

Sorry if I'm just being incredibly stupid, but I believe there might be a bug in the nightly snapshot of blazegraph, particularly the SPARQL query handling which returns different results, in some circumstances, for ?a <b>/<b>* ?a and ?a <b>+ ?a

Steps to reproduce:

  1. Launch:
java -server -jar blazegraph.jar
  1. Update (the default namespace):
INSERT DATA { <a> <b> <c>. <d> <b> <a>. }

Note that there are no cycles, just a path of length 2 connecting <d> to <c> via <a>.

  1. Query:
SELECT ?a WHERE { ?a <b>+ ?a. }

Actual Result: <a>, <c>.

Expected Result: 0 results.

The query

SELECT ?a WHERE { ?a <b>/<b>* ?a. }

returns the expected empty result set, but

SELECT ?a WHERE { ?a <b>* ?a. }

also returns <a> and <c>, but not <d>.

Fuseki returns the expected results for all queries.

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