http-server

Expose a SPARQL 1.1 Protocol HTTP endpoint for querying and updating RDF data.

8|1|Updated Jun 7, 2026
One-click install
npx skills add https://github.com/sparq-org/sparq --skill http-server-sparq-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http-server
Source: https://github.com/sparq-org/sparq/tree/main/skills/http-server
Command: npx skills add https://github.com/sparq-org/sparq --skill http-server-sparq-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sparq-server, sparq-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to run a sparq SPARQL 1.1 Protocol HTTP endpoint, enabling them to query and update RDF data over HTTP requests.

Core Features & Use Cases

  • SPARQL 1.1 Protocol Support: Supports the SPARQL 1.1 Protocol for querying and updating RDF data.
  • Content Negotiation: Handles content negotiation for different data formats such as JSON, XML, CSV, and TSV.
  • Graph Store Protocol: Implements the Graph Store Protocol for reading and writing RDF data.
  • Security Features: Offers security features like Bearer-token authentication, read/write gate, and SSRF guard.
  • Use Case: Ideal for setting up a SPARQL endpoint for web applications or integrating with other services that require RDF data manipulation.

Quick Start

Start the sparq HTTP server and query data from a Turtle file using the sparq-cli:

cargo run --release -p sparq-cli -- query data.ttl turtle 'SELECT ?s ?o WHERE { ?s <http://schema.org/name> ?o } LIMIT 10'

Frequently Asked Questions about http-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a SPARQL 1.1 Protocol HTTP endpoint for querying RDF data?

You can run a SPARQL 1.1 Protocol HTTP endpoint to query and update RDF data by executing the server component, which natively supports HTTP requests for data manipulation.

What data formats are supported for RDF content negotiation over HTTP?

SPARQL content negotiation supports JSON, XML, CSV, and TSV data formats, allowing clients to request RDF query results in their preferred format over the HTTP protocol.

Can I secure my SPARQL HTTP endpoint against unauthorized access?

Yes, the SPARQL HTTP endpoint provides security features including Bearer-token authentication, a read/write gate, and an SSRF guard to control access and protect data.

Do I need sparq-server and sparq-cli to handle SPARQL queries?

Yes, both sparq-server and sparq-cli are required dependencies, as they provide the core engine and command-line interface needed to process SPARQL queries and updates.

Does the Graph Store Protocol support reading and writing RDF data directly?

Yes, the Graph Store Protocol is fully implemented, enabling direct reading and writing of RDF data over HTTP for efficient graph management and manipulation.

What is the best way to set up a SPARQL endpoint for web applications?

Setting up a SPARQL endpoint for web applications is best achieved by running this HTTP server, which exposes querying and updating capabilities for integrating RDF data into services.