Triple represents an RDF statement made up of three Node objects.
More...
#include <dataquay/Triple.h>
Triple represents an RDF statement made up of three Node objects.
Definition at line 47 of file Triple.h.
◆ Triple() [1/2]
Dataquay::Triple::Triple |
( |
| ) |
|
|
inline |
Construct a triple of three Nothing nodes.
Definition at line 53 of file Triple.h.
◆ Triple() [2/2]
Construct a triple of the three given nodes.
Our triples may contain anything, including the Nothing node type for undefined elements (used in wildcard matching, etc).
However, in order to be inserted in the RDF store, a triple must have either URI or Blank type for its first (or subject) node, URI for its second (or predicate) node, and either URI, Blank, or Literal type for its third (or object) node.
Definition at line 66 of file Triple.h.
◆ ~Triple()
Dataquay::Triple::~Triple |
( |
| ) |
|
|
inline |
◆ subject()
Node Dataquay::Triple::subject |
( |
| ) |
|
|
inline |
Return the subject node.
This is synonymous with accessing the data member a.
Definition at line 75 of file Triple.h.
References a.
◆ predicate()
Node Dataquay::Triple::predicate |
( |
| ) |
|
|
inline |
Return the predicate node.
This is synonymous with accessing the data member b.
Definition at line 81 of file Triple.h.
References b.
◆ object()
Node Dataquay::Triple::object |
( |
| ) |
|
|
inline |
Return the object node.
This is synonymous with accessing the data member c.
Definition at line 87 of file Triple.h.
References c.
◆ operator<()
bool Dataquay::Triple::operator< |
( |
const Triple & | t | ) |
const |
|
inline |
The documentation for this class was generated from the following file: