Building block of an inference Rule.
More...
#include <Soprano/Inference/StatementPattern>
List of all members.
Detailed Description
Building block of an inference Rule.
A StatementPattern consists of three NodePattern that can either be variables or already bound ndoes.
StatementPattern is used to define preconditions and effects in Rule.
- Author:
- Sebastian Trueg <trueg@kde.org>
Definition at line 52 of file statementpattern.h.
Constructor & Destructor Documentation
Soprano::Inference::StatementPattern::StatementPattern |
( |
| ) |
|
Creates an invalid pattern
Soprano::Inference::StatementPattern::StatementPattern |
( |
const StatementPattern & |
| ) |
|
Soprano::Inference::StatementPattern::~StatementPattern |
( |
| ) |
|
Member Function Documentation
NodePattern Soprano::Inference::StatementPattern::subjectPattern |
( |
| ) |
const |
NodePattern Soprano::Inference::StatementPattern::predicatePattern |
( |
| ) |
const |
NodePattern Soprano::Inference::StatementPattern::objectPattern |
( |
| ) |
const |
bool Soprano::Inference::StatementPattern::match |
( |
const Statement & |
| ) |
const |
QString Soprano::Inference::StatementPattern::createSparqlGraphPattern |
( |
const BindingSet & |
bindings | ) |
const |
bool Soprano::Inference::StatementPattern::isValid |
( |
| ) |
const |
- Returns:
true
if the pattern is valid.
- Since:
- 2.3
The documentation for this class was generated from the following file: