Click or drag to resize

ISparqlDatasetGetTriplesWithPredicate Method

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

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

Parameters

pred
Type: VDS.RDFINode
Predicate.

Return Value

Type: IEnumerableTriple

[Missing <returns> documentation for "M:VDS.RDF.Query.Datasets.ISparqlDataset.GetTriplesWithPredicate(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