Adding categories for entity, resource and link at query interface
output. fixes #110