Feature Request: Support Content Negotiation for Raw SPARQL Query Retrieval
Summary:
It would be extremely useful to retrieve the raw SPARQL query directly from a short URL via content negotiation. This feature would allow users to request the SPARQL query in a specific format, making programmatic access and integration simpler and more efficient.
Use Case:
Currently, users have to parse the HTML content to extract the SPARQL query, which adds unnecessary complexity and overhead. Supporting content negotiation would streamline this process.
Proposed Solution:
Implement content negotiation for URLs, allowing users to specify the desired format (e.g., text/plain or another appropriate MIME type) in the Accept header of the HTTP request to directly retrieve the raw SPARQL query.
Feature Request: Support Content Negotiation for Raw SPARQL Query Retrieval
Summary: It would be extremely useful to retrieve the raw SPARQL query directly from a short URL via content negotiation. This feature would allow users to request the SPARQL query in a specific format, making programmatic access and integration simpler and more efficient.
Use Case: Currently, users have to parse the HTML content to extract the SPARQL query, which adds unnecessary complexity and overhead. Supporting content negotiation would streamline this process.
Proposed Solution: Implement content negotiation for URLs, allowing users to specify the desired format (e.g.,
text/plain
or another appropriate MIME type) in theAccept
header of the HTTP request to directly retrieve the raw SPARQL query.Example
curl
Command:should return