UserGuide Configuration SPARQL Expression Factories
Home > User Guide > Configuration API > SPARQL Expression Factories
Expression Factories are classes that are used in the parsing of SPARQL Query and Update requests to generate implementations of extension functions. They allow for the introduction of additional functions into your SPARQL endpoints for specialised data processing, manipulation of other functions.
These classes must implement the SparqlCustomExpressionFactory interface and have an unparameterised constructor, see the Extension Functions page for details on how to implement custom expression factories.
They can be configured quite simply as follows:
@prefix dnr: <http://www.dotnetrdf.org/configuration#> .
_:factory a dnr:SparqlExpressionFactory ;
dnr:type "YourNamespace.YourType, YourAssembly" .
In this example an expression factory from an external namespace is configured. As described in Configuration API - HTTP Handlers expression factories can be attached to HTTP Handlers using the dnr:expressionFactory
property.
- Getting Started
- Library Overview
- Hello World
- Reading RDF
- Writing RDF
- Working With Graphs
- Typed Values and Lists
- Working with Triple Stores
- Building SPARQL
- Querying with SPARQL
- Updating with SPARQL
- Exceptions
- Equality and Comparison
- Event Model
- Utility Methods
- Extension Methods
- Using the Namespace Mapper
- Storage API
- Advanced SPARQL
- Ontology API
- Inference and Reasoning
- ASP.NET Integration
- Global Options
- Dynamic API
- Formatting API
-
Configuration API
- Graphs
- Triple Stores
- Object Factories
- Readers and Writers
- SPARQL Endpoints
- Query Processors
- Update Processors
- Protocol Processors
- SPARQL Datasets
- SPARQL Expression Factories
- SPARQL Operators
- SPARQL Optimisers
- Full Text Query
- Reasoners
- Storage Providers
- User Groups
- Permissions
- Users
- Static Options
- Proxy Servers
- Handlers API
- JSON-LD API
- Tools