Class BaseSesameTemplate
Abstract base class for templates for creating new stores in Sesame.
Inheritance
Implements
Inherited Members
Namespace: VDS.RDF.Storage.Management.Provisioning.Sesame
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseSesameTemplate : StoreTemplate, IStoreTemplate
Remarks
Sesame templates generate a configuration graph like the one mentioned in the Sesame documentation, this graph is POSTed to the SYSTEM repository causing a new store to be created.
Constructors
| Edit this page View SourceBaseSesameTemplate(string, string, string)
Creates a new Sesame template.
Declaration
public BaseSesameTemplate(string id, string name, string description)
Parameters
Type | Name | Description |
---|---|---|
string | id | ID. |
string | name | Template name. |
string | description | Template description. |
Fields
| Edit this page View SourceRepositoryHttpNamespace
Constants for Sesame repository configuration namespaces.
Declaration
public const string RepositoryHttpNamespace = "http://www.openrdf.org/config/repository/http#"
Field Value
Type | Description |
---|---|
string |
RepositoryNamespace
Constants for Sesame repository configuration namespaces.
Declaration
public const string RepositoryNamespace = "http://www.openrdf.org/config/repository#"
Field Value
Type | Description |
---|---|
string |
RepositorySailNamespace
Constants for Sesame repository configuration namespaces.
Declaration
public const string RepositorySailNamespace = "http://www.openrdf.org/config/repository/sail#"
Field Value
Type | Description |
---|---|
string |
SailMemoryNamespace
Constants for Sesame repository configuration namespaces.
Declaration
public const string SailMemoryNamespace = "http://www.openrdf.org/config/sail/memory#"
Field Value
Type | Description |
---|---|
string |
SailNamespace
Constants for Sesame repository configuration namespaces.
Declaration
public const string SailNamespace = "http://www.openrdf.org/config/sail#"
Field Value
Type | Description |
---|---|
string |
SailNativeNamespace
Constants for Sesame repository configuration namespaces.
Declaration
public const string SailNativeNamespace = "http://www.openrdf.org/config/sail/native#"
Field Value
Type | Description |
---|---|
string |
Properties
| Edit this page View SourceContextNode
Gets the Node used to refer to the store configuration context.
Declaration
[Browsable(false)]
public INode ContextNode { get; }
Property Value
Type | Description |
---|---|
INode |
Label
Gets/Sets the descriptive label for a Sesame store.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetBaseTemplateGraph()
Gets the basic template graph which is a graph with all the required namespaces registered and the ID and label filled in.
Declaration
protected virtual IGraph GetBaseTemplateGraph()
Returns
Type | Description |
---|---|
IGraph |
GetTemplateGraph()
Gets a Graph representing the RDF that must be inserted into Sesame's SYSTEM repository in order to create the desired store.
Declaration
public abstract IGraph GetTemplateGraph()
Returns
Type | Description |
---|---|
IGraph |