Пример #1
0
 public SparqlNotExistsExpression(ISparqlGraphPattern sparqlGraphPattern)
     : base(sparqlGraphPattern)
 {
     // TODO: Complete member initialization
     //this.sparqlGraphPattern = sparqlGraphPattern;
     Operator = variableBinding => !sparqlGraphPattern.Run(Enumerable.Repeat(variableBinding, 1)).Any();
 }
Пример #2
0
 public void ReadXml(XmlReader reader)
 {
     @where = (ISparqlGraphPattern)Query.SparqlQuery.CreateByTypeAttribute(reader);
     with   = (ObjectVariants)Query.SparqlQuery.CreateByTypeAttribute(reader);
     insert = (SparqlQuadsPattern)Query.SparqlQuery.CreateByTypeAttribute(reader);
     delete = (SparqlQuadsPattern)Query.SparqlQuery.CreateByTypeAttribute(reader);
 }
Пример #3
0
        //private SparqlGraphPattern sparqlGraphPattern;

        public SparqlExistsExpression(ISparqlGraphPattern sparqlGraphPattern)   : base(VariableDependenceGroupLevel.SimpleVariable, true)
        {
            // TODO: Complete member initialization
            //this.sparqlGraphPattern = sparqlGraphPattern;
            //SetExprType(ObjectVariantEnum.Bool);
            Operator      = variableBinding => sparqlGraphPattern.Run(Enumerable.Repeat(variableBinding, 1)).Any();
            TypedOperator = variableBinding => new OV_bool(Operator(variableBinding));
        }
Пример #4
0
 public SparqlSubSelect(ISparqlGraphPattern sparqlWhere, SparqlSolutionModifier sparqlSolutionModifier, ISparqlGraphPattern sparqlValueDataBlock, RdfQuery11Translator q)
     : base(q)
 {
     // TODO: Complete member initialization
     this.sparqlWhere            = sparqlWhere;
     this.sparqlSolutionModifier = sparqlSolutionModifier;
     this.valueDataBlock         = sparqlValueDataBlock;
     //   this.sparqlValueDataBlock = sparqlValueDataBlock;
 }
Пример #5
0
 public virtual void ReadXml(XmlReader reader)
 {
     this.sparqlWhere            = (ISparqlGraphPattern)CreateByTypeAttribute(reader);
     this.SparqlSolutionModifier = new SparqlSolutionModifier();
     SparqlSolutionModifier.ReadXml(reader);
     if (reader.IsStartElement("inlineOneVariable") || reader.IsStartElement("inline"))
     {
         this.valueDataBlock = (ISparqlGraphPattern)CreateByTypeAttribute(reader);
     }
 }
 public void ReadXml(XmlReader reader)
 {
     this.sparqlGraphPattern = (ISparqlGraphPattern)Query.SparqlQuery.CreateByTypeAttribute(reader);
 }
 public SparqlOptionalGraphPattern(ISparqlGraphPattern sparqlGraphPattern)
 {
     // TODO: Complete member initialization
     this.sparqlGraphPattern = sparqlGraphPattern;
 }
Пример #8
0
 internal void SetWhere(ISparqlGraphPattern sparqlGraphPattern)
 {
     @where = sparqlGraphPattern;
 }
 internal void Create(ISparqlGraphPattern sparqlWhere)
 {
     this.sparqlWhere = sparqlWhere;
 }
Пример #10
0
 public void Create(ISparqlGraphPattern sparqlWhere, SparqlSolutionModifier sparqlSolutionModifier1)
 {
     this.sparqlWhere            = sparqlWhere;
     this.SparqlSolutionModifier = sparqlSolutionModifier1;
 }
Пример #11
0
        // public SparqlQueryTypeEnum Type { get; set; }

        /*
         *      public abstract SparqlQueryTypeEnum QueryType { get; }
         */
        internal void SetValues(ISparqlGraphPattern valueDataBlock)
        {
            this.valueDataBlock = valueDataBlock;
        }
Пример #12
0
 public SparqlUnionGraphPattern(ISparqlGraphPattern sparqlGraphPattern)
 {
     // TODO: Complete member initialization
     this.Add(sparqlGraphPattern);
 }
Пример #13
0
 public SparqlMinusGraphPattern(ISparqlGraphPattern sparqlGraphPattern, RdfQuery11Translator q)
 {
     // TODO: Complete member initialization
     this.sparqlGraphPattern = sparqlGraphPattern;
     this.q = q;
 }
Пример #14
0
 internal void Create(SparqlGraphPattern sparqlTriples, ISparqlGraphPattern sparqlWhere, SparqlSolutionModifier sparqlSolutionModifier)
 {
     constract                   = sparqlTriples;
     this.sparqlWhere            = sparqlWhere;
     this.sparqlSolutionModifier = sparqlSolutionModifier;
 }