Beispiel #1
0
 /// <summary>
 /// Checks if the given aConcept has narrower/narrowerTransitive concept the given bConcept within the given scheme
 /// </summary>
 public static bool CheckHasNarrowerConcept(this RDFSKOSConceptScheme conceptScheme,
                                            RDFSKOSConcept aConcept,
                                            RDFSKOSConcept bConcept)
 {
     return(aConcept != null && bConcept != null && conceptScheme != null ? conceptScheme.GetNarrowerConceptsOf(aConcept).Concepts.ContainsKey(bConcept.PatternMemberID) : false);
 }