1 link tagged with all of: named-queries + api-design + rdf + sparql
Click any tag below to further narrow down your results
Links
Raw SPARQL queries expose security risks, performance problems, and require too much schema knowledge. Storing queries as named, self-describing entities in RDF itself solves these issues by creating a controlled API layer that handles parameterization, access control, and logging.
- Direct SPARQL queries are dangerous: simple queries can crash systems with large datasets, prompt injection is trivial, and there's no access control—anyone with graph access sees everything.
- Most real-world graph operations (80%) fall into standard patterns like "get items from a list" or "update an item"—naming these as reusable queries eliminates the need for most people to write SPARQL at all.
- Named queries stored as RDF with metadata enable agents to self-discover available operations, support safe parameterization through text substitution (not SPARQL variables), enforce permissions locally, and log all access without redeploying code.