public static RDFClassCollection CreateFromSparql(IEnumerable <SparqlResult> toAdd) { RDFClassCollection res = new RDFClassCollection(); res.PopulateFromSparql(toAdd); return(res); }
public void AddParent(RDFClass parent) { if (parents == null) { parents = new RDFClassCollection(); } parents.Add(parent); }
public void AddChild(RDFClass child) { if (children == null) { children = new RDFClassCollection(); } children.Add(child); }