コード例 #1
0
 /// <summary>
 /// Checks if the given aConcept has broader/broaderTransitive concept the given bConcept within the given scheme
 /// </summary>
 public static bool CheckHasBroaderConcept(this RDFSKOSConceptScheme conceptScheme,
                                           RDFSKOSConcept aConcept,
                                           RDFSKOSConcept bConcept)
 {
     return(aConcept != null && bConcept != null && conceptScheme != null ? conceptScheme.GetBroaderConceptsOf(aConcept).Concepts.ContainsKey(bConcept.PatternMemberID) : false);
 }