Exemple #1
0
 public SparqlSelectResultSet(
     HashSet <string> sparqlWhereVariables,
     bool isReduced        = false,
     bool isDistinct       = false,
     List <string> @select = null,
     Prologue qProlog      = null)
     : base(qProlog)
 {
     this.@select    = @select;
     this.isReduced  = isReduced;
     this.isDistinct = isDistinct;
     this.Variables  = sparqlWhereVariables;
 }
 public SparqlSelectQuery(
     ISparqlGraphPattern[] sparqlWhere,
     bool isReduced        = false,
     bool isDistinct       = false,
     List <string> @select = null,
     Prologue prolog       = null)
     : base(sparqlWhere)
 {
     this.SelectResultSet = new SparqlSelectResultSet(
         new HashSet <string>(sparqlWhere.SelectMany(pattern => pattern.Variables)),
         isReduced,
         isDistinct,
         @select,
         prolog);
 }
 public SparqlResultSet(Prologue prologue)
 {
     this.prologue = prologue;
 }