Nepomuk
Nepomuk Namespace Reference
Classes | |
class | Class |
A Class is a resource of type rdf:Class. More... | |
class | DesktopOntologyLoader |
The DesktopOntologyLoader reads ontologies from the installed ontologies on the desktop using KStandardDirs. More... | |
class | Entity |
class | FileOntologyLoader |
class | Literal |
Defines a literal type based on XML Schema. More... | |
class | NepomukOntologyLoader |
class | Ontology |
Ontology represents one ontology specified using NRL. More... | |
class | OntologyLoader |
An OntologyLoader provides the statements that make up an ontology for the OntologyManager to create the ontology classes and properties. More... | |
class | OntologyManager |
The OntologyManager is the central ontology cache handler. More... | |
class | Property |
A property is a resource of type rdf:Property which relates a domain with a range. More... | |
class | Resource |
Resource is the central object type in Nepomuk. More... | |
class | ResourceManager |
The ResourceManager is the central KMetaData configuration point. More... | |
class | Service |
Base class for all Nepomuk services. More... | |
class | Tag |
A Tag can be assigned to any Thing. More... | |
class | TagCloud |
Tag cloud widget that displays all tags stored in the local Nepomuk store. More... | |
class | TagWidget |
TagWidget provides a simple GUI interface to assign tags. More... | |
class | Variant |
The Nepomuk Variant extends over QVariant by introducing direct support for Resource embedding, automatic list conversion and a restricted set of supported types. More... | |
Namespaces | |
namespace | Middleware |
namespace | Types |
Enumerations | |
enum | ErrorCode { NoError = 0, CommunicationError, InvalidType, UnknownError } |
Functions | |
template<typename T> | |
QList< Resource > | convertResourceList (const QList< T > &l) |
template<typename T> | |
QList< T > | convertResourceList (const QList< Resource > &l) |
NEPOMUK_EXPORT QString | defaultGraph () |
NEPOMUK_EXPORT QString | errorString (ErrorCode code) |
NEPOMUK_EXPORT QUrl | extractNamespace (const QUrl &url) |
NEPOMUK_EXPORT QString | naoNamespace () |
NEPOMUK_EXPORT QString | nrlNamespace () |
NEPOMUK_EXPORT Variant | RDFLiteralToValue (const Soprano::Node &node) |
NEPOMUK_EXPORT QString | rdfNamepace () |
NEPOMUK_EXPORT QString | rdfsNamespace () |
NEPOMUK_EXPORT void | setDefaultRepository (const QString &s) |
NEPOMUK_EXPORT QString | typePredicate () |
NEPOMUK_EXPORT QList < Soprano::Node > | valuesToRDFNodes (const Variant &) |
NEPOMUK_EXPORT Soprano::Node | valueToRDFNode (const Variant &) |
Enumeration Type Documentation
enum Nepomuk::ErrorCode |
- Enumerator:
-
NoError CommunicationError A commication error, i.e. connection failure
InvalidType UnknownError
Definition at line 39 of file resource.h.
Function Documentation
NEPOMUK_EXPORT QString Nepomuk::defaultGraph | ( | ) |
NEPOMUK_EXPORT QString Nepomuk::errorString | ( | ErrorCode | code | ) |
- Returns:
- A human-readble string.
NEPOMUK_EXPORT QString Nepomuk::naoNamespace | ( | ) |
- Deprecated:
- Use Soprano::Vocabulary::NAO::naoNamepace()
NEPOMUK_EXPORT QString Nepomuk::nrlNamespace | ( | ) |
- Deprecated:
- Use Soprano::Vocabulary::NRL::nrlNamepace()
NEPOMUK_EXPORT Variant Nepomuk::RDFLiteralToValue | ( | const Soprano::Node & | node | ) |
NEPOMUK_EXPORT QString Nepomuk::rdfNamepace | ( | ) |
NEPOMUK_EXPORT QString Nepomuk::rdfsNamespace | ( | ) |
- Deprecated:
- Use Soprano::Vocabulary::RDFS::rdfsNamepace()
NEPOMUK_EXPORT void Nepomuk::setDefaultRepository | ( | const QString & | s | ) |
- Deprecated:
- Has no effect anymore.
NEPOMUK_EXPORT QString Nepomuk::typePredicate | ( | ) |
Used internally by Resource.
- Returns:
- The URI of the predicate used to state the type of a resource.
- Deprecated:
- Use Soprano::Vocabulary::RDF::type()
NEPOMUK_EXPORT QList<Soprano::Node> Nepomuk::valuesToRDFNodes | ( | const Variant & | ) |
NEPOMUK_EXPORT Soprano::Node Nepomuk::valueToRDFNode | ( | const Variant & | ) |