26 PredicateVariable = 2,
31 SubjectPredicateVariables = 3,
41 SubjectObjectVariable = 5,
46 PredicateObjectVariable = 6,
51 SubjectPredicateObjectVariable = 7
86 this.SubjectIsVariable =
true;
87 this.SubjectVariable = VarRef.VariableName;
92 this.SubjectIsVariable =
true;
93 this.SubjectVariable = Node.ToString();
98 this.SubjectIsVariable =
false;
99 this.SubjectVariable =
null;
105 this.PredicateIsVariable =
true;
106 this.PredicateVariable = VarRef2.VariableName;
111 this.PredicateIsVariable =
true;
112 this.PredicateVariable = Node.ToString();
117 this.PredicateIsVariable =
false;
118 this.PredicateVariable =
null;
124 this.ObjectIsVariable =
true;
125 this.ObjectVariable = VarRef3.VariableName;
130 this.ObjectIsVariable =
true;
131 this.ObjectVariable = Node.ToString();
136 this.ObjectIsVariable =
false;
137 this.ObjectVariable =
null;
206 case 2:
return this.
Object;
207 default:
return null;
224 default:
return null;
231 StringBuilder sb =
new StringBuilder();
239 sb.Append(this.
Subject.ToString());
259 sb.Append(this.
Object.ToString());
261 return base.ToString();
Represents a variable reference.
string VariableName(int Index)
Gets a variable name, given the axis index: 0=Subject, 1=Predicate, 2=Object.
string PredicateVariable
Predicate element variable name, if any
bool ObjectIsVariable
If the Object element is a variable reference.
string ObjectVariable
Object element variable name, if any
ISemanticElement Object
Object element
ISemanticElement Predicate
Predicate element
bool PredicateIsVariable
If the Predicate element is a variable reference.
bool SubjectIsVariable
If the Subject element is a variable reference.
SemanticQueryTriple(ISemanticElement Subject, ISemanticElement Predicate, ISemanticElement Object)
Semantic query triple
override string ToString()
ISemanticElement Subject
Subject element
QueryTripleType Type
Type of triple
SemanticQueryTriple(ISemanticTriple Triple)
Semantic query triple
string SubjectVariable
Subject element variable name, if any
Semantic element based on script.
ScriptNode Node
Script definition.
Interface for semantic nodes.
Interface for semantic triples.
QueryTripleType
Type of query triple