Ontologica: Exploiting ontologies and natural language for representing and querying railway management logics