コード例 #1
0
ファイル: QueryBucket.cs プロジェクト: AliHosny/weet-it
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="question">the question of the query bucket</param>
 public QueryBucket(string question,util.questionTypes type)
 {
     tokens = new List<LexiconToken>();
     questionLeft = question;
     uriToDo = new List<string>();
     uriUsed = new List<string>();
     questionType = type;
 }
コード例 #2
0
ファイル: questionAnswer.cs プロジェクト: AliHosny/weet-it
        public questionAnswer(util.questionTypes type)
        {
            questiontype = type;

            subjectList = new List<LexiconLiteral>();
            subjectUriList = new Dictionary<string,string>();
            subjectLabelList = new Dictionary<string,string>();

            predicateList = new List<LexiconPredicate>();
            predicateUriList = new Dictionary<string, string>();
            predicateLabelList = new Dictionary<string, string>();

            objectNodetList = new List<INode>();
            objectUriList = new List<string>();
            objectLabelList = new List<string>();
        }