# Consuming SPARQL endpoints

# Overview

The Knowledge Graph can be queried using SPARQL (opens new window), the standard query language for RDF data.

# SPARQL 1.1 Support

Ontopic Suite provides comprehensive support for SPARQL 1.1 features, including:

  • Basic graph patterns and filters
  • Optional patterns and unions
  • Aggregation functions (COUNT, SUM, AVG, etc.)
  • Subqueries
  • Built-in functions and operators

Limitations: The main unsupported features are recursive property paths and the SERVICE clause. For complete details about SPARQL 1.1 compliance, refer to the Ontop documentation (opens new window).

Note: Ontopic Suite only supports read-only SPARQL operations.

# Querying

# From the User Interface

Execute SPARQL queries directly through the user interface:

  1. Navigate to Query > SPARQL
  2. Enter your SPARQL query in the editor
  3. Select the endpoint to query on the top-right
  4. Click on the run to execute the query
  5. Optionally, click View source SQL to inspect the generated SQL query that runs against your data sources

# From the Web API

Ontopic Suite implements the SPARQL 1.1 Protocol (opens new window) specification, exposing SPARQL endpoints via standard HTTP methods. For more details, see the Web API reference.