Class SparqlQueryValidator
Syntax Validator for SPARQL Queries.
Inheritance
System.Object
SparqlQueryValidator
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Validation
Assembly: dotNetRdf.dll
Syntax
public class SparqlQueryValidator : ISyntaxValidator
Constructors
| Improve this Doc View SourceSparqlQueryValidator()
Creates a new SPARQL Query Validator.
Declaration
public SparqlQueryValidator()
SparqlQueryValidator(SparqlQueryParser)
Creates a new SPARQL Query Validator using the given Query Parser.
Declaration
public SparqlQueryValidator(SparqlQueryParser parser)
Parameters
Type | Name | Description |
---|---|---|
SparqlQueryParser | parser | Query Parser. |
SparqlQueryValidator(SparqlQuerySyntax)
Creates a new SPARQL Query Validator using the given Syntax.
Declaration
public SparqlQueryValidator(SparqlQuerySyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
SparqlQuerySyntax | syntax | Query Syntax. |
Methods
| Improve this Doc View SourceValidate(string)
Validates whether the given Data is a valid SPARQL Query.
Declaration
public ISyntaxValidationResults Validate(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data | Data. |
Returns
Type | Description |
---|---|
ISyntaxValidationResults |