Click or drag to resize

SimilarityServiceSimilarityRaw Method (Int32, String, GraphCallback, Object)

Gets the raw Similarity Graph for the Knowledge Base.

Namespace:  VDS.RDF.Query.Inference.Pellet.Services
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void SimilarityRaw(
	int number,
	string individual,
	GraphCallback callback,
	Object state
)

Parameters

number
Type: SystemInt32
Number of Similar Individuals.
individual
Type: SystemString
QName of a Individual to find Similar Individuals to.
callback
Type: VDS.RDFGraphCallback
Callback to invoke when the operation completes.
state
Type: SystemObject
State to pass to the callback.
Remarks
If the operation succeeds the callback will be invoked normally, if there is an error the callback will be invoked with a instance of AsyncError passed as the state which provides access to the error message and the original state passed in.
See Also