VesselAI Linked Open Data Set Endpoint (testbed)


The following example diagram illustrates the status of a specific vessel and for a given time instant:

The corresponding SPARQL query for the above diagram is:



Often, it is necessary to combine semantic trajectories with contextual information available in the domain. For example, retrieving the list of vessels that have departed from seaports having certain facilities (e.g. passenger facilities).

The following listing implements the above example in SPARQL:


The spatial information contained in semantic trajectories can be exploited using spatial functions. However, since SPARQL 1.1 does not inherently suppport such functions, they are implemented and registered on the triple store using the namespace:

For example, a query which retrieves the status of a specific vessel at a given time instant, and the nearest port with ship repair facilities, can be described in SPARQL 1.1 and the spatial distance function (registered on the triple store) s:distance() which returns the distance in Km between two geometries, as follows:


Another query example, retrieves the reported positions found within a protected area, e.g. "Gule Rev". The topological function ex:within() has been registered on the triple store using the name space:
The SPARQL 1.1 listing for the above example is as follows:


The result sets of the above examples can be also rendered on 2D maps (using Geo tab below).

SPARQL 1.1 allows the description of federated queries, where the result set is computed from data available in two or more sources. In this example we assume that the information about marinas is available on a remote endpoint (WikiData.org) and we wish to combine it with information available locally (position of a vessel at a specific time instant). The following query, requests all the marinas known to be within a distance of 100Km from vessel named "VERDI" at "2021-01-01 00:13:46":



The result set of the above example can be also rendered on 2D maps (using Geo tab below).