Click or drag to resize

OptionsStrictOperators Property

Gets/Sets whether to use strict operators.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public static bool StrictOperators { get; set; }

Property Value

Type: Boolean

Strict Operators refers to the interpretation of certian operators like + and - in SPARQL expression evaluation. If enabled then the operators will function only as specified in the SPARQL specification, if disabled (which is the default) then certain extensions (which the SPARQL specification allows an implementation to provide) will be allowed e.g. date time arithmetic.

The only time you may want to disable this is if you are developing queries locally which you want to ensure are portable to other systems or when running the SPARQL compliance tests.

See Also