Function rdf4cpp::storage::identifier::iri_node_id_to_literal_type

Function Documentation

constexpr LiteralType rdf4cpp::storage::identifier::iri_node_id_to_literal_type(NodeBackendID const id) noexcept

Convert a NodeId for an IRI to a LiteralType.

SAFETY: caller must ensure the node id actually refers to an IRI

Parameters:

idIRI NodeId

Returns:

the LiteralType associated with that IRI