generating windows definition from ontology