Skip to content

iolanta:SPARQLText class

  • Superclass


    rdfs:Datatype
    RDF Schema datatype

  • Purpose


    A datatype for representing SPARQL query text
    Enables semantic validation and tooling

iolanta:SPARQLText is a custom datatype for representing SPARQL query text. This allows for semantic validation and tooling specific to SPARQL syntax.

Usage

The iolanta:matches property uses iolanta:SPARQLText to specify SPARQL ASK queries:

$id: iolanta:matches
rdfs:range: iolanta:SPARQLText

This enables: - Syntax validation of SPARQL queries - Tooling support for query editing and debugging - Semantic understanding of query patterns - Type safety in RDF processing

Examples

ASK WHERE { ?instance a $this }
ASK WHERE { GRAPH $this { ?s ?p ?o } }
ASK WHERE { ?subject $this ?object }