On the semantics of linking and importing in modular ontologies