Soprano  2.7.56
Public Member Functions
Soprano::Inference::StatementPattern Class Reference

Building block of an inference Rule. More...

#include <Soprano/Inference/StatementPattern>

List of all members.

Public Member Functions

 StatementPattern ()
 StatementPattern (const NodePattern &, const NodePattern &, const NodePattern &)
 StatementPattern (const StatementPattern &)
 ~StatementPattern ()
StatementPattern operator= (const StatementPattern &)
NodePattern subjectPattern () const
NodePattern predicatePattern () const
NodePattern objectPattern () const
bool match (const Statement &) const
QString createSparqlGraphPattern (const BindingSet &bindings) const
bool isValid () const

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.

Sebastian Trueg

Definition at line 52 of file statementpattern.h.

Constructor & Destructor Documentation

Creates an invalid pattern

Member Function Documentation

StatementPattern Soprano::Inference::StatementPattern::operator= ( const StatementPattern )
true if the pattern is valid.

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