/// <summary> /// Checks if the given aConcept has related concept the given bConcept within the given scheme /// </summary> public static bool CheckHasRelatedConcept(this RDFSKOSConceptScheme data, RDFSKOSConcept aConcept, RDFSKOSConcept bConcept) { return(aConcept != null && bConcept != null && data != null ? data.GetRelatedConceptsOf(aConcept).Concepts.ContainsKey(bConcept.PatternMemberID) : false); }