Questions tagged [geosparql]

For question related to GeoSPARQL, a standard for representation and querying of geospatial linked data for the Semantic Web from the Open Geospatial Consortium (OGC). Please do not use for triplestore-specific geospatial SPARQL extensions.

GeoSPARQL is a standard for representation and querying of geospatial linked data for the from the Open Geospatial Consortium (OGC).

The definition of a small ontology based on well-understood OGC standards is intended to provide a standardized exchange basis for geospatial data which can support both qualitative and quantitative spatial reasoning and querying with the database query language.

61 questions
3
votes
1 answer

geoSPARQL distance produces empty results

I try using the distance geoSPARQL function in graphDB and I don't get any result. Here's a test : PREFIX rdf: PREFIX rdfs: PREFIX wgs84_pos:…
2
votes
0 answers

Filter points within a polygon

i have a problem with GeoSparql. I set a quadratic polygon and points that are in a database. I want to return the polygon and the points that are in it, using the GeoSparql function sfContains and sfWithin functions but they return 0…
spstrademark
  • 445
  • 2
  • 5
  • 22
2
votes
0 answers

How to use simple vocabulary line with GeoSPARQL:sfWithin and polygon?

RDF: prefix ex: prefix geo: ex:b7 a sf:Line ; geo:asWKT " LINESTRING(55.3 -160.5,55.3 -160.5)^^geo:wktLiteral . SPARQL query: prefix…
There
  • 498
  • 6
  • 18
2
votes
0 answers

GeoSPARQL: Calculate distance between two linestrings

Does GeoSPARQL provide functionality to calculate the distance between two linestrings? (Edit: I'm using Jena Fuseki with the GeoSPARQL extension.) The results are not working as expected. Linestring query, assuming all of the geometries are also…
There
  • 498
  • 6
  • 18
2
votes
0 answers

stSPARQL / GeoSPARQL ERROR - Problem with Intersection between Spatial data - Geometries

Hello everyone and have a Happy New Year!! I am using an StSparql/Geosparql endpoint and I have a spatial dataset which has geometries for lakes and rivers. My goal is to try and find all the lakes and rivers which intersect each other and display…
2
votes
1 answer

SQL query and dataframes using Spark/java

I am a beginner in spark and I got stuck in how to make a sql request using dataframe. I have the two followings dataframe. dataframe_1 +-----------------+-----------------+----------------------+---------------------+ |id …
HBoulmi
  • 333
  • 5
  • 16
2
votes
2 answers

Will RDFLIB Python supports Geosparql queries?

I am trying to execute Geosparql Queries using RDFLIB Python...But I am getting empty results....Is RDFLIB Python supports Geosparql queries ? Please suggest me regarding this. Below is my code to store tripples and query for execution. from rdflib…
Manoj Deshpande
  • 311
  • 2
  • 18
2
votes
1 answer

RDF4J 2.4.0-M3 GeoSPARQL query not working

Hi I am using the latest version RDF4J 2.4.0-M3 and I am trying to execute the following query: PREFIX geof: PREFIX geo: PREFIX lgd:…
2
votes
1 answer

Unable to found if a Point is inside a Polygon with GeoSparqrl and sfWithin function

I'm need to write a query to check if a determined Point is inside a Polygon. I'm trying to use GeoSparql, but isn't producing the expected results. If I execute a simple query, like it: PREFIX iot-lite:…
Mayke Ferreira
  • 174
  • 2
  • 9
2
votes
3 answers

How to calculate distance between two points using geosparql

I'm trying to calculate the distance between two points using geosparql. I have objects like the following image (same properties, different values): And I'm executing that query in sparql: PREFIX geos:…
2
votes
0 answers

SPARQL query for nearby cultural and historical places

I am trying to write a SPARQL query on dbpedia.com to find cultural and historical locations nearby given coordinates. I found this example which finds things within 20 km of New York. SELECT DISTINCT ?resource ?label ?location WHERE { …
outbeyond
  • 35
  • 7
2
votes
1 answer

How to use geof:distance function from GeoSPARQL

I have created a small ontology in which I have a Class called node. It has data properties associated with it has_latitude and has_longitude. I need to execute a query that given a lat, long input I should be able to find nodes within range of 20…
ysg7790
  • 33
  • 5
2
votes
1 answer

Does RDF4J Support GeoSPARQL?

I'm using RDF4J workbench: System Information Application Information Application Name RDF4J Workbench Version 2.0.1 Runtime Information Operating System Windows 8.1 6.3 (amd64) Java Runtime Oracle Corporation Java HotSpot(TM) 64-Bit Server…
Greg Cox
  • 287
  • 1
  • 12
1
vote
1 answer

SPARQL query to find the geoshape a coordinate is in

I have knowledge graph with sf:Point (for example "POINT(51.95656412820512 5.880331774358974)"^^). I want to know which country or administrative region this point is located in (by way of checking…
1
vote
1 answer

GraphDB rejecting the OGC GeoSparql SHACL

Question: Why is GraphDB rejecting the OGC GeoSparql SHACL constraints? Background GraphDB supports SHACL validation against incoming & existing data. OGC provides shapes for the GeoSparql standard and included passing & non-passing data in the…
Thomas
  • 720
  • 9
  • 22
1
2 3 4 5