}
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.allDataProperties) {
HashMap<String, Label> linkList = ontMgr.getDataProperties();
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.allDataAndObjectProperties) {
HashMap<String, Label> linkList = ontMgr.getDataProperties();
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));
}
HashMap<String, Label> objectLinkList = ontMgr.getObjectProperties();
for(Label label : objectLinkList.values()) {
if(!linkList.containsValue(label))
properties.add(new ObjectPropertyLink(label.getUri(), label, ObjectPropertyType.None));
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.propertiesWithDomainRange) {
Map<String, Label> linkList = ontMgr.getObjectPropertiesByDomainRange(domainURI, rangeURI, true);
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.dataPropertiesForClass) {
Map<String, Label> linkList = ontMgr.getDataPropertiesByDomain(classURI, true);
for(Label label : linkList.values()) {
properties.add(new DataPropertyLink(label.getUri(), label));
}
} else if(propertiesRange == INTERNAL_PROP_RANGE.existingProperties) {
Alignment alignment = AlignmentManager.Instance().getAlignmentOrCreateIt(workspace.getId(), worksheetId, ontMgr);
Set<String> steinerTreeNodeIds = new HashSet<String>();
if (alignment != null && !alignment.isEmpty()) {