Inverse property path parsing bug

Description

We found a bug in property path parsing using inverse paths. I am not sure, but it might only occur when the inverse are adjacent, I wasn't able to get that far into the code to verify.

If I have this path:

The algebra ends up:

so you can see the path is broken between the seeAlso & currentId patterns, i think the subject of the seeAlso should be const-5-0.

If you break up the path:

The algebra is correct:

This is reproducible on Sesame 2.7.1, I'm on OSX 10.8.3 w/ Java 1.6.0_45.

The full (incorrect) query:

Environment

OSX 10.8.3 w/ Java 1.6.0_45.

Status

Assignee

Jeen Broekstra

Reporter

Michael Grove

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure