Click or drag to resize

ISparqlDataset.GetTriplesWithPredicateObject Method

Gets all the Triples in the Dataset with the given Predicate and Object.

Namespace:  VDS.RDF.Query.Datasets
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
IEnumerable<Triple> GetTriplesWithPredicateObject(
	INode pred,
	INode obj
)

Parameters

pred
Type: VDS.RDF.INode
Predicate.
obj
Type: VDS.RDF.INode
Object.

Return Value

Type: IEnumerable<Triple>

[Missing <returns> documentation for "M:VDS.RDF.Query.Datasets.ISparqlDataset.GetTriplesWithPredicateObject(VDS.RDF.INode,VDS.RDF.INode)"]

Remarks

Note: The Triples returned from the method should be limited to those in the current Active Graph if present, otherwise those in the current Default Graph if present and finally the entire Dataset.

See Also