Building block of an inference Rule.
More...
#include <Soprano/Inference/StatementPattern>
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.nosp@m.@kde.nosp@m..org
Definition at line 52 of file statementpattern.h.
◆ StatementPattern() [1/3]
Soprano::Inference::StatementPattern::StatementPattern |
( |
| ) |
|
Creates an invalid pattern
◆ StatementPattern() [2/3]
◆ StatementPattern() [3/3]
Soprano::Inference::StatementPattern::StatementPattern |
( |
const StatementPattern & | | ) |
|
◆ ~StatementPattern()
Soprano::Inference::StatementPattern::~StatementPattern |
( |
| ) |
|
◆ operator=()
◆ subjectPattern()
NodePattern Soprano::Inference::StatementPattern::subjectPattern |
( |
| ) |
const |
◆ predicatePattern()
NodePattern Soprano::Inference::StatementPattern::predicatePattern |
( |
| ) |
const |
◆ objectPattern()
NodePattern Soprano::Inference::StatementPattern::objectPattern |
( |
| ) |
const |
◆ match()
bool Soprano::Inference::StatementPattern::match |
( |
const Statement & | | ) |
const |
◆ createSparqlGraphPattern()
QString Soprano::Inference::StatementPattern::createSparqlGraphPattern |
( |
const BindingSet & | bindings | ) |
const |
◆ isValid()
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:
- /builddir/build/BUILD/soprano-2.9.4-build/soprano-2.9.4/soprano/inference/statementpattern.h