Struct Quad¶
Defined in File Quad.hpp
Inheritance Relationships¶
Base Type¶
public rdf4cpp::query::QuadPattern(Struct QuadPattern)
Struct Documentation¶
-
struct Quad : public rdf4cpp::query::QuadPattern¶
A Quad is an RDF statement which has an additional graph name. Quads are typically used to identify a statement in a named Graph of a RDF Dataset. The Graph name can also be the default Graph.
Public Functions
-
Quad(Node subject, Node predicate, Node object) noexcept¶
The constructed Quad has the default Graph as graph name. The Quad is not validated.
-
bool valid() const noexcept¶
-
Quad to_node_storage(storage::DynNodeStoragePtr node_storage) const¶
-
Quad try_get_in_node_storage(storage::DynNodeStoragePtr node_storage) const noexcept¶
Public Static Functions
-
static std::optional<Quad> create_validated(Node graph, Node subject, Node predicate, Node object) noexcept¶
The constructed Quad is validated. The optional result is only present, if it is valid.
-
Quad(Node subject, Node predicate, Node object) noexcept¶