Click or drag to resize

GraphPattern Class

Class for representing Graph Patterns in Sparql Queries.
Inheritance Hierarchy
SystemObject
  VDS.RDF.Query.PatternsGraphPattern

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class GraphPattern

The GraphPattern type exposes the following members.

Properties
  NameDescription
Public propertyChildGraphPatterns
Gets the Child Graph Patterns of this Pattern.
Public propertyFilter
Gets/Sets the FILTER that applies to this Graph Pattern.
Public propertyGraphSpecifier
Gets/Sets the Graph Specifier that applies to this Graph Pattern.
Public propertyHasChildGraphPatterns
Checks whether this Pattern has any Child Graph Patterns.
Public propertyHasInlineData
Gets whether this Graph Pattern contains an Inline Data block (VALUES clause).
Public propertyHasModifier
Determines whether the Graph Pattern has any kind of Modifier (GRAPH, MINUS, OPTIONAL etc) applied.
Public propertyInlineData
Gets the inline data (VALUES block if any).
Public propertyIsEmpty
Gets whether this is an empty Graph Pattern.
Public propertyIsExists
Gets/Sets whether the Graph Pattern is an EXISTS clause.
Public propertyIsFiltered
Gets/Sets whether the Graph Pattern is Filtered.
Public propertyIsGraph
Gets/Sets whether the Graph Pattern operates on a specific Graph.
Public propertyIsMinus
Gets/Sets whether the Graph Pattern is a MINUS clause.
Public propertyIsNotExists
Gets/Sets whether the Graph Pattern is a NOT EXISTS clause.
Public propertyIsOptimised
Gets whether Optimisation has been applied to this query.
Public propertyIsOptional
Gets/Sets whether the Graph Pattern is Optional.
Public propertyIsService
Gets/Sets whether the Graph Pattern is a SERVICE clause.
Public propertyIsSilent
Gets whether Evaluation Errors in this Graph Pattern are suppressed (currently only valid with SERVICE).
Public propertyIsSubQuery
Gets whether this Graph Pattern is a Sub-query which can be simplified.
Public propertyIsUnion
Gets/Sets whether the Graph Pattern is a Union of its Child Graph Patterns.
Public propertyTriplePatterns
Gets the Triple Patterns in this Pattern.
Public propertyUnplacedAssignments
Gets the enumeration of LET assignments that are in this Graph Pattern which will be placed appropriately later.
Public propertyUnplacedFilters
Gets the enumeration of Filters that apply to this Graph Pattern which will have yet to be placed within the Graph Pattern.
Public propertyUsesDefaultDataset
Gets whether the Graph Pattern uses the Default Dataset.
Public propertyVariables
Gets the Variables used in the Pattern.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertAssignment
Inserts an Assignment at a given position.
Public methodInsertFilter
Inserts a Filter at a given position.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOptimise
Optimises the Graph Pattern using the current global optimiser.
Public methodOptimise(IQueryOptimiser)
Optimises the Graph Pattern using the given optimiser.
Public methodOptimise(IQueryOptimiser, IEnumerableString)
Optimises the Graph Pattern using the given optimiser and with the given variables.
Public methodSwapTriplePatterns
Swaps the position of the two given Triple Patterns.
Public methodToAlgebra
Gets the Algebra representation of the Graph Pattern.
Public methodToString
Gets the String representation of the Graph Pattern.
(Overrides ObjectToString.)
Top
See Also