Nepomuk-Core
ontology.cpp
Go to the documentation of this file.
55 // We use a FILTER(STR(?ns)...) to support both Soprano 2.3 (with plain literals) and earlier (with only typed ones)
175 Nepomuk2::Types::Class Nepomuk2::Types::Ontology::findClassByLabel( const QString& label, const QString& language )
212 Nepomuk2::Types::Property Nepomuk2::Types::Ontology::findPropertyByLabel( const QString& label, const QString& language )
QList< Property > allProperties()
A list of all properties defined in this ontology.
Definition: ontology.cpp:190
KJob * addProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent())
Add one or more property values to one or more resources.
Definition: datamanagement.cpp:36
Property findPropertyByName(const QString &name)
Search for a property in the ontology by its name.
Definition: ontology.cpp:197
Class findClassByName(const QString &name)
Search for a class in the ontology by its name.
Definition: ontology.cpp:160
Property findPropertyByLabel(const QString &label, const QString &language=QString())
Search for a property in the ontology by its label.
Definition: ontology.cpp:212
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: libnepomukcore/types/property.h:52
QExplicitlySharedDataPointer< OntologyPrivate > getOntology(const QUrl &uri)
Definition: entitymanager.cpp:68
Class findClassByLabel(const QString &label, const QString &language=QString())
Search for a class in the ontology by its label.
Definition: ontology.cpp:175
QString label(const QString &language=KGlobal::locale() ->language())
Retrieve the label of the entity (rdfs:label)
Definition: entity.cpp:187
Ontology & operator=(const Ontology &)
Definition: ontology.cpp:146
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.