Beispiel #1
0
        public override string GetPreferredLabel(string classNotation)
        {
            try
            {
                string[] res;

                res = this.LDGraph().ObjectOf(JelClassificationSystemClient.GetURI(AdaptClassNotation(classNotation)), JelClassificationSystemClient.GetPredicate(ClassificationPredicates.preferred_label));
                return(res[0].Substring(res[0].IndexOf("- ") + 2));
            }
            catch
            {
                return("");
            }
        }
        static public string AdaptClassNotation(ClassificationSystems classSystem, string classNotation)
        {
            switch (classSystem)
            {
            case ClassificationSystems.rvk:
                return(RvkClassificationSystemClient.AdaptClassNotation(classNotation));

            case ClassificationSystems.jel:
                return(JelClassificationSystemClient.AdaptClassNotation(classNotation));

            case ClassificationSystems.rq:
                return(RqClassificationSystemClient.AdaptClassNotation(classNotation));

            case ClassificationSystems.ddc:
                return(DdcClassificationSystemClient.AdaptClassNotation(classNotation));

            default:
                return(classNotation);
            }
        }