public SparqlPathSequence(SparqlPathTranslator sparqlPathTranslator, SparqlPathTranslator sparqlPathTranslator1) : base(null)
 {
     seq = new List <SparqlPathTranslator>()
     {
         sparqlPathTranslator, sparqlPathTranslator1
     };
 }
 public SparqlPathAlternative(SparqlPathTranslator p1, SparqlPathTranslator p2) : base(null)
 {
     alt = new List <SparqlPathTranslator>()
     {
         p1, p2
     };
 }
Beispiel #3
0
 public SparqlPathManyTriple(ObjectVariants subject, SparqlPathTranslator pred, ObjectVariants @object, RdfQuery11Translator q)
 {
     this.predicatePath = pred;
     Subject            = subject;
     Object             = @object;
     this.q             = q;
     sVariableNode      = Subject as VariableNode;
     oVariableNode      = Object as VariableNode;
 }
Beispiel #4
0
 internal virtual SparqlPathTranslator AddSeq(SparqlPathTranslator sparqlPathTranslator)
 {
     return(new SparqlPathSequence(this, sparqlPathTranslator));
 }
Beispiel #5
0
 internal virtual SparqlPathTranslator AddAlt(SparqlPathTranslator sparqlPathTranslator)
 {
     return(new SparqlPathAlternative(this, sparqlPathTranslator));
 }
 internal override SparqlPathTranslator AddAlt(SparqlPathTranslator sparqlPathTranslator)
 {
     alt.Add(sparqlPathTranslator);
     return(this);
 }
Beispiel #7
0
 public SparqlPathNotTranslator(SparqlPathTranslator path)
     : base(path.predicate)
 {
     // TODO: Complete member initialization
     alt.Add(path);
 }
 internal override SparqlPathTranslator AddSeq(SparqlPathTranslator sparqlPathTranslator)
 {
     seq.Add(sparqlPathTranslator);
     return(this);
 }
 public SparqlPathMaybeOne(SparqlPathTranslator path) : base(path.predicate)
 {
     this.path = path;
 }
Beispiel #10
0
 public SparqlPathZeroOrMany(SparqlPathTranslator path)
     : base(path.predicate)
 {
     this.path = path;
 }