SMWSparqlFalseCondition Class Reference
[SMWStore]

Represents a condition that cannot match anything. More...

Inherits SMWSparqlCondition.

List of all members.

Public Member Functions

 getCondition ()
 Get the SPARQL condition string that this object represents.
 isSafe ()
 Tell whether the condition string returned by getCondition() is safe in the sense that it can be used alone in a SPARQL query.


Detailed Description

Represents a condition that cannot match anything.

Ordering is not relevant, as there is nothing to order.

Definition at line 89 of file SMW_SparqlStoreQueryEngine.php.


Member Function Documentation

SMWSparqlFalseCondition::getCondition (  ) 

Get the SPARQL condition string that this object represents.

This does not inlcude the weak conditions, or additional formulations to match singletons (see SMWSparqlSingletonCondition).

Returns:
string

Reimplemented from SMWSparqlCondition.

Definition at line 91 of file SMW_SparqlStoreQueryEngine.php.

SMWSparqlFalseCondition::isSafe (  ) 

Tell whether the condition string returned by getCondition() is safe in the sense that it can be used alone in a SPARQL query.

This requires that all filtered variables occur in some graph pattern, and that the condition is not empty.

Returns:
boolean

Reimplemented from SMWSparqlCondition.

Definition at line 95 of file SMW_SparqlStoreQueryEngine.php.


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:43 2012 for Semantic MediaWiki by  doxygen 1.5.6