Allow comparison between triple and tuple
Add support for indexing and iterating over queries