-
Notifications
You must be signed in to change notification settings - Fork 70
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
Question about Bitmap Triples Iterator ZFOQ implementation #191
Comments
Wow, thank you for the quick and detailed reply, I will read through the slides! |
I was working on this index for #187 and I read the FOQ iterators yesterday, so it was fresh in my mind, good luck with your library ;) |
Yes, our index indeed pointed to the wrong layer. |
I was trying to understand why the Java version is so much faster than our Rust implementation in tests with a ?PO query and landed on the class
BitmapTriplesZFOQ
, which as far as I understand it uses less operations than in the paper "Exchange and Consumption of Huge RDF Data", however a Google search for "hdt zfoq" didn't return relevant results, so I tried to go through the code but I got stuck on the next() function, so I would appreciate if someone could help me understand it or if there is some written resource point me to that.The thing I don't understand is the line
long posY = adjIndex.get(posIndex);
. In our own code, we use the OP-S index to get posZ (the position in the object layer), and then use a rank query to get the position in the y-layer, which takes more time, so I would be really interested on how we can skip this step and get posY directly.The text was updated successfully, but these errors were encountered: