Interface ITripleIndex
Interface for classes that support retrieval of triples by one or more of their nodes.
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public interface ITripleIndex
Methods
| Improve this Doc View SourceGetQuoted(Uri)
Selects all quoted triples which have a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetQuoted(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuoted(INode)
Selects all quoted triples which contain the given Node.
Declaration
IEnumerable<Triple> GetQuoted(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithObject(Uri)
Selects all quoted triples where the Object is a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetQuotedWithObject(Uri u)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithObject(INode)
Selects all quoted triples where the Object is a given Node.
Declaration
IEnumerable<Triple> GetQuotedWithObject(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithPredicate(Uri)
Selects all quoted triples where the Predicate is a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetQuotedWithPredicate(Uri u)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithPredicate(INode)
Selects all quoted triples where the Predicate is a given Node.
Declaration
IEnumerable<Triple> GetQuotedWithPredicate(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithPredicateObject(INode, INode)
Selects all quoted triples with the given Predicate and Object.
Declaration
IEnumerable<Triple> GetQuotedWithPredicateObject(INode pred, INode obj)
Parameters
Type | Name | Description |
---|---|---|
INode | pred | Predicate. |
INode | obj | Object. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithSubject(Uri)
Selects all quoted triples where the Subject is a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetQuotedWithSubject(Uri u)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithSubject(INode)
Selects all quoted triples where the Subject is a given Node.
Declaration
IEnumerable<Triple> GetQuotedWithSubject(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithSubjectObject(INode, INode)
Selects all quoted triples with the given Subject and Object.
Declaration
IEnumerable<Triple> GetQuotedWithSubjectObject(INode subj, INode obj)
Parameters
Type | Name | Description |
---|---|---|
INode | subj | Subject. |
INode | obj | Object. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetQuotedWithSubjectPredicate(INode, INode)
Selects all quoted triples with the given Subject and Predicate.
Declaration
IEnumerable<Triple> GetQuotedWithSubjectPredicate(INode subj, INode pred)
Parameters
Type | Name | Description |
---|---|---|
INode | subj | Subject. |
INode | pred | Predicate. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriples(Uri)
Selects all Triples which have a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetTriples(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriples(INode)
Selects all Triples which contain the given Node.
Declaration
IEnumerable<Triple> GetTriples(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithObject(Uri)
Selects all Triples where the Object is a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetTriplesWithObject(Uri u)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithObject(INode)
Selects all Triples where the Object is a given Node.
Declaration
IEnumerable<Triple> GetTriplesWithObject(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithPredicate(Uri)
Selects all Triples where the Predicate is a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetTriplesWithPredicate(Uri u)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithPredicate(INode)
Selects all Triples where the Predicate is a given Node.
Declaration
IEnumerable<Triple> GetTriplesWithPredicate(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithPredicateObject(INode, INode)
Selects all Triples with the given Predicate and Object.
Declaration
IEnumerable<Triple> GetTriplesWithPredicateObject(INode pred, INode obj)
Parameters
Type | Name | Description |
---|---|---|
INode | pred | Predicate. |
INode | obj | Object. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithSubject(Uri)
Selects all Triples where the Subject is a Uri Node with the given Uri.
Declaration
IEnumerable<Triple> GetTriplesWithSubject(Uri u)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | u | Uri. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithSubject(INode)
Selects all Triples where the Subject is a given Node.
Declaration
IEnumerable<Triple> GetTriplesWithSubject(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithSubjectObject(INode, INode)
Selects all Triples with the given Subject and Object.
Declaration
IEnumerable<Triple> GetTriplesWithSubjectObject(INode subj, INode obj)
Parameters
Type | Name | Description |
---|---|---|
INode | subj | Subject. |
INode | obj | Object. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |
GetTriplesWithSubjectPredicate(INode, INode)
Selects all Triples with the given Subject and Predicate.
Declaration
IEnumerable<Triple> GetTriplesWithSubjectPredicate(INode subj, INode pred)
Parameters
Type | Name | Description |
---|---|---|
INode | subj | Subject. |
INode | pred | Predicate. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Triple> |