Class SesameHttpTemplate
Templates for creating remote Sesame stores.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Storage.Management.Provisioning.Sesame
Assembly: dotNetRDF.dll
Syntax
public class SesameHttpTemplate : BaseSesameTemplate, IStoreTemplate
Remarks
This template generates a Sesame repository config graph like the following, depending on exact options the graph may differ:
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rep: <http://www.openrdf.org/config/repository#>.
@prefix hr: <http://www.openrdf.org/config/repository/http#>.
[] a rep:Repository ;
rep:repositoryImpl [
rep:repositoryType "openrdf:HTTPRepository" ;
hr:repositoryURL <{%Sesame server location|http://localhost:8080/openrdf-sesame%}/repositories/{%Remote repository ID|SYSTEM%}>
];
rep:repositoryID "{this.ID}" ;
rdfs:label "{this.Label}" .
The placeholders of the form {this.Property} represent properties of this class whose values will be inserted into the repository config graph and used to create a new store in Sesame.
Constructors
| Improve this Doc View SourceSesameHttpTemplate(String)
Creates a new Template.
Declaration
public SesameHttpTemplate(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Store ID. |
Properties
| Improve this Doc View SourceRemoteRepositoryID
Gets/Sets the ID of the remote repository to connect to.
Declaration
public string RemoteRepositoryID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoteServer
Gets/Sets the remote Sesame server to connect to.
Declaration
public string RemoteServer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetTemplateGraph()
Gets the template graph.
Declaration
public override IGraph GetTemplateGraph()
Returns
Type | Description |
---|---|
IGraph |