Flexible Query Answering on Graph-modeled Data