RDF

typedef std::unique_ptr<INamespaceCollection> XS::RDF::INamespaceCollectionPtr
typedef std::unique_ptr<INamedGraph> XS::RDF::INamedGraphPtr
typedef std::unique_ptr<INamedGraphCollection> XS::RDF::INamedGraphCollectionPtr
typedef std::unique_ptr<IStatement> XS::RDF::IStatementPtr
typedef std::unique_ptr<IStatementCollection> XS::RDF::IStatementCollectionPtr
typedef std::unique_ptr<IChangeCollection> XS::RDF::IChangeCollectionPtr
DLL_API INamespaceCollection *DLL_CALL XS::RDF::makeNamespaceCollection ()
inline INamespaceCollectionPtr XS::RDF::makeNamespaceCollectionPtr()
DLL_API INamedGraphCollection *DLL_CALL XS::RDF::makeNamedGraphCollection ()
inline INamedGraphCollectionPtr XS::RDF::makeNamedGraphCollectionPtr()
DLL_API std::ostream &DLL_CALL XS::RDF::operator<< (std::ostream &stream, const IStatement::IObject &object)
DLL_API std::ostream &DLL_CALL XS::RDF::operator<< (std::ostream &stream, const IStatement &statement)
DLL_API IStatement *DLL_CALL XS::RDF::makeStatement (std::optional< std::reference_wrapper< const INamedGraph >> named_graph, std::string_view subject, std::string_view predicate, IStatement::IObject::Type object_type, std::string_view object_value, std::optional< std::string_view > object_datatype=std::nullopt)
inline IStatementPtr XS::RDF::makeStatementPtr(std::optional<std::reference_wrapper<const INamedGraph>> named_graph, std::string_view subject, std::string_view predicate, IStatement::IObject::Type object_type, std::string_view object_value, std::optional<std::string_view> object_datatype = std::nullopt)
DLL_API IStatementCollection *DLL_CALL XS::RDF::makeStatementCollection ()
inline IStatementCollectionPtr XS::RDF::makeStatementCollectionPtr()
DLL_API IChangeCollection * XS::RDF::makeChangeCollection (const IStatementCollection &old_data, const IStatementCollection &new_data, bool ignore_deletions=false)

Make a change set from two IStatementSet instances.

inline IChangeCollectionPtr XS::RDF::makeChangeCollectionPtr(const IStatementCollection &old_data, const IStatementCollection &new_data, bool ignore_deletions = false)
class INamespace : public XS::Interface
#include <rdf.h>
class NamespaceNameView
#include <rdf.h>
class INamespaceCollection : public XS::ICollection<INamespace>
#include <rdf.h>
class IResource : public XS::Interface
#include <rdf.h>

Subclassed by XS::Dataset::IElement, XS::Dataset::IProperty, XS::Dataset::ITag, XS::RDF::IClass, XS::RDF::IProperty

Public Functions

virtual const IClass &DLL_CALL mclass () const =0

Get the IClass that primarily describes the resource.

This class is the object of an rdf:type relationship.

virtual std::string_view DLL_CALL uri () const =0

Get the URI of the resource.

virtual std::optional<std::string_view> label() const noexcept = 0

Get a human-readable label for the resource.

virtual void setLabel(std::string_view label) = 0

Set a human-readable label for the resource.

virtual std::optional<std::string_view> description() const noexcept = 0

Get a human-readable description for the resource.

virtual void setDescription(std::string_view description) = 0

Set a human-readable description for the resource.

class INamedGraph : public XS::Interface
#include <rdf.h>
class INamedGraphCollection : public XS::ICollection<INamedGraph>
#include <rdf.h>
class IClass : public XS::RDF::IResource
#include <rdf.h>
class IProperty : public XS::RDF::IResource
#include <rdf.h>
class IStatement : public XS::Interface
#include <rdf.h>
class IObject : public XS::Interface
#include <rdf.h>
class IStatementCollection : public XS::ICollection<IStatement>
#include <rdf.h>
class IChange : public XS::Interface
#include <rdf.h>
class IChangeCollection : public XS::ICollection<IChange>
#include <rdf.h>
template<class InterfaceType, class OwnerType>
class Resource : public XS::Implements<InterfaceType>
#include <rdf.h>