Semantic granularity in ontology-driven geographic information systems