ISparqlDatasetGetTriplesWithSubjectPredicate Method |
Gets all the Triples in the Dataset with the given Subject and Predicate.
Namespace:
VDS.RDF.Query.Datasets
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
SyntaxIEnumerable<Triple> GetTriplesWithSubjectPredicate(
INode subj,
INode pred
)
Function GetTriplesWithSubjectPredicate (
subj As INode,
pred As INode
) As IEnumerable(Of Triple)
Parameters
- subj
- Type: VDS.RDFINode
Subject. - pred
- Type: VDS.RDFINode
Predicate.
Return Value
Type:
IEnumerableTriple[Missing <returns> documentation for "M:VDS.RDF.Query.Datasets.ISparqlDataset.GetTriplesWithSubjectPredicate(VDS.RDF.INode,VDS.RDF.INode)"]
RemarksNote: 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