Soprano 2.9.4
sopranotypes.h File Reference
#include "soprano_export.h"
#include <QtCore/QFlags>
#include <QtCore/QString>
Include dependency graph for sopranotypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Soprano
namespace  Soprano::Query

Enumerations

enum  Soprano::RdfSerialization {
  Soprano::SerializationUnknown = 0x0 , Soprano::SerializationRdfXml = 0x1 , Soprano::SerializationN3 = 0x2 , Soprano::SerializationNTriples = 0x4 ,
  Soprano::SerializationTurtle = 0x8 , Soprano::SerializationTrig = 0x10 , Soprano::SerializationNQuads = 0x20 , Soprano::SerializationUser = 0x0
}
enum  Soprano::BackendOption {
  Soprano::BackendOptionNone = 0x0 , Soprano::BackendOptionStorageMemory = 0x1 , Soprano::BackendOptionEnableInference = 0x2 , Soprano::BackendOptionStorageDir = 0x4 ,
  Soprano::BackendOptionHost = 0x8 , Soprano::BackendOptionPort = 0x10 , Soprano::BackendOptionUsername = 0x20 , Soprano::BackendOptionPassword = 0x40 ,
  Soprano::BackendOptionUser = 0x1000
}
enum  Soprano::BackendFeature {
  Soprano::BackendFeatureNone = 0x0 , Soprano::BackendFeatureAddStatement = 0x1 , Soprano::BackendFeatureRemoveStatements = 0x2 , Soprano::BackendFeatureListStatements = 0x4 ,
  Soprano::BackendFeatureQuery = 0x8 , Soprano::BackendFeatureInference = 0x10 , Soprano::BackendFeatureInferenceOptional = 0x20 , Soprano::BackendFeatureContext = 0x40 ,
  Soprano::BackendFeatureStorageMemory = 0x80 , Soprano::BackendFeatureAll , Soprano::BackendFeatureUser = 0x1000
}
enum  Soprano::Query::QueryLanguage {
  Soprano::Query::QueryLanguageNone = 0x0 , Soprano::Query::QueryLanguageSparql = 0x1 , Soprano::Query::QueryLanguageRdql = 0x2 , Soprano::Query::QueryLanguageSerql = 0x4 ,
  Soprano::Query::QueryLanguageSparqlNoInference = 0x8 , Soprano::Query::QueryLanguageUser = 0x1000 , Soprano::Query::QUERY_LANGUAGE_NONE = QueryLanguageNone , Soprano::Query::QUERY_LANGUAGE_SPARQL = QueryLanguageSparql ,
  Soprano::Query::QUERY_LANGUAGE_RDQL = QueryLanguageRdql , Soprano::Query::QUERY_LANGUAGE_SERQL = QueryLanguageSerql , Soprano::Query::QUERY_LANGUAGE_USER = QueryLanguageUser
}

Functions

SOPRANO_EXPORT QString Soprano::serializationMimeType (RdfSerialization serialization, const QString &userSerialization=QString())
SOPRANO_EXPORT RdfSerialization Soprano::mimeTypeToSerialization (const QString &mimetype)
SOPRANO_EXPORT QString Soprano::Query::queryLanguageToString (Soprano::Query::QueryLanguage lang, const QString &userQueryLanguage=QString())
SOPRANO_EXPORT QueryLanguage Soprano::Query::queryLanguageFromString (const QString &queryLanguage)