I've implemented a lookup function for datahike that simply looks up an entity with a key matching a provided value, but this is not expansive. It would be preferable to have a function that can optionally accept more advanced conditionals. We should look into how this could be done.