Show / Hide Table of Contents

Class PelletServer

Represents a Connection to a Pellet Server.
Inheritance
System.Object
PelletServer
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)
System.Object.ToString()
Namespace: VDS.RDF.Query.Inference.Pellet
Assembly: dotNetRDF.dll
Syntax
public class PelletServer

Constructors

| Improve this Doc View Source

PelletServer(String)

Creates a new connection to a Pellet Server.
Declaration
public PelletServer(string serverUri)
Parameters
Type Name Description
System.String serverUri Server URI.
| Improve this Doc View Source

PelletServer(Uri)

Creates a new connection to a Pellet Server.
Declaration
public PelletServer(Uri serverUri)
Parameters
Type Name Description
System.Uri serverUri Server URI.

Properties

| Improve this Doc View Source

KnowledgeBases

Gets the Knowledge Bases available from this Pellet Server.
Declaration
public IEnumerable<KnowledgeBase> KnowledgeBases { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<KnowledgeBase>

Methods

| Improve this Doc View Source

Connect(String, PelletServerReadyCallback, Object)

Connects to a Pellet Server instance asynchronously invoking the callback when the connection is ready.
Declaration
public static void Connect(string serverUri, PelletServerReadyCallback callback, object state)
Parameters
Type Name Description
System.String serverUri Server URI.
PelletServerReadyCallback callback Callback to invoke when the connection is ready.
System.Object state State to pass to the callback.
| Improve this Doc View Source

Connect(Uri, PelletServerReadyCallback, Object)

Connects to a Pellet Server instance asynchronously invoking the callback when the connection is ready.
Declaration
public static void Connect(Uri serverUri, PelletServerReadyCallback callback, object state)
Parameters
Type Name Description
System.Uri serverUri Server URI.
PelletServerReadyCallback callback Callback to invoke when the connection is ready.
System.Object state State to pass to the callback.
| Improve this Doc View Source

GetKnowledgeBase(String)

Gets the Knowledge Base with the given Name.
Declaration
public KnowledgeBase GetKnowledgeBase(string name)
Parameters
Type Name Description
System.String name Knowledge Base Name.
Returns
Type Description
KnowledgeBase
| Improve this Doc View Source

GetKnowledgeBases(Type)

Gets all the Knowledge Bases which support a given Server.
Declaration
public IEnumerable<KnowledgeBase> GetKnowledgeBases(Type t)
Parameters
Type Name Description
System.Type t Service Type.
Returns
Type Description
System.Collections.Generic.IEnumerable<KnowledgeBase>
| Improve this Doc View Source

HasKnowledgeBase(String)

Gets whether the Server has a Knowledge Base with the given Name.
Declaration
public bool HasKnowledgeBase(string name)
Parameters
Type Name Description
System.String name Knowledge Base Name.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasKnowledgeBase(Type)

Gets whether the Server has a Knowledge Base which supports the given Service Type.
Declaration
public bool HasKnowledgeBase(Type t)
Parameters
Type Name Description
System.Type t Service Type.
Returns
Type Description
System.Boolean

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • PelletServer(String)
    • PelletServer(Uri)
  • Properties
    • KnowledgeBases
  • Methods
    • Connect(String, PelletServerReadyCallback, Object)
    • Connect(Uri, PelletServerReadyCallback, Object)
    • GetKnowledgeBase(String)
    • GetKnowledgeBases(Type)
    • HasKnowledgeBase(String)
    • HasKnowledgeBase(Type)
  • Extension Methods
Back to top Generated by DocFX