25 PredicateVariable = 2,
30 SubjectPredicateVariables = 3,
40 SubjectObjectVariable = 5,
45 PredicateObjectVariable = 6,
50 SubjectPredicateObjectVariable = 7
85 this.SubjectIsVariable =
true;
86 this.SubjectVariable = VarRef.VariableName;
91 this.SubjectIsVariable =
false;
92 this.SubjectVariable =
null;
98 this.PredicateIsVariable =
true;
99 this.PredicateVariable = VarRef2.VariableName;
104 this.PredicateIsVariable =
false;
105 this.PredicateVariable =
null;
111 this.ObjectIsVariable =
true;
112 this.ObjectVariable = VarRef3.VariableName;
117 this.ObjectIsVariable =
false;
118 this.ObjectVariable =
null;
187 case 2:
return this.
Object;
188 default:
return null;
205 default:
return null;
212 StringBuilder sb =
new StringBuilder();
220 sb.Append(this.
Subject.ToString());
240 sb.Append(this.
Object.ToString());
242 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