C# Class DynamicSPARQLSpace.SPARQL

Helps creating of SPARQL
显示文件 Open project: Efimster/DynamicSPARQL

Public Methods

Method Description
Bind ( string bind ) : Bind

Makes bind pattern

Exists ( ) : Exists

Makes a "EXISTS" filter expression

Exists ( string triple ) : Exists

Makes a "EXISTS" filter expression

Exists ( string s = null, string p = null, string o = null ) : Exists

Makes a "EXISTS" filter expression

Filter ( string filter ) : Filter

Makes filter graph pattern

Graph ( string IRI ) : Graph

Makes an NAMED GRAPH pattern

Group ( ) : Group

Makes a group graph pattern

Minus ( ) : Minus

Makes a "MINUS" filter expression

Minus ( string triple ) : Minus

Makes an "MINUS" filter expression

Minus ( string s = null, string p = null, string o = null ) : Minus

Makes a "MINUS" filter expression

NotExists ( ) : NotExists

Makes a "NOT EXISTS" filter expression

NotExists ( string triple ) : NotExists

Makes a "NOT EXISTS" filter expression

NotExists ( string s = null, string p = null, string o = null ) : NotExists

Makes a "NOT EXISTS" filter expression

Optional ( ) : Optional

Makes an optional graph pattern

Optional ( string triple ) : Optional

Makes an optional graph pattern

Optional ( string s = null, string p = null, string o = null ) : Optional

Makes an optional graph pattern

Prefix ( string prefix, string iri ) : Prefix

Makes prefix

ToString ( this group, bool autoQuotation, bool skipTriplesWithEmptyObject, bool mindAsterisk ) : string
Triple ( string triple ) : Triple

Makes triple

Triple ( string s = null, dynamic p = null, dynamic o = null ) : Triple

Makes triple

TripleChain ( ) : Group

Creates triple chain. Every object used as next triple subject

TripleChain ( string chain ) : Group

Creates triple chain. Every object used as next triple subject

Union ( ) : Union

Makes Union graph pattern

Union ( IWhereItem left = null, IWhereItem right = null ) : Union

Makes Union graph pattern

Method Details

Bind() public static method

Makes bind pattern
public static Bind ( string bind ) : Bind
bind string bind expression
return Bind

Exists() public static method

Makes a "EXISTS" filter expression
public static Exists ( ) : Exists
return Exists

Exists() public static method

Makes a "EXISTS" filter expression
public static Exists ( string triple ) : Exists
triple string first triple
return Exists

Exists() public static method

Makes a "EXISTS" filter expression
public static Exists ( string s = null, string p = null, string o = null ) : Exists
s string Subject of first triple
p string Predicate of first triple
o string Object of first triple
return Exists

Filter() public static method

Makes filter graph pattern
public static Filter ( string filter ) : Filter
filter string
return Filter

Graph() public static method

Makes an NAMED GRAPH pattern
public static Graph ( string IRI ) : Graph
IRI string NAMED GRAPH IRI
return Graph

Group() public static method

Makes a group graph pattern
public static Group ( ) : Group
return Group

Minus() public static method

Makes a "MINUS" filter expression
public static Minus ( ) : Minus
return Minus

Minus() public static method

Makes an "MINUS" filter expression
public static Minus ( string triple ) : Minus
triple string first triple
return Minus

Minus() public static method

Makes a "MINUS" filter expression
public static Minus ( string s = null, string p = null, string o = null ) : Minus
s string Subject of first triple
p string Predicate of first triple
o string Object of first triple
return Minus

NotExists() public static method

Makes a "NOT EXISTS" filter expression
public static NotExists ( ) : NotExists
return NotExists

NotExists() public static method

Makes a "NOT EXISTS" filter expression
public static NotExists ( string triple ) : NotExists
triple string first triple
return NotExists

NotExists() public static method

Makes a "NOT EXISTS" filter expression
public static NotExists ( string s = null, string p = null, string o = null ) : NotExists
s string Subject of first triple
p string Predicate of first triple
o string Object of first triple
return NotExists

Optional() public static method

Makes an optional graph pattern
public static Optional ( ) : Optional
return Optional

Optional() public static method

Makes an optional graph pattern
public static Optional ( string triple ) : Optional
triple string first triple
return Optional

Optional() public static method

Makes an optional graph pattern
public static Optional ( string s = null, string p = null, string o = null ) : Optional
s string Subject of first triple
p string Predicate of first triple
o string Object of first triple
return Optional

Prefix() public static method

Makes prefix
public static Prefix ( string prefix, string iri ) : Prefix
prefix string prefix
iri string IRI
return Prefix

ToString() public static method

public static ToString ( this group, bool autoQuotation, bool skipTriplesWithEmptyObject, bool mindAsterisk ) : string
group this
autoQuotation bool
skipTriplesWithEmptyObject bool
mindAsterisk bool
return string

Triple() public static method

Makes triple
public static Triple ( string triple ) : Triple
triple string triple string
return Triple

Triple() public static method

Makes triple
public static Triple ( string s = null, dynamic p = null, dynamic o = null ) : Triple
s string Subject
p dynamic Predicate
o dynamic Object
return Triple

TripleChain() public static method

Creates triple chain. Every object used as next triple subject
public static TripleChain ( ) : Group
return Group

TripleChain() public static method

Creates triple chain. Every object used as next triple subject
public static TripleChain ( string chain ) : Group
chain string Triple parts
return Group

Union() public static method

Makes Union graph pattern
public static Union ( ) : Union
return Union

Union() public static method

Makes Union graph pattern
public static Union ( IWhereItem left = null, IWhereItem right = null ) : Union
left IWhereItem Left part of Union pattern
right IWhereItem Right part of Union pattern
return Union