fetching parent with LIKE statement

Signed-off-by: Andreas Zöllner <andi@go-for-fun.de>
support for relationship tables for faster lookup

Signed-off-by: Andreas Zöllner <andi@go-for-fun.de>