public DlName ToDL(string uri, ARS.EntityKind makeFor) { var owlName = new CogniPy.ARS.OwlName() { iri = IRI.create(uri) }; return(owlNameingConvention.ToDL(owlName, lex, ns2pfx, makeFor)); }
public static string entName(ARS.EntityKind kind) { switch (kind) { case EntityKind.Concept: return("C"); case EntityKind.Instance: return("I"); case EntityKind.Role: return("R"); case EntityKind.DataRole: return("D"); case EntityKind.DataType: return("T"); case EntityKind.Annotation: return("N"); case EntityKind.Statement: return("S"); } throw new InvalidOperationException(); }
public DlName ToDL(string uri, ARS.EntityKind makeFor) { return(owlNC.ToDL(uri, makeFor)); }
public string ToOwlName(string name, ARS.EntityKind whatFor) { return("<" + owlNC.getIRIFromId(name, whatFor).toString() + ">"); }