Class GeoConstraintFactoryGeoSparql
java.lang.Object
org.aksw.jena_sparql_api.sparql.ext.geosparql.GeoConstraintFactoryGeoSparql
- All Implemented Interfaces:
GeoConstraintFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BBoxExprFactoryWktprotected org.aksw.jenax.sparql.fragment.api.Fragment2 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGeoConstraintFactoryGeoSparql(org.aksw.jenax.sparql.fragment.api.Fragment2 fragment, BBoxExprFactoryWkt bboxExprFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(org.apache.jena.graph.Node p) create2()org.apache.jena.sparql.expr.ExprcreateExpr(org.locationtech.jts.geom.Envelope bounds) Create a SPARQL expression that constrains the fragment to the given bounding boxstatic org.aksw.jenax.sparql.fragment.api.Fragment2createFragment(org.apache.jena.graph.Node asLiteralProperty) static org.aksw.jenax.sparql.fragment.api.Fragment2createFragment(org.apache.jena.graph.Node hasGeometryProperty, org.apache.jena.graph.Node asLiteralProperty) org.aksw.jenax.sparql.fragment.api.Fragment2Return a fragment which returns geometry information for an entityorg.apache.jena.sparql.core.VargetIdVar()Return which of the fragment's variables is the id variableof(org.aksw.jenax.sparql.fragment.api.Fragment2 fragment) of(org.apache.jena.graph.Node hasGeometryProperty, org.apache.jena.graph.Node asLiteralProperty) toWktString(org.apache.jena.sparql.engine.binding.Binding binding) Convert a binding into a WKT string
-
Field Details
-
fragment
protected org.aksw.jenax.sparql.fragment.api.Fragment2 fragment -
bboxExprFactory
-
-
Constructor Details
-
GeoConstraintFactoryGeoSparql
protected GeoConstraintFactoryGeoSparql(org.aksw.jenax.sparql.fragment.api.Fragment2 fragment, BBoxExprFactoryWkt bboxExprFactory)
-
-
Method Details
-
of
public static GeoConstraintFactoryGeoSparql of(String hasGeometryPropertyIri, String asLiteralPropertyIri) -
create
-
create2
-
create
-
create
-
of
public static GeoConstraintFactoryGeoSparql of(org.apache.jena.graph.Node hasGeometryProperty, org.apache.jena.graph.Node asLiteralProperty) -
of
public static GeoConstraintFactoryGeoSparql of(org.aksw.jenax.sparql.fragment.api.Fragment2 fragment) -
getIdVar
public org.apache.jena.sparql.core.Var getIdVar()Description copied from interface:GeoConstraintFactoryReturn which of the fragment's variables is the id variable- Specified by:
getIdVarin interfaceGeoConstraintFactory
-
getFragment
public org.aksw.jenax.sparql.fragment.api.Fragment2 getFragment()Description copied from interface:GeoConstraintFactoryReturn a fragment which returns geometry information for an entity- Specified by:
getFragmentin interfaceGeoConstraintFactory
-
createExpr
public org.apache.jena.sparql.expr.Expr createExpr(org.locationtech.jts.geom.Envelope bounds) Description copied from interface:GeoConstraintFactoryCreate a SPARQL expression that constrains the fragment to the given bounding box- Specified by:
createExprin interfaceGeoConstraintFactory
-
toWktString
Convert a binding into a WKT string- Specified by:
toWktStringin interfaceGeoConstraintFactory
-
createFragment
public static org.aksw.jenax.sparql.fragment.api.Fragment2 createFragment(org.apache.jena.graph.Node asLiteralProperty) -
createFragment
public static org.aksw.jenax.sparql.fragment.api.Fragment2 createFragment(org.apache.jena.graph.Node hasGeometryProperty, org.apache.jena.graph.Node asLiteralProperty)
-