|
@@ -22,14 +22,14 @@ We currently support 4 bind services out of the box:
|
|
|
The outlier service relies on `another endpoint <https://msdl.uantwerpen.be/git/lucasalbertins/DTDesign/src/main/tools/typeOperations>`_ which needs to be set up and accessible.
|
|
|
|
|
|
.. code-block:: sparql
|
|
|
- :caption: SPARQL query showing bind based cell service call.
|
|
|
- :emphasize-lines: 2
|
|
|
|
|
|
PREFIX dtf: <https://ontology.rys.app/dt/function/>
|
|
|
SELECT ?cell ?cell_value WHERE {
|
|
|
SERVICE <http://localhost:8000/> {BIND(dtf:cell("data/example.csv", 0, 0) AS ?cell)}
|
|
|
}
|
|
|
|
|
|
+SPARQL query showing bind based cell service call.
|
|
|
+
|
|
|
URI based services
|
|
|
------------------
|
|
|
|
|
@@ -37,13 +37,15 @@ A second, more versatile, way to access a service is provided in the form of an
|
|
|
It is possible to query cells by specifying an individual cell in the URI of the service call.
|
|
|
|
|
|
.. code-block:: sparql
|
|
|
- :caption: SPARQL query showing URI based cell service call.
|
|
|
- :emphasize-lines: 2
|
|
|
|
|
|
SELECT ?s ?p ?o WHERE {
|
|
|
- SERVICE <http://localhost:8000/cell/example.csv/2/2/> {?s ?p ?o}
|
|
|
+ BIND(ENCODE_FOR_URI("http://ua.be/sdo2l/description/artifacts/artifacts#random-artefact") as ?e)
|
|
|
+ BIND(uri(concat("http://localhost:8000/cell/?iri=", ?e ,"&row=2&column=2&file_name=example.csv")) as ?c)
|
|
|
+ SERVICE ?c {?s ?p ?o}
|
|
|
}
|
|
|
|
|
|
+SPARQL query showing URI based cell service call.
|
|
|
+
|
|
|
Installation
|
|
|
------------
|
|
|
|