Skip to content

Commit

Permalink
Merge pull request #197 from noi-techpark/issue-187-sparql-access
Browse files Browse the repository at this point in the history
add sparql endpoint to accessing data section
  • Loading branch information
Peter Moser committed Jan 19, 2021
2 parents 7560c12 + c1ad7b2 commit 230961a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
18 changes: 15 additions & 3 deletions source/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Datasets
.. versionchanged:: 2021.01 Reorganised presentation of the
:ref:`data-access` section

.. versionadded:: 2021.01 access to data with SPARQL

The goal of the Open Data Hub project is to make available datasets containing
data about the South Tyrolean ecosystem, to allow third parties to
develop novel applications on top of them, consuming the exposed
Expand Down Expand Up @@ -185,7 +187,7 @@ content.

Go to the :strong:`Swagger interface` of the datasets in the
Tourism domain, located at
http://tourism.opendatahub.bz.it/swagger/ui/index, to learn how
http://tourism.opendatahub.bz.it/swagger/ui/index to learn how
the REST APIs are built and how you can script them to fetch
data for your application. To get started, there is a dedicated
howto: :ref:`tourism-data-howto` that will guide you in the
Expand All @@ -211,6 +213,18 @@ content.
actual data in near-real time. You can retrieve data gathered by
the sensors directly from the dataset, in almost real-time.

---
:column: col-12 p-2

Open the `Open Data Hub Knowledge Graph Portal
<https://sparql.opendatahub.bz.it/>`_ where you can explore all
the data that are already available as a virtual knowledge
graph. Here you can check out some of the precooked query to see
and modify them to suit your needs with the help of W3C's
`SPARQL query language
<https://www.w3.org/TR/sparql11-overview/>`_; SPARQL can be used
also in the `Playground` to freely query the endpoint.

.. dropdown:: Programmatic access
:title: font-weight-bold
:animate: fade-in-slide-down
Expand Down Expand Up @@ -255,8 +269,6 @@ content.

.. include:: /includes/R.rst



.. _license-json-records:

License of the JSON Responses
Expand Down
5 changes: 5 additions & 0 deletions source/includes/sparql.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
|odh| data are available as a virtual Knowledge Graph (KG) and can be
accessed from the dedicated `Open Data Hub Knowledge Graph Portal
<https://sparql.opendatahub.bz.it/>`_ using W3C's `SPARQL
<https://www.w3.org/TR/sparql11-overview/>`_, a query language for
`RDF <https://www.w3.org/TR/rdf-primer/>`_.

0 comments on commit 230961a

Please sign in to comment.