public static IEnumerable <OntologyProperty> IsExhaustiveDomainOfUniques(this OntologyClass oClass) { IEnumerable <OntologyProperty> allProperties = oClass.IsExhaustiveDomainOf(); IEnumerable <OntologyProperty> allUniqueProperties = allProperties.GroupBy(property => property.GetIri().ToString()).Select(group => group.First()); return(allUniqueProperties); }