LibreOffice
LibreOffice 7.4 SDK API Reference
Modules | Classes
com::sun::star::rdf Module Reference

RDF (Resource Description Framework) and metadata interfaces. More...

Constant Groups

constants  FileFormat
 Constants to specify RDF file formats.
 
constants  URIs
 Constants to specify some well-known URIs.
 

Classes

service  BlankNode
 represents a blank node that may occur in a RDF graph. More...
 
service  Literal
 represents a literal that may occur in a RDF graph. More...
 
exception  ParseException
 represents an error condition that is signaled on parsing an RDF file. More...
 
exception  QueryException
 represents an error condition that is signaled on evaluating a query against an RDF Repository. More...
 
service  Repository
 provides access to a set of named RDF graphs. More...
 
exception  RepositoryException
 represents an error condition that is signaled on accessing an RDF Repository. More...
 
struct  Statement
 represents a RDF statement, or triple. More...
 
service  URI
 represents a URI node that may occur in a RDF graph. More...
 
interface  XBlankNode
 represents a blank node that may occur in a RDF graph. More...
 
interface  XDocumentMetadataAccess
 document metadata functionality related to the "manifest.rdf". More...
 
interface  XDocumentRepository
 extends XRepository with document-specific functionality. More...
 
interface  XLiteral
 represents a literal that may occur in a RDF graph. More...
 
interface  XMetadatable
 marks an object representing an ODF element that may have RDF meta data attached. More...
 
interface  XNamedGraph
 represents an RDF named graph that is stored in an RDF Repository. More...
 
interface  XNode
 represents a node that may occur in a RDF graph. More...
 
interface  XQuerySelectResult
 represents the result of a SPARQL "SELECT" query. More...
 
interface  XReifiedStatement
 represents a reified RDF statement. More...
 
interface  XRepository
 provides access to a set of named RDF graphs. More...
 
interface  XRepositorySupplier
 provides access to an RDF Repository. More...
 
interface  XResource
 represents a resource node that may occur in a RDF graph. More...
 
interface  XURI
 represents a URI node that may occur in a RDF graph. More...
 

Detailed Description

RDF (Resource Description Framework) and metadata interfaces.

This module provides interfaces for storing and accessing metadata in Resource Description Framework format. The API consists of two main parts: the RDF data model and the ODF document integration.

The RDF data model describes graphs of statements. The nodes in the graph are of type rdf::XNode, which has several subtypes: rdf::XResource, rdf::XBlankNode, rdf::XURI and rdf::XLiteral. Statements are then triples of nodes, and have type rdf::Statement.

The main part of the RDF data model is the rdf::XRepository, which consists of a set of graphs. The repository allows for importing/exporting graphs from/to files, as well as querying the contents of the repository. The type of the graphs is rdf::XNamedGraph.

Documents that support metadata implement the interfaces rdf::XRepositorySupplier and rdf::XDocumentMetadataAccess. Furthermore, all elements of ODF documents that may have metadata attached implement the interface rdf::XMetadatable.