---
title: "Perform SPARQL query"
method: GET
path: "/sparql"
tags: ["sparql"]
---

# Perform SPARQL query

`GET /sparql`

## Query parameters

- `query` string, required
- `format` 'XML' | 'JSON' | 'CSV' | 'TSV' | 'RDF/XML' | 'JSON-LD' | 'TURTLE' | 'N3'
- `inference` boolean
- `offset` integer
- `limit` integer

## Response `200`

polymorphic - may be simple JSON, TSV, CSV, or RDF formats such as JSON-LD

## Changes

- **2019-04-16** `5a1e8ef22295` — 1 info
  - added the success response with the status `200`
- **2019-04-15** `1d1a2733137d` — 1 info
  - endpoint added
- **2019-03-27** `1366644918cd` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hhs/apis/mesh-rdf-api/changes/sparql/get.md)

---

[API](https://skmtc.dev/hhs/apis/mesh-rdf-api.md) · [All operations](https://skmtc.dev/hhs/apis/mesh-rdf-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hhs/mesh-rdf-api/revisions/40b27ae9fc28/schema)
