public static bool IsXsdDatatype(this OntologyClass oClass) { if (oClass.IsNamed()) { return(oClass.GetUri().AbsoluteUri.StartsWith(XmlSpecsHelper.NamespaceXmlSchema, StringComparison.Ordinal)); } return(false); }
public static bool IsOwlThing(this OntologyClass oClass) { return(oClass.IsNamed() && oClass.GetUri().AbsoluteUri.Equals(OWL.Thing.AbsoluteUri)); }
public static bool IsRdfsLiteral(this OntologyClass oClass) { return(oClass.IsNamed() && oClass.GetUri().AbsoluteUri.Equals(VocabularyHelper.OWL.Thing.AbsoluteUri)); }