public interface ISparqlRequestGroup extends 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 |
|---|---|
java.lang.String |
addAutoVariable()
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() |
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.
|
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.
|
InsertForm |
addInsert() |
InsertForm |
addInsertData() |
default boolean |
addLabel(java.lang.String var,
java.lang.String type)
Add a rdfs:label matching declaration in the WHERE part of the request.
|
boolean |
addLabel(java.lang.String var,
TripleElement element)
Add a rdfs:label matching declaration in the WHERE part of the request.
|
default boolean |
addProperty(TripleElement object,
TripleElement property,
TripleElement target)
Add an object property reference declaration in the OPTIONAL construct.
|
boolean |
addProperty(TripleElement object,
TripleElement property,
TripleElement target,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
default boolean |
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 boolean |
addPropertyIndividualRef(java.lang.String var,
TripleElement type,
java.lang.String individual)
Add an object property individual declaration in the WHERE part of the request.
|
boolean |
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 boolean |
addPropertyRef(java.lang.String var,
java.lang.String propertyName,
java.lang.String varRef)
Add an object property reference declaration in the OPTIONAL construct.
|
default boolean |
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 boolean |
addPropertyRef(java.lang.String var,
TripleElement type,
java.lang.String varRef)
Add an object property reference declaration in the OPTIONAL construct.
|
boolean |
addPropertyRef(java.lang.String var,
TripleElement type,
java.lang.String varRef,
boolean optional)
Add an object property reference declaration in the OPTIONAL construct.
|
default boolean |
addPropertyValue(java.lang.String var,
java.lang.String propertyName,
java.lang.Object propertyValue)
Add a property value declaration in the OPTIONAL construct.
|
default boolean |
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 boolean |
addPropertyValue(java.lang.String var,
TripleElement type,
java.lang.Object propertyValue)
Add a property value declaration in the OPTIONAL construct.
|
boolean |
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 boolean |
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 boolean |
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 boolean |
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.
|
boolean |
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 boolean |
addSubClassOf(java.lang.String var,
java.lang.String type)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
boolean |
addSubClassOf(java.lang.String var,
TripleElement type)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
default boolean |
addSubClassOfStar(java.lang.String var,
java.lang.String type)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
boolean |
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 boolean |
addType(java.lang.String var,
short exprKind,
java.lang.String type)
Add a matching declaration in the WHERE part of the request.
|
boolean |
addType(java.lang.String var,
short exprKind,
TripleElement type)
Add a matching declaration in the WHERE part of the request.
|
default boolean |
addType(java.lang.String var,
java.lang.String type)
Add a rdf:type matching declaration in the WHERE part of the request.
|
boolean |
addType(java.lang.String var,
TripleElement type)
Add a rdf:type matching declaration in the WHERE part of the request.
|
default boolean |
addTypeSubClassOf(java.lang.String var,
java.lang.String type)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
boolean |
addTypeSubClassOf(java.lang.String var,
TripleElement type)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
default boolean |
addVariableSubClassOf(java.lang.String var,
java.lang.String typeVar)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
boolean |
addVariableSubClassOf(java.lang.String var,
TripleElement typeVar)
Add a rdf:subClassOf matching declaration in the WHERE part of the request.
|
default boolean |
addVariableSubClassOfStar(java.lang.String var,
java.lang.String typeVar)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
boolean |
addVariableSubClassOfStar(java.lang.String var,
TripleElement typeVar)
Add a rdfs:subClassOf* matching declaration in the WHERE part of the request.
|
default boolean |
addVariableType(java.lang.String var,
short exprKind,
java.lang.String typeVar)
Add a matching declaration in the WHERE part of the request.
|
boolean |
addVariableType(java.lang.String var,
short exprKind,
TripleElement typeVar)
Add a matching declaration in the WHERE part of the request.
|
default boolean |
addVariableType(java.lang.String var,
java.lang.String typeVar)
Add a rdf:type matching declaration in the WHERE part of the request.
|
boolean |
addVariableType(java.lang.String var,
TripleElement element)
Add a rdf:type matching declaration in the WHERE part of the request.
|
default boolean |
addVariableTypeSubClassOf(java.lang.String var,
java.lang.String typeVar)
Add a rdf:type/rdfs:subClassOf matching declaration in the WHERE part of the request.
|
boolean |
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.
|
java.util.Map<java.lang.String,Variable> |
getAdditionalVars()
Return the additional variables.
|
java.util.List<Bind> |
getBinds()
Return the bindings.
|
java.util.List<Coalesce> |
getCoalesces()
Return the coalesce expressions.
|
java.lang.String |
getDefaultSchema()
Return the schema.
|
java.util.List<DeleteForm> |
getDeleteForms() |
java.util.Map<java.lang.String,SparqlDistance> |
getDistances()
Return the geosparql distances.
|
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() |
int |
getOffset()
Return the OFFSET of the number of results.
|
java.util.List<SparqlRequestGroup> |
getOptionals() |
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,PropertyRef>> |
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() |
SelectForm |
getSelectForm() |
java.util.Map<java.lang.String,SelectItem> |
getSelectMap()
Return the map opf SELECT items.
|
java.util.List<Union> |
getUnions() |
WhereForm |
getWhereForm() |
boolean |
hasAdditionalVariable(java.lang.String var) |
boolean |
hasSelectVariable(java.lang.String var) |
boolean |
isCheckingVariablesExistence()
Return true if the variables existence if checked during the creation of the request.
|
boolean |
isLoggingErrors()
Return true if errors should be logged.
|
boolean |
isSelectAll() |
void |
resetSPARQLResult() |
SparqlRequest getRootRequest()
boolean isSelectAll()
boolean hasSelectVariable(java.lang.String var)
boolean hasAdditionalVariable(java.lang.String var)
java.util.List<DeleteForm> getDeleteForms()
DeleteForm addDelete()
java.util.List<InsertForm> getInsertForms()
InsertForm addInsert()
InsertForm addInsertData()
SelectForm getSelectForm()
WhereForm getWhereForm()
boolean isCheckingVariablesExistence()
java.lang.String addAutoVariable()
java.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,PropertyRef>> 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 geometryboolean addProperty(TripleElement object, TripleElement property, TripleElement target, boolean optional)
object - the objectproperty - the propertytarget - the targetoptional - true for an optional patterndefault boolean addProperty(TripleElement object, TripleElement property, TripleElement target)
object - the objectproperty - the propertytarget - the targetdefault boolean addPropertyIndividualRef(java.lang.String var,
java.lang.String propertyName,
java.lang.String individual)
var - the variable namepropertyName - the property nameindividual - the individual namedefault boolean addPropertyIndividualRef(java.lang.String var,
TripleElement type,
java.lang.String individual)
var - the variable nametype - the propertyindividual - the individual nameboolean 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 boolean addPropertyRef(java.lang.String var,
TripleElement type,
java.lang.String varRef)
var - the variable nametype - the propertyvarRef - the variable to use for the referenceboolean 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 propertydefault boolean 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 boolean 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 boolean addPropertyValue(java.lang.String var,
java.lang.String propertyName,
java.lang.Object propertyValue)
var - the variable namepropertyName - the property namepropertyValue - the property valuedefault boolean addPropertyValue(java.lang.String var,
TripleElement type,
java.lang.Object propertyValue)
var - the variable nametype - the propertypropertyValue - the property valueboolean 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 boolean addPropertyValue(java.lang.String var,
java.lang.String propertyName,
java.lang.Object propertyValue,
boolean optional)
var - the variable namepropertyName - the property namepropertyValue - the property valuedefault boolean 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 boolean 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 valuesdefault boolean addPropertyValues(java.lang.String var,
java.util.List<? extends java.lang.Object> values)
var - the variable namevalues - the property valuesboolean 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 boolean addSubClassOf(java.lang.String var,
java.lang.String type)
var - the variable nametype - the typeboolean addSubClassOf(java.lang.String var,
TripleElement type)
var - the variable nametype - the typeboolean addLabel(java.lang.String var,
TripleElement element)
var - the variable nameelement - the elementdefault boolean addLabel(java.lang.String var,
java.lang.String type)
var - the variable nametype - the typedefault boolean addSubClassOfStar(java.lang.String var,
java.lang.String type)
var - the variable nametype - the typeboolean addSubClassOfStar(java.lang.String var,
TripleElement type)
var - the variable nametype - the typedefault boolean addTypeSubClassOf(java.lang.String var,
java.lang.String type)
var - the variable nametype - the typeboolean addTypeSubClassOf(java.lang.String var,
TripleElement type)
var - the variable nametype - the typedefault boolean 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 typeboolean 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 boolean addType(java.lang.String var,
java.lang.String type)
var - the variable nametype - the typeboolean addType(java.lang.String var,
TripleElement type)
var - the variable nametype - the typedefault boolean addVariableSubClassOf(java.lang.String var,
java.lang.String typeVar)
var - the variable nametypeVar - the type variableboolean addVariableSubClassOf(java.lang.String var,
TripleElement typeVar)
var - the variable nametypeVar - the type variabledefault boolean addVariableSubClassOfStar(java.lang.String var,
java.lang.String typeVar)
var - the variable nametypeVar - the type variableboolean addVariableSubClassOfStar(java.lang.String var,
TripleElement typeVar)
var - the variable nametypeVar - the type variabledefault boolean addVariableTypeSubClassOf(java.lang.String var,
java.lang.String typeVar)
var - the variable nametypeVar - the type variableboolean addVariableTypeSubClassOf(java.lang.String var,
TripleElement typeVar)
var - the variable nametypeVar - the type variabledefault boolean 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 variableboolean 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 boolean addVariableType(java.lang.String var,
java.lang.String typeVar)
var - the variable nametypeVar - the type variableboolean 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()
java.util.List<Union> getUnions()
Filter addFilter()
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 getDefaultSchema()
void resetSPARQLResult()
Copyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence