On this page
SPARQL API functions
Last updated on
30 April 2025
Query builders
- sparql_ask()
- Builds and executes an ASK query.
- sparql_select($var1[, $var2, $varN, ...])
- Builds and executes a SELECT query.
- sparql_construct()
- Builds and executes a CONSTRUCT query.
- sparql_describe()
- Builds and executes a DESCRIBE query.
Query parsers
- sparql_query($text[, $options, &$errors])
- Executes a SPARQL query in text form.
- sparql_parse($text[, $options, &$errors])
- Parses a SPARQL query in text form, returning a SPARQL_Query object.
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion