Interface IQueryFormatter
Interface for classes which can format SPARQL Queries into Strings.
Inherited Members
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public interface IQueryFormatter : INodeFormatter, IUriFormatter
Methods
| Edit this page View SourceFormat(GraphPattern)
Formats a Graph Pattern into a String.
Declaration
string Format(GraphPattern gp)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphPattern | gp | Graph Pattern. |
Returns
| Type | Description |
|---|---|
| string |
Format(ITriplePattern)
Formats a Triple Pattern into a String.
Declaration
string Format(ITriplePattern tp)
Parameters
| Type | Name | Description |
|---|---|---|
| ITriplePattern | tp | Triple Pattern. |
Returns
| Type | Description |
|---|---|
| string |
Format(PatternItem, TripleSegment?)
Formats a Triple Pattern item into a String.
Declaration
string Format(PatternItem item, TripleSegment? segment)
Parameters
| Type | Name | Description |
|---|---|---|
| PatternItem | item | Pattern Item. |
| TripleSegment? | segment | Segment of the Triple Pattern in which the Item appears. |
Returns
| Type | Description |
|---|---|
| string |
Format(SparqlQuery)
Formats a SPARQL Query into a String.
Declaration
string Format(SparqlQuery query)
Parameters
| Type | Name | Description |
|---|---|---|
| SparqlQuery | query | SPARQL Query. |
Returns
| Type | Description |
|---|---|
| string |