-
Notifications
You must be signed in to change notification settings - Fork 6
Provider: SPARQL Endpoint
As dcat-ap-viewer client consume JSON-LD it can easily use SPARQL endpoint with predefined set of queries as a data source. However, in practice, the queries related to indexing would be complex and evaluation of a query may be slow. For those reasons, a SPARQL Endpoint data source should be used carefully.
The sparql provider allows dcat-ap-viewer to use [Apache Solr] as a data source.
The example below configures sparql provider to use SPARQL endpoint running on localhost.
Although the sparql provider can be used to obtain data about datasets and distributions, it may not be optimal due to endpoint performance/stability. For this reason, we select only some of the implemented methods: v2-quality-dataset
, v2-quality-distribution
, and v2-quality-publishers
.
- type: sparql
url: http://localhost/sparql
filter:
- v2-quality-dataset
- v2-quality-distribution
- v2-quality-publishers
- url - URL of the SPARQL endpoint.
- dataset-per-graph - If true each dataset is in it's own graph.
- v2-dataset-item
- v2-distribution-item
- v2-quality-publishers
- v2-quality-dataset
- v2-quality-distribution
- v2-quality-publisher