SAREF: the Smart Appliances REFerence ontology