コード例 #1
0
ファイル: Movie.cs プロジェクト: yarislavsky/OntologyProject
        public IEntity FillEntity(SparqlResult sResult)
        {
            Title   = sResult.GetValue("label").RemoveLanguageLabel();
            Link    = sResult.GetValue("film");
            Subject = sResult.GetValue("subject");

            Genre    = sResult.GetValue("genreName").RemoveLanguageLabel();
            DateTime = ConversionUtil.ConvertToDateTime(sResult.GetValue("date"));
            Director = sResult.GetValue("directorName").RemoveLanguageLabel();
            Writer   = sResult.GetValue("writerName").RemoveLanguageLabel();

            // TODO get img url from response
            ImgUrl = string.Empty;

            return(this);
        }