/// <summary>
 /// Removes the given ordered collection from the scheme
 /// </summary>
 public RDFSKOSConceptScheme RemoveOrderedCollection(RDFSKOSOrderedCollection orderedCollection)
 {
     if (orderedCollection != null)
     {
         if (this.OrderedCollections.ContainsKey(orderedCollection.PatternMemberID))
         {
             this.OrderedCollections.Remove(orderedCollection.PatternMemberID);
         }
     }
     return(this);
 }
 /// <summary>
 /// Adds the given ordered collection to the scheme
 /// </summary>
 public RDFSKOSConceptScheme AddOrderedCollection(RDFSKOSOrderedCollection orderedCollection)
 {
     if (orderedCollection != null)
     {
         if (!this.OrderedCollections.ContainsKey(orderedCollection.PatternMemberID))
         {
             this.OrderedCollections.Add(orderedCollection.PatternMemberID, orderedCollection);
             //Also add concepts of the ordered collection
             foreach (var cn in orderedCollection.Concepts.Values.OrderBy(x => x.Item1))
             {
                 this.AddConcept(cn.Item2);
             }
         }
     }
     return(this);
 }