A variadic parameter mixing bare values and arrays of values in a single argument list.
Generates a SPARQL BASE declaration.
Generates a SPARQL update request.
Generates a SPARQL DELETE clause.
Generates a SPARQL INSERT clause.
Generates a SPARQL WITH clause.
Generates SPARQL USING clauses.
Generates SPARQL USING NAMED clauses.
Generates a SPARQL LOAD update.
Generates a SPARQL CLEAR update.
Generates a SPARQL CREATE update.
Generates a SPARQL DROP update.
Generates a SPARQL COPY update.
Generates a SPARQL MOVE update.
Generates a SPARQL ADD update.
Generates the SPARQL SILENT form of an operation.
Generates a SPARQL ASK query.
Generates a SPARQL SELECT query.
Generates a SPARQL CONSTRUCT query.
Generates a SPARQL DESCRIBE query.
Generates a SPARQL distinct modifier for a projection or an aggregate argument.
Generates a SPARQL reduced modifier for a projection.
Generates the SPARQL * projection wildcard.
Generates a SPARQL projection alias.
Generates SPARQL FROM clauses.
Generates SPARQL FROM NAMED clauses.
Generates a SPARQL GROUP BY clause.
Generates a SPARQL HAVING clause.
Generates a SPARQL ORDER BY clause.
Generates a SPARQL asc() order condition.
Generates a SPARQL desc() order condition.
Generates a SPARQL LIMIT clause.
Generates a SPARQL OFFSET clause.
Generates a SPARQL WHERE clause.
Generates a SPARQL UNION pattern.
Generates a SPARQL OPTIONAL group pattern.
Generates a SPARQL group graph pattern.
Generates a SPARQL MINUS pattern.
Generates a SPARQL GRAPH block.
Generates a SPARQL SERVICE block.
Generates a SPARQL VALUES inline-data block.
Generates a SPARQL fragment by space-joining clauses.
Generates a SPARQL subject predicate object . statement from serialised terms.
Generates a SPARQL FILTER constraint.
Generates a SPARQL bind clause.
Generates an empty SPARQL fragment.
Generates a SPARQL sequence property path.
Generates a SPARQL alternative property path.
Generates a SPARQL inverse property path.
Generates a SPARQL zero-or-more (*) property path.
Generates a SPARQL one-or-more (+) property path.
Generates a SPARQL zero-or-one (?) property path.
Generates a SPARQL none property set.
Generates a SPARQL logical negation (!).
Generates a SPARQL logical conjunction (&&).
Generates a SPARQL logical disjunction (||).
Generates a SPARQL equality (=) comparison.
Generates a SPARQL inequality (!=) comparison.
Generates a SPARQL greater-than (>) comparison.
Generates a SPARQL less-than (<) comparison.
Generates a SPARQL greater-than-or-equal (>=) comparison.
Generates a SPARQL less-than-or-equal (<=) comparison.
Generates a parenthesised SPARQL addition (+).
Generates a parenthesised SPARQL subtraction (-).
Generates a parenthesised SPARQL multiplication (*).
Generates a parenthesised SPARQL division (/).
Generates a parenthesised SPARQL arithmetic negation (unary -).
Generates a SPARQL if() conditional expression.
Generates a SPARQL coalesce() call.
Generates a SPARQL bound() test.
Generates a SPARQL IN test.
Generates a SPARQL NOT IN test.
Generates a SPARQL exists test.
Generates a SPARQL not exists test.
Generates a SPARQL function call.
Generates a SPARQL str() call.
Generates a SPARQL lang() call.
Generates a SPARQL datatype() call.
Generates a SPARQL isblank() test.
Generates a SPARQL isiri() test.
Generates a SPARQL isliteral() test.
Generates a SPARQL isnumeric() test.
Generates a SPARQL sameterm() test.
Generates a SPARQL iri() call.
Generates a SPARQL bnode() call.
Generates a SPARQL strdt() call.
Generates a SPARQL strlang() call.
Generates a SPARQL uuid() call.
Generates a SPARQL struuid() call.
Generates a SPARQL strlen() call.
Generates a SPARQL substr() call.
Generates a SPARQL ucase() call.
Generates a SPARQL lcase() call.
Generates a SPARQL strstarts() call.
Generates a SPARQL strends() call.
Generates a SPARQL contains() call.
Generates a SPARQL strbefore() call.
Generates a SPARQL strafter() call.
Generates a SPARQL encode_for_uri() call.
Generates a SPARQL concat() call.
Generates a SPARQL langmatches() call.
Generates a SPARQL regex() call.
Generates a SPARQL replace() call.
Generates a SPARQL abs() call.
Generates a SPARQL round() call.
Generates a SPARQL ceil() call.
Generates a SPARQL floor() call.
Generates a SPARQL rand() call.
Generates a SPARQL now() call.
Generates a SPARQL year() call.
Generates a SPARQL month() call.
Generates a SPARQL day() call.
Generates a SPARQL hours() call.
Generates a SPARQL minutes() call.
Generates a SPARQL seconds() call.
Generates a SPARQL timezone() call.
Generates a SPARQL tz() call.
Generates a SPARQL md5() call.
Generates a SPARQL sha1() call.
Generates a SPARQL sha256() call.
Generates a SPARQL sha384() call.
Generates a SPARQL sha512() call.
Generates a SPARQL count() aggregate.
Generates a SPARQL sum() aggregate.
Generates a SPARQL min() aggregate.
Generates a SPARQL max() aggregate.
Generates a SPARQL avg() aggregate.
Generates a SPARQL sample() aggregate.
Generates a SPARQL group_concat() aggregate.
Generates SPARQL triple patterns from a Pattern sequence.
Generates a SPARQL triple pattern.
Generates SPARQL triple data from a Triple sequence.
Generates the SPARQL representation of a single Triple.
Generates the SPARQL representation of a Variable.
Generates the SPARQL representation of a Term.
Generates the SPARQL representation of a blank node.
Generates the SPARQL IRIREF for an IRI.
Generates the SPARQL representation of a boolean value.
Generates the SPARQL representation of a numeric value.
Generates the SPARQL representation of a string value.
Generates a language-tagged RDF literal.
Generates a datatype-annotated RDF literal.
Builders for SPARQL queries and updates.
Provides composable combinators that assemble SPARQL request strings from typed fragments: update and graph management operations, query forms, graph patterns, property paths, expressions, aggregates, solution modifiers, and the serialisers that render RDF terms into their SPARQL lexical forms. Every combinator takes and returns SPARQL fragments, so clauses nest by ordinary function composition into a complete query or update.
Term content is escaped wherever the grammar defines an escape and validated wherever it does not, so no value rendered through the serialisers can break out of the token carrying it.
Blank-node labels are the exception:
BLANK_NODE_LABELdefines no escape and blank performs no check, so a malformed label breaks the fragment carrying it rather than rendering as data.Types
Prologue
Updates
Graph management
silentform of graph management operations and service blocksQueries
Graph patterns
Property paths
Expressions
Built-in functions
Aggregates
Serialisers
Usage
Combinators nest as plain expressions, so a whole request is written as one composition:
See