Click or drag to resize

PathEvaluationContextPermitsNewPaths Property

Gets/Sets whether new paths can be introduced when not evaluating the first part of the path.

Namespace:  VDS.RDF.Query.Paths
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public bool PermitsNewPaths { get; set; }

Property Value

Type: Boolean
Remarks

This is required when we have a path like ?x foaf:knows* /foaf:knows ?y and ?x is not bound prior to the path being executed. Since we permit zero-length paths we should return the names of everyone even if they don't know anyone.

The cases where ?x is already bound are handled elsewhere as we can just introduce zero-length paths for every existing binding for ?x.

See Also