# Namespace Nepomuk

Module | nepomuk
Namespace | Nepomuk

### classes

Nepomuk.Class | Nepomuk.NepomukOntologyLoader | Nepomuk.ResourceManager
Nepomuk.DesktopOntologyLoader | Nepomuk.Ontology | Nepomuk.Service
Nepomuk.Entity | Nepomuk.OntologyManager | Nepomuk.Tag
Nepomuk.FileOntologyLoader | Nepomuk.Property | Nepomuk.TagCloud
Nepomuk.Literal | Nepomuk.Resource | Nepomuk.TagWidget

### enums

- ErrorCode { NoError, CommunicationError, InvalidType, UnknownError }

enum details

### methods

- RDFLiteralToValue (node)

  returns Nepomuk.Variant

  Argument | Type | Default
  --- | --- | ---
  node | Soprano.Node |

  Used internally by Resource. Converts a literal value from the RDF store into a Variant.

- defaultGraph ( )

  returns QString

  Used internally by Resource. Returns The URI of the RDF graph meta data is stored in.

  Deprecated Use Nepomuk.ResourceManager.mainModel()

- errorString (code)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  code | Nepomuk.ErrorCode |

  Returns A human-readble string.

- extractNamespace (url)

  returns QUrl

  Argument | Type | Default
  --- | --- | ---
  url | QUrl |

- naoNamespace ( )

  returns QString

  Deprecated Use Soprano.Vocabulary.NAO.naoNamepace()

- nrlNamespace ( )

  returns QString

  Deprecated Use Soprano.Vocabulary.NRL.nrlNamepace()

- rdfNamepace ( )

  returns QString

  Deprecated Use Soprano.Vocabulary.RDF.rdfNamepace()

- rdfsNamespace ( )

  returns QString

  Deprecated Use Soprano.Vocabulary.RDFS.rdfsNamepace()

- setDefaultRepository (s)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  s | QString |

  Deprecated Has no effect anymore.

- typePredicate ( )

  returns QString

  Used internally by Resource. Returns The URI of the predicate used to state the type of a resource.

  Deprecated Use Soprano.Vocabulary.RDF.type()

- valueToRDFNode (a0)

  returns Soprano.Node

  Argument | Type | Default
  --- | --- | ---
  a0 | Nepomuk.Variant |

- valuesToRDFNodes (a0)

  returns QList<Soprano::Node>

  Argument | Type | Default
  --- | --- | ---
  a0 | Nepomuk.Variant |

  Used internally by Resource. Converts a Variant into a literal value to be used in the RDF store. Uses the language set in the current KDE session.

### enums - detail

- ErrorCode { NoError, CommunicationError, InvalidType, UnknownError }

  | NoError | - 0 | - |
  | CommunicationError | - | - |
  | InvalidType | - | - |
  | UnknownError | - | - |