Connector for SPARQL
The SPARQL connector allows the retrieval and processing of data from SPARQL endpoints using RDF4J REST API. This connector also allows you to execute a SPARQL query and get a tabular result out of it.
- Enter or select the following properties:
Property Description Endpoint URL
The SPARQL endpoint URL.
User Id
The user Id that will be used to connect to the SPARQL service.
Password
The password that will be used to connect to the SPARQL service.
Subject Class
Root class for graph query and property navigator.
- Under the Query Mode, you can set the following properties:
Property Description Query Builder
Allows retrieval of data by selecting properties from Root/related classes. All the configurations in the tab under the hood generate a SPARQL query and this query is being executed to get results.
Property Navigator
Display list of literal properties, you can click on property to add it as column. Non-literal (link) properties are shown as breadcrumbs, allowing traversal of a graph i.e., select different classes and see properties for different classes, and collect them as columns.
- For advanced cases where the Query Builder UI is not sufficient or there is already a SPARQL query, you can go to the SPARQL Query tab. Click Edit and enter a custom query.
The query text box is initialized with the query generated by Query Builder UI. When you switch to custom query, the Query Builder is disabled, and you would need to click Reset to go back to Query Builder mode.
NOTE:
When in Query Builder mode, a Limit of 100 is added to the query dynamically, such as when in preview. When the same data table is being used in dashboards, the limit will be what is set at Row Limit settings for the connector.
When switching to custom query, the limit is controlled by the input query you entered. By default, the connector adds Limit 100 when you switch to custom query.
Here are examples of retrieved data with the following properties:
Property Description Columns
Checkbox to multi select columns and remove them together.
Property
Unique name for a property with class/property name notion for identification and is read-only. Data type logo is shown as a hint for users on how the property gets translated into Panopticon type (i.e., Text/Numeric/Time).
Aggregate
Checkbox at header enables/disables aggregation. Drop down against each property allows selection of aggregation function based on data type.
Filter
Filter input box allows entering a parameter name or a value. This property controls filter query with equality operator.
Select
Checkbox can be used to direct whether the column should be part of Select clause in query.
(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.