SemWeb.StatementSource

SemWeb : SemWeb Namespace
StatementSource Interface

A source of statements, such as a RdfReader or a Store.

public interface StatementSource

#### Remarks

Access to the statements in this source is provided through calling Select.

## Members

### Properties

Distinct [read-only] | bool . Gets whether the statement source returns only distinct statments from Select calls.

### Methods

| Select (StatementSink) Called to stream the statements in the source into a StatementSink.

## Member Details

### Select Method

public void Select (StatementSink sink)

Called to stream the statements in the source into a StatementSink.

#### Parameters

sink
  The destination for statements.

#### Remarks

The SemWeb.StatementSink.Add(SemWeb.Statement) method is called on sink for each statement in this StatementSource.

### Distinct Property

public bool Distinct { get; }

Gets whether the statement source returns only distinct statments from Select calls.

#### Value

True if any call to Select (and its overloads when they are implemented) yields only distinct statements (i.e. no duplicates).

#### Remarks

None.