Statistics for Semantic data access for relational databases using an ontology