Gjsify LogoGjsify Logo

Index

Variables

PREFIX_DC: string

The Prefix of the DC (Dublin Core) namespace

PREFIX_MFO: string

The Prefix of the MFO namespace

PREFIX_NAO: string

The Prefix of the NAO namespace

PREFIX_NCO: string

The Prefix of the NCO namespace

PREFIX_NFO: string

The Prefix of the NFO namespace

PREFIX_NIE: string

The Prefix of the NIE namespace

PREFIX_NMM: string

The Prefix of the RDF namespace

PREFIX_NRL: string

The Prefix of the NRL namespace

PREFIX_OSINFO: string

The Prefix of the Osinfo namespace

PREFIX_RDF: string

The Prefix of the RDF namespace

PREFIX_RDFS: string

The Prefix of the RDFS namespace

PREFIX_SLO: string

The Prefix of the SLO namespace

PREFIX_TRACKER: string

The Prefix of the Tracker namespace

PREFIX_XSD: string

The Prefix of the XSD namespace

Functions

  • checkVersion(requiredMajor: number, requiredMinor: number, requiredMicro: number): string
  • Checks that the Tracker library in use is compatible with the given version. Generally you would pass in the constants #TRACKER_MAJOR_VERSION, #TRACKER_MINOR_VERSION, #TRACKER_MICRO_VERSION as the three arguments to this function; that produces a check that the library in use is compatible with the version of Tracker the application or module was compiled against.

    Compatibility is defined by two things: first the version of the running library is newer than the version required_major.required_minor.required_micro. Second the running library must be binary compatible with the version required_major.required_minor.required_micro (same major version.)

    Parameters

    • requiredMajor: number

      the required major version.

    • requiredMinor: number

      the required minor version.

    • requiredMicro: number

      the required micro version.

    Returns string

  • sparqlErrorQuark(): Quark
  • sparqlEscapeString(literal: string): string
  • Escapes literal so it is suitable for insertion in SPARQL queries as string literals. Manual construction of query strings based user input is best avoided at all cost, use of #TrackerSparqlStatement is recommended instead.

    Parameters

    • literal: string

      a string to escape

    Returns string

  • sparqlEscapeUri(uri: string): string
  • Calls tracker_sparql_escape_uri_printf().

    Parameters

    • uri: string

      a string to be escaped, following the tracker sparql rules

    Returns string

  • sparqlGetOntologyNepomuk(): Gio.File
  • sparqlGetUuidUrn(): string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method