public interface ISparqlRequestGroup extends IndentableElement, ExpressionTypes, DistanceUnits
LABEL, SUBCLASS_OF, SUBCLASS_OF_STAR, TYPE, TYPE_SUBCLASS_OFDISTANCE_FT, DISTANCE_KM, DISTANCE_M, DISTANCE_NM| Modifier and Type | Method and Description |
|---|---|
boolean |
addAdditionalVariable(java.lang.String varName)
Add an additional variable in the query.
|
boolean |
addAdditionalVariable(Variable var)
Add an additional variable in the query.
|
AskForm |
addAsk()
Add an ASK form.
|
default java.lang.String |
addAutoVariable()
Add an additional variable in the query with a name chosen automatically.
|
java.lang.String |
addAutoVariable(java.lang.String radix)
Add an additional variable in the query with a name chosen automatically.
|
Bind |
addBind()
Add a bind.
|
Bind |
addBind(java.lang.String var)
Add a bind.
|
Coalesce |
addCoalesce()
Add a coalesce.
|
DeleteForm |
addDelete()
Add a DELETE form.
|
boolean |
addDistance(java.lang.String var,
java.lang.String fromVar,
java.lang.String varDist,
short unit,
boolean isExact)
Add a distance property reference declaration in the WHERE part of the request.
|
Filter |
addFilter()
Add a FILTER clause.
|
boolean |
addGeometry(java.lang.String var,
java.lang.String varLat,
java.lang.String varLon,
boolean isExact)
Add a geometry declaration in the WHERE part of the request.
|
Filter |
addHaving()
Add a HAVING clause.
|
InsertForm |
addInsert()
Add an INSERT form.
|
InsertForm |
addInsertData()
Add an INSERT DATA form.
|
boolean |
addIRI(IRI iri)
Add an IRI.
|
default OperationResult<WhereExpression> |
addLabel(java.lang.String var,
java.lang.String type)
Add a rdfs:label matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addLabel(java.lang.String var,
TripleElement element)
Add a rdfs:label matching declaration in the WHERE part of the request.
|
default OperationResult<GraphPattern> |
addProperty(TripleElement object,
TripleElement property,
TripleElement target)
Add an object property reference declaration in the OPTIONAL construct.
|
OperationResult<GraphPattern> |
addProperty(TripleElement object,
TripleElement property,
TripleElement target,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
default OperationResult<? extends SparqlElement> |
addPropertyIndividualRef(java.lang.String var,
java.lang.String propertyName,
java.lang.String individual)
Add an object property individual declaration in the WHERE part of the request.
|
default OperationResult<? extends SparqlElement> |
addPropertyIndividualRef(java.lang.String var,
TripleElement type,
java.lang.String individual)
Add an object property individual declaration in the WHERE part of the request.
|
OperationResult<? extends SparqlElement> |
addPropertyIndividualRef(java.lang.String var,
TripleElement type,
java.lang.String individual,
boolean optional)
Add an object property individual declaration in the WHERE part of the request.
|
default OperationResult<PropertyRef> |
addPropertyRef(java.lang.String var,
PrefixedName propertyName,
java.lang.String varRef)
Add an object property reference declaration in the OPTIONAL construct.
|
default OperationResult<PropertyRef> |
addPropertyRef(java.lang.String var,
java.lang.String propertyName,
java.lang.String varRef)
Add an object property reference declaration in the OPTIONAL construct.
|
default OperationResult<PropertyRef> |
addPropertyRef(java.lang.String var,
java.lang.String propertyName,
java.lang.String varRef,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
default OperationResult<PropertyRef> |
addPropertyRef(java.lang.String var,
TripleElement type,
java.lang.String varRef)
Add an object property reference declaration in the OPTIONAL construct.
|
OperationResult<PropertyRef> |
addPropertyRef(java.lang.String var,
TripleElement type,
java.lang.String varRef,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
default OperationResult<PropertyRef> |
addPropertyRef(java.lang.String var,
TripleElement type,
VariableOrIRI varOrIRIRef,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
OperationResult<PropertyRef> |
addPropertyRef(VariableOrIRI varOrIRI,
TripleElement type,
VariableOrIRI varOrIRIRef,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
default OperationResult<? extends SparqlElement> |
addPropertyValue(java.lang.String var,
PrefixedName propertyName,
java.lang.Object propertyValue)
Add a property value declaration in the OPTIONAL construct.
|
default OperationResult<? extends SparqlElement> |
addPropertyValue(java.lang.String var,
java.lang.String propertyName,
java.lang.Object propertyValue)
Add a property value declaration in the OPTIONAL construct.
|
default OperationResult<? extends SparqlElement> |
addPropertyValue(java.lang.String var,
java.lang.String propertyName,
java.lang.Object propertyValue,
boolean optional)
Add a property value declaration in the WHERE part of the request.
|
default OperationResult<? extends SparqlElement> |
addPropertyValue(java.lang.String var,
TripleElement type,
java.lang.Object propertyValue)
Add a property value declaration in the OPTIONAL construct.
|
OperationResult<? extends SparqlElement> |
addPropertyValue(java.lang.String var,
TripleElement type,
java.lang.Object propertyValue,
boolean optional)
Add a property value declaration in the WHERE part of the request.
|
default OperationResult<Property> |
addPropertyValues(java.lang.String var,
java.util.List<? extends java.lang.Object> values)
Add a property value declaration in the WHERE part of the request, for several values.
|
default OperationResult<Property> |
addPropertyValues(java.lang.String var,
java.lang.String propertyName,
java.util.List<? extends java.lang.Object> values)
Add a property value declaration in the WHERE part of the request, for several values.
|
default OperationResult<Property> |
addPropertyValues(java.lang.String var,
java.lang.String propertyName,
java.util.List<? extends java.lang.Object> values,
boolean optional)
Add a property value declaration in the WHERE part of the request, for several values.
|
OperationResult<Property> |
addPropertyValues(java.lang.String var,
TripleElement type,
java.util.List<? extends java.lang.Object> values,
boolean optional)
Add a property value declaration in the WHERE part of the request, for several values.
|
default OperationResult<WhereExpression> |
addSubClassOf(java.lang.String var,
java.lang.String type)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addSubClassOf(java.lang.String var,
TripleElement type)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addSubClassOfStar(java.lang.String var,
java.lang.String type)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addSubClassOfStar(java.lang.String var,
TripleElement type)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
boolean |
addTime(java.lang.String var,
java.lang.String varTime,
boolean isDateTime)
Add a time declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addType(java.lang.String var,
short exprKind,
java.lang.String type)
Add a matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addType(java.lang.String var,
short exprKind,
TripleElement type)
Add a matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addType(java.lang.String var,
java.lang.String type)
Add a rdf:type matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addType(java.lang.String var,
TripleElement type)
Add a rdf:type matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addType(VariableOrIRI varOrIRI,
TripleElement type)
Add a rdf:type matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addTypeSubClassOf(java.lang.String var,
java.lang.String type)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addTypeSubClassOf(java.lang.String var,
TripleElement type)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
boolean |
addVariable(Variable var)
Add a variable.
|
boolean |
addVariableOrIRI(VariableOrIRI varOrIRI)
Add a variable or IRI.
|
default OperationResult<WhereExpression> |
addVariableSubClassOf(java.lang.String var,
java.lang.String typeVar)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addVariableSubClassOf(java.lang.String var,
TripleElement typeVar)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addVariableSubClassOfStar(java.lang.String var,
java.lang.String typeVar)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addVariableSubClassOfStar(java.lang.String var,
TripleElement typeVar)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addVariableType(java.lang.String var,
short exprKind,
java.lang.String typeVar)
Add a matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addVariableType(java.lang.String var,
short exprKind,
TripleElement typeVar)
Add a matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addVariableType(java.lang.String var,
java.lang.String typeVar)
Add a rdf:type matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addVariableType(java.lang.String var,
TripleElement element)
Add a rdf:type matching declaration in the WHERE part of the request.
|
default OperationResult<WhereExpression> |
addVariableTypeSubClassOf(java.lang.String var,
java.lang.String typeVar)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
OperationResult<WhereExpression> |
addVariableTypeSubClassOf(java.lang.String var,
TripleElement typeVar)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
boolean |
checkVariableExistence(java.lang.String var)
Check the existence of a variable.
|
Variable |
createAdditionalVariable(java.lang.String name)
Create an additional variable with a specified name.
|
IRI |
createIRI(java.lang.String name)
Create an IRI with a specified name.
|
Variable |
createVariable(java.lang.String name)
Create a variable with a specified name.
|
java.util.Map<java.lang.String,Variable> |
getAdditionalVars()
Return the additional variables.
|
default java.util.Map<java.lang.String,Variable> |
getAllVariables()
Return the map of all variables. it includes both variables in the SELECT part and the other variables.
|
AskForm |
getAskForm()
Return the ASK form.
|
java.util.List<Bind> |
getBinds()
Return the bindings.
|
java.util.List<Coalesce> |
getCoalesces()
Return the coalesce expressions.
|
java.lang.String |
getDefaultPrefix()
Return the prefix.
|
java.util.List<DeleteForm> |
getDeleteForms()
Return the DELETE forms.
|
java.util.Map<java.lang.String,SparqlDistance> |
getDistances()
Return the geosparql distances.
|
WhereForm |
getEffectiveWhereForm()
Return the effective WHERE form.
|
java.util.List<Filter> |
getFilters()
Return the filters.
|
java.util.Map<java.lang.String,SparqlGeometry> |
getGeometries()
Return the geosparql geometries.
|
java.util.List<GraphPattern> |
getGraphPatterns()
Return the graph patterns.
|
java.util.List<InsertForm> |
getInsertForms()
Return the INSERT forms.
|
IRI |
getIRI(java.lang.String name)
Return the IRI with a specified name.
|
java.util.Map<java.lang.String,IRI> |
getIRIs()
Return the map of IRIs.
|
int |
getOffset()
Return the OFFSET of the number of results.
|
java.util.List<SparqlRequestGroup> |
getOptionals()
Return the list of optional groups in this request.
|
java.util.Map<java.lang.String,SparqlTime> |
getOwlTimes()
Return the owl-time expressions.
|
java.lang.String |
getPrefix(Property property)
Return the prefix of a property.
|
java.lang.String |
getPrefix(PropertyRef property)
Return the prefix of a property reference.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Individual>> |
getPropertyIndRefs()
Return the property individual references.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Set<PropertyRef>>> |
getPropertyRefs()
Return the property references.
|
java.util.Map<java.lang.String,java.util.List<Property>> |
getPropertyValues()
Return the property values.
|
SparqlRequest |
getRootRequest()
Return the top level request.
|
SelectForm |
getSelectForm()
Return the SELECT form.
|
java.util.List<SelectItem> |
getSelectList()
Return the list of SELECT items.
|
java.util.Map<java.lang.String,SelectItem> |
getSelectMap()
Return the map of SELECT items.
|
java.util.List<Union> |
getUnions()
Return the list of unions in this request.
|
Variable |
getVariable(java.lang.String name)
Return the variable with a specified name.
|
VariableOrIRI |
getVariableOrIRI(java.lang.String name)
Return the variable or IRI with a specified name.
|
java.util.Map<java.lang.String,Variable> |
getVariables()
Return the map of variables.
|
java.util.Iterator<Variable> |
getVariablesIterator()
Return an iterator on the variables.
|
java.util.Iterator<VariableOrIRI> |
getVariablesOrIRIIterator()
Return an iterator on the variables and IRIs.
|
char |
getVariableType(java.lang.String name)
Return the type of a variable.
|
java.util.List<WhereExpression> |
getWhereExpressions()
Return the where expressions in the request.
|
WhereForm |
getWhereForm()
Return the WHERE form.
|
boolean |
hasAdditionalVariable(java.lang.String var)
Return true if there is an additional variable with a specified name.
|
boolean |
hasAskForm()
Return true if there is an ASK form.
|
default boolean |
hasDeleteForms()
Return true if there are DELETE forms.
|
default boolean |
hasFilters()
Return true if there are FILTER and HAVING clauses.
|
default boolean |
hasInsertForms()
Return true if there are INSERT forms.
|
boolean |
hasIRI(java.lang.String name)
Return true if there is an IRI with a specified name.
|
boolean |
hasSelectVariable(java.lang.String var)
Return true if the SELECT part of the request has a specified variable.
|
boolean |
hasUnions()
Return true if there are unions in this request.
|
boolean |
hasVariable(java.lang.String name)
Return true if there is a variable with a specified name.
|
boolean |
hasVariableOrIRI(java.lang.String name)
Return true if there is variable or IRI with a specified name.
|
boolean |
isCheckingVariablesExistence()
Return true if the variables existence if checked during the creation of the request.
|
default boolean |
isFlat()
Return true if the group is flat.
|
boolean |
isLoggingErrors()
Return true if errors should be logged.
|
boolean |
isSelectAll()
Return true if the request is a SELECT ALL (*).
|
default SelectItem |
removeSelect(java.lang.String varName)
Remove a SELECT item.
|
void |
resetSPARQLResult()
Reset the SPARQL result used in serialization.
|
getLevel, indent, indentMore, indentParentdefault boolean isFlat()
SparqlRequest getRootRequest()
boolean addVariable(Variable var)
var - the variableboolean addAdditionalVariable(java.lang.String varName)
varName - the variable nameboolean addAdditionalVariable(Variable var)
var - the variablejava.util.List<WhereExpression> getWhereExpressions()
Variable createVariable(java.lang.String name)
name - the variable nameVariable createAdditionalVariable(java.lang.String name)
name - the variable nameVariable getVariable(java.lang.String name)
name - the variable namechar getVariableType(java.lang.String name)
name - the variable nameVariableTypeboolean hasVariable(java.lang.String name)
name - the variable namejava.util.Map<java.lang.String,Variable> getVariables()
default java.util.Map<java.lang.String,Variable> getAllVariables()
getVariables(),
getAdditionalVars()java.util.Iterator<Variable> getVariablesIterator()
java.util.Iterator<VariableOrIRI> getVariablesOrIRIIterator()
boolean addIRI(IRI iri)
iri - the IRIIRI createIRI(java.lang.String name)
name - the IRI nameIRI getIRI(java.lang.String name)
name - the IRI nameboolean hasIRI(java.lang.String name)
name - the IRI namejava.util.Map<java.lang.String,IRI> getIRIs()
VariableOrIRI getVariableOrIRI(java.lang.String name)
name - the variable or IRI nameboolean hasVariableOrIRI(java.lang.String name)
name - the variable or IRI nameboolean addVariableOrIRI(VariableOrIRI varOrIRI)
varOrIRI - the variable or IRIboolean isSelectAll()
boolean hasSelectVariable(java.lang.String var)
var - the variable nameboolean hasAdditionalVariable(java.lang.String var)
var - the variable namejava.util.List<DeleteForm> getDeleteForms()
default boolean hasDeleteForms()
DeleteForm addDelete()
java.util.List<InsertForm> getInsertForms()
default boolean hasInsertForms()
InsertForm addInsert()
AskForm getAskForm()
boolean hasAskForm()
AskForm addAsk()
InsertForm addInsertData()
SelectForm getSelectForm()
WhereForm getWhereForm()
default boolean hasFilters()
WhereForm getEffectiveWhereForm()
boolean isCheckingVariablesExistence()
default java.lang.String addAutoVariable()
java.lang.String addAutoVariable(java.lang.String radix)
radix - the variable radixjava.util.Map<java.lang.String,java.util.List<Property>> getPropertyValues()
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Set<PropertyRef>>> getPropertyRefs()
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Individual>> getPropertyIndRefs()
java.util.List<GraphPattern> getGraphPatterns()
java.util.Map<java.lang.String,SparqlDistance> getDistances()
java.util.Map<java.lang.String,SparqlGeometry> getGeometries()
java.util.List<Filter> getFilters()
java.util.List<Bind> getBinds()
java.util.List<Coalesce> getCoalesces()
java.util.Map<java.lang.String,SparqlTime> getOwlTimes()
boolean addGeometry(java.lang.String var,
java.lang.String varLat,
java.lang.String varLon,
boolean isExact)
var - the variable namevarLat - the latitude variable namevarLon - the longitude variable nameisExact - the name for an exact geometryboolean addTime(java.lang.String var,
java.lang.String varTime,
boolean isDateTime)
var - the variable namevarTime - the time variable nameisDateTime - true for a dateTime propertyboolean addDistance(java.lang.String var,
java.lang.String fromVar,
java.lang.String varDist,
short unit,
boolean isExact)
var - the variable namefromVar - the other elment variable namevarDist - the distance variable nameunit - the unitisExact - the name for an exact geometryOperationResult<GraphPattern> addProperty(TripleElement object, TripleElement property, TripleElement target, boolean optional)
object - the objectproperty - the propertytarget - the targetoptional - true for an optional patterndefault OperationResult<GraphPattern> addProperty(TripleElement object, TripleElement property, TripleElement target)
object - the objectproperty - the propertytarget - the targetdefault OperationResult<? extends SparqlElement> addPropertyIndividualRef(java.lang.String var, java.lang.String propertyName, java.lang.String individual)
var - the variable namepropertyName - the property nameindividual - the individual namedefault OperationResult<? extends SparqlElement> addPropertyIndividualRef(java.lang.String var, TripleElement type, java.lang.String individual)
var - the variable nametype - the propertyindividual - the individual nameOperationResult<? extends SparqlElement> addPropertyIndividualRef(java.lang.String var, TripleElement type, java.lang.String individual, boolean optional)
var - the variable nametype - the propertyindividual - the individual nameoptional - true for an optional patterndefault OperationResult<PropertyRef> addPropertyRef(java.lang.String var, TripleElement type, java.lang.String varRef)
var - the variable nametype - the propertyvarRef - the variable to use for the referenceOperationResult<PropertyRef> addPropertyRef(java.lang.String var, TripleElement type, java.lang.String varRef, boolean optional)
var - the variable nametype - the propertyvarRef - the variable to use for the referenceoptional - true for an optional propertyOperationResult<PropertyRef> addPropertyRef(VariableOrIRI varOrIRI, TripleElement type, VariableOrIRI varOrIRIRef, boolean optional)
varOrIRI - the variable or IRItype - the propertyvarOrIRIRef - the variable or IRI to use for the referenceoptional - true for an optional propertydefault OperationResult<PropertyRef> addPropertyRef(java.lang.String var, TripleElement type, VariableOrIRI varOrIRIRef, boolean optional)
var - the variable nametype - the propertyvarOrIRIRef - the variable or IRI to use for the referenceoptional - true for an optional propertydefault OperationResult<PropertyRef> addPropertyRef(java.lang.String var, PrefixedName propertyName, java.lang.String varRef)
var - the variable namepropertyName - the property namevarRef - the variable to use for the referencedefault OperationResult<PropertyRef> addPropertyRef(java.lang.String var, java.lang.String propertyName, java.lang.String varRef)
var - the variable namepropertyName - the property namevarRef - the variable to use for the referencedefault OperationResult<PropertyRef> addPropertyRef(java.lang.String var, java.lang.String propertyName, java.lang.String varRef, boolean optional)
var - the variable namepropertyName - the property namevarRef - the variable to use for the referenceoptional - true for an optional propertydefault OperationResult<? extends SparqlElement> addPropertyValue(java.lang.String var, PrefixedName propertyName, java.lang.Object propertyValue)
var - the variable namepropertyName - the property namepropertyValue - the property valuedefault OperationResult<? extends SparqlElement> addPropertyValue(java.lang.String var, java.lang.String propertyName, java.lang.Object propertyValue)
var - the variable namepropertyName - the property namepropertyValue - the property valuedefault OperationResult<? extends SparqlElement> addPropertyValue(java.lang.String var, TripleElement type, java.lang.Object propertyValue)
var - the variable nametype - the propertypropertyValue - the property valueOperationResult<? extends SparqlElement> addPropertyValue(java.lang.String var, TripleElement type, java.lang.Object propertyValue, boolean optional)
var - the variable nametype - the propertypropertyValue - the property valueoptional - true for an optional patterndefault OperationResult<? extends SparqlElement> addPropertyValue(java.lang.String var, java.lang.String propertyName, java.lang.Object propertyValue, boolean optional)
var - the variable namepropertyName - the property namepropertyValue - the property valueoptional - true for an optional constructdefault OperationResult<Property> addPropertyValues(java.lang.String var, java.lang.String propertyName, java.util.List<? extends java.lang.Object> values)
var - the variable namepropertyName - the property namevalues - the property valuesdefault OperationResult<Property> addPropertyValues(java.lang.String var, java.lang.String propertyName, java.util.List<? extends java.lang.Object> values, boolean optional)
var - the variable namepropertyName - the property namevalues - the property valuesoptional - true for an optional constructdefault OperationResult<Property> addPropertyValues(java.lang.String var, java.util.List<? extends java.lang.Object> values)
var - the variable namevalues - the property valuesOperationResult<Property> addPropertyValues(java.lang.String var, TripleElement type, java.util.List<? extends java.lang.Object> values, boolean optional)
var - the variable nametype - the propertyvalues - the property valuesoptional - true for an optional patterndefault OperationResult<WhereExpression> addSubClassOf(java.lang.String var, java.lang.String type)
var - the variable nametype - the typeOperationResult<WhereExpression> addSubClassOf(java.lang.String var, TripleElement type)
var - the variable nametype - the typeOperationResult<WhereExpression> addLabel(java.lang.String var, TripleElement element)
var - the variable nameelement - the elementdefault OperationResult<WhereExpression> addLabel(java.lang.String var, java.lang.String type)
var - the variable nametype - the typedefault OperationResult<WhereExpression> addSubClassOfStar(java.lang.String var, java.lang.String type)
var - the variable nametype - the typeOperationResult<WhereExpression> addSubClassOfStar(java.lang.String var, TripleElement type)
var - the variable nametype - the typedefault OperationResult<WhereExpression> addTypeSubClassOf(java.lang.String var, java.lang.String type)
var - the variable nametype - the typeOperationResult<WhereExpression> addTypeSubClassOf(java.lang.String var, TripleElement type)
var - the variable nametype - the typedefault OperationResult<WhereExpression> addType(java.lang.String var, short exprKind, java.lang.String type)
ExpressionTypes.TYPE: a rdf:type expressionExpressionTypes.SUBCLASS_OF: a rdfs:subClassOf expressionExpressionTypes.SUBCLASS_OF_STAR: a rdfs:subClassOf* expressionExpressionTypes.TYPE_SUBCLASS_OF: a rrdf:type/rdfs:subClassOf expressionvar - the variable nameexprKind - the expression kindtype - the typeOperationResult<WhereExpression> addType(java.lang.String var, short exprKind, TripleElement type)
ExpressionTypes.TYPE: a rdf:type expressionExpressionTypes.SUBCLASS_OF: a rdfs:subClassOf expressionExpressionTypes.SUBCLASS_OF_STAR: a rdfs:subClassOf* expressionExpressionTypes.TYPE_SUBCLASS_OF: a rrdf:type/rdfs:subClassOf expressionvar - the variable nameexprKind - the expression kindtype - the typedefault OperationResult<WhereExpression> addType(java.lang.String var, java.lang.String type)
var - the variable nametype - the typeOperationResult<WhereExpression> addType(java.lang.String var, TripleElement type)
var - the variable nametype - the typeOperationResult<WhereExpression> addType(VariableOrIRI varOrIRI, TripleElement type)
varOrIRI - the variable or IRItype - the typedefault OperationResult<WhereExpression> addVariableSubClassOf(java.lang.String var, java.lang.String typeVar)
var - the variable nametypeVar - the type variableOperationResult<WhereExpression> addVariableSubClassOf(java.lang.String var, TripleElement typeVar)
var - the variable nametypeVar - the type variabledefault OperationResult<WhereExpression> addVariableSubClassOfStar(java.lang.String var, java.lang.String typeVar)
var - the variable nametypeVar - the type variableOperationResult<WhereExpression> addVariableSubClassOfStar(java.lang.String var, TripleElement typeVar)
var - the variable nametypeVar - the type variabledefault OperationResult<WhereExpression> addVariableTypeSubClassOf(java.lang.String var, java.lang.String typeVar)
var - the variable nametypeVar - the type variableOperationResult<WhereExpression> addVariableTypeSubClassOf(java.lang.String var, TripleElement typeVar)
var - the variable nametypeVar - the type variabledefault OperationResult<WhereExpression> addVariableType(java.lang.String var, short exprKind, java.lang.String typeVar)
ExpressionTypes.TYPE: a rdf:type expressionExpressionTypes.SUBCLASS_OF: a rdfs:subClassOf expressionExpressionTypes.SUBCLASS_OF_STAR: a rdfs:subClassOf* expressionExpressionTypes.SUBCLASS_OF_STAR: a rdf:type/rdfs:subClassOf expressionvar - the variable nameexprKind - the expression kindtypeVar - the type variableOperationResult<WhereExpression> addVariableType(java.lang.String var, short exprKind, TripleElement typeVar)
ExpressionTypes.TYPE: a rdf:type expressionExpressionTypes.SUBCLASS_OF: a rdfs:subClassOf expressionExpressionTypes.SUBCLASS_OF_STAR: a rdfs:subClassOf* expressionExpressionTypes.SUBCLASS_OF_STAR: a rdf:type/rdfs:subClassOf expressionvar - the variable nameexprKind - the expression kindtypeVar - the type variabledefault OperationResult<WhereExpression> addVariableType(java.lang.String var, java.lang.String typeVar)
var - the variable nametypeVar - the type variableOperationResult<WhereExpression> addVariableType(java.lang.String var, TripleElement element)
var - the variable nameelement - the triple elementboolean checkVariableExistence(java.lang.String var)
var - the variableboolean isLoggingErrors()
java.util.Map<java.lang.String,Variable> getAdditionalVars()
java.util.List<SparqlRequestGroup> getOptionals()
java.util.Map<java.lang.String,SelectItem> getSelectMap()
default SelectItem removeSelect(java.lang.String varName)
varName - the variable namejava.util.List<SelectItem> getSelectList()
java.util.List<Union> getUnions()
boolean hasUnions()
Filter addFilter()
Filter addHaving()
Bind addBind()
Bind addBind(java.lang.String var)
var - the variableCoalesce addCoalesce()
int getOffset()
java.lang.String getPrefix(Property property)
property - the propertyjava.lang.String getPrefix(PropertyRef property)
property - the property referencejava.lang.String getDefaultPrefix()
void resetSPARQLResult()
Copyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence