An ontology – based contextual approach for cross-domain applications in Internet of Things