Function rdf4cpp::lang_matches(Literal const&, Literal const&, storage::DynNodeStoragePtr)

Function Documentation

Literal rdf4cpp::lang_matches(Literal const &lang_tag, Literal const &lang_range, storage::DynNodeStoragePtr node_storage) noexcept
Returns:

whether lang_tag matches the basic language range lang_range as xsd:boolean or the null-literal if:

  • lang_tag is not xsd:string

  • lang_range is not xsd:string