6 #ifndef KNOWROB_SEMWEB_RESOURCE_H
7 #define KNOWROB_SEMWEB_RESOURCE_H
10 #include "knowrob/terms/Atom.h"
11 #include "knowrob/terms/IRIAtom.h"
26 auto iri()
const {
return iri_->stringForm(); }
36 std::string_view
name()
const;
41 std::string_view
ns(
bool includeDelimiter =
false)
const;
69 static std::string_view
iri_ns(std::string_view
iri,
bool includeDelimiter =
false);
static AtomPtr graph_atom(std::optional< std::string_view > graph)
Resource(std::string_view iri)
std::string_view ns(bool includeDelimiter=false) const
std::string_view name() const
static IRIAtomPtr unique_iri(std::string_view ns, std::string_view name)
std::string_view name() const
Resource(const IRIAtomPtr &iri)
static std::string_view iri_ns(std::string_view iri, bool includeDelimiter=false)
std::string_view ns(bool includeDelimiter=false) const
static IRIAtomPtr unique_iri(std::string_view type_iri)
static std::string_view iri_name(std::string_view iri)
std::shared_ptr< Atom > AtomPtr
std::shared_ptr< IRIAtom > IRIAtomPtr
bool operator()(const AtomPtr &lhs, const AtomPtr &rhs) const