localsocketclient.h | localsocketclient.h | |||
---|---|---|---|---|
/* | /* | |||
* This file is part of Soprano Project. | * This file is part of Soprano Project. | |||
* | * | |||
* Copyright (C) 2007-2008 Sebastian Trueg <trueg@kde.org> | * Copyright (C) 2007-2012 Sebastian Trueg <trueg@kde.org> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Library General Public | * modify it under the terms of the GNU Library General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Library General Public License for more details. | * Library General Public License for more details. | |||
skipping to change at line 123 | skipping to change at line 123 | |||
/** | /** | |||
* Disconnect from the server. The created model instances are not | * Disconnect from the server. The created model instances are not | |||
* deleted but remain useless; open iterators are closed. | * deleted but remain useless; open iterators are closed. | |||
*/ | */ | |||
void disconnect(); | void disconnect(); | |||
private: | private: | |||
class Private; | class Private; | |||
Private* const d; | Private* const d; | |||
Q_PRIVATE_SLOT( d, void _s_localSocketError( QLocalSocket::Loca | ||||
lSocketError ) ) | ||||
}; | }; | |||
} | } | |||
} | } | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
nrl.h | nrl.h | |||
---|---|---|---|---|
/* | /* | |||
* This file has been generated by the onto2vocabularyclass tool | * This file has been generated by the onto2vocabularyclass tool | |||
* copyright (C) 2007-2008 Sebastian Trueg <trueg@kde.org> | * copyright (C) 2007-2010 Sebastian Trueg <trueg@kde.org> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Library General Public | * modify it under the terms of the GNU Library General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Library General Public License for more details. | * Library General Public License for more details. | |||
skipping to change at line 65 | skipping to change at line 65 | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Def aultGraph | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Def aultGraph | |||
* | * | |||
* Represents the default graph, the graph which contains any | * Represents the default graph, the graph which contains any | |||
* triple that does not belong to any other named graph | * triple that does not belong to any other named graph | |||
*/ | */ | |||
SOPRANO_EXPORT QUrl DefaultGraph(); | SOPRANO_EXPORT QUrl DefaultGraph(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Def | ||||
iningProperty | ||||
* | ||||
* A defining property's value is part of what defines a resour | ||||
ce, | ||||
* changing it means | ||||
* means chaning the identity of the resource. The set of value | ||||
s | ||||
* of all defining | ||||
* properties of a resource make up its identify. | ||||
* Whenever comparing resources or sharing them the value of th | ||||
is | ||||
* property should | ||||
* be taken into account. By default all properties with a lite | ||||
ral | ||||
* range are to be | ||||
* treated as defining properties unless they are marked as nrl | ||||
:NonDefiningProperty. | ||||
*/ | ||||
SOPRANO_EXPORT QUrl DefiningProperty(); | ||||
/** | ||||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Dis | ||||
cardableInstanceBase | ||||
* | ||||
* A named graph containing instance data that can be recreated | ||||
* by analyzing the original resources. Intended to be used by | ||||
* metadata extractors. | ||||
*/ | ||||
SOPRANO_EXPORT QUrl DiscardableInstanceBase(); | ||||
/** | ||||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Doc umentGraph | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Doc umentGraph | |||
* | * | |||
* A marker class to identify named graphs that exist within a physical | * A marker class to identify named graphs that exist within a physical | |||
* document | * document | |||
*/ | */ | |||
SOPRANO_EXPORT QUrl DocumentGraph(); | SOPRANO_EXPORT QUrl DocumentGraph(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ext ernalViewSpecification | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ext ernalViewSpecification | |||
* | * | |||
skipping to change at line 118 | skipping to change at line 143 | |||
SOPRANO_EXPORT QUrl GraphView(); | SOPRANO_EXPORT QUrl GraphView(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ins tanceBase | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ins tanceBase | |||
* | * | |||
* Represents a named graph containing instance data | * Represents a named graph containing instance data | |||
*/ | */ | |||
SOPRANO_EXPORT QUrl InstanceBase(); | SOPRANO_EXPORT QUrl InstanceBase(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Dis | ||||
cardableInstanceBase | ||||
* | ||||
* A named graph containing instance data that can be recreated | ||||
* by analyzing the original resources. Intended to be used by | ||||
* metadata extractors. | ||||
*/ | ||||
SOPRANO_EXPORT QUrl DiscardableInstanceBase(); | ||||
/** | ||||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Inv erseFunctionalProperty | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Inv erseFunctionalProperty | |||
* | * | |||
* A marker class to identify inverse functional properties | * A marker class to identify inverse functional properties | |||
*/ | */ | |||
SOPRANO_EXPORT QUrl InverseFunctionalProperty(); | SOPRANO_EXPORT QUrl InverseFunctionalProperty(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Kno wledgeBase | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Kno wledgeBase | |||
* | * | |||
* Represents a named graph containing both schematic and insta nce | * Represents a named graph containing both schematic and insta nce | |||
* data | * data | |||
*/ | */ | |||
SOPRANO_EXPORT QUrl KnowledgeBase(); | SOPRANO_EXPORT QUrl KnowledgeBase(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Non | ||||
DefiningProperty | ||||
* | ||||
* A non-defining property's value is not part of what defines | ||||
* a resource, it rather | ||||
* is part of the resource's state or expresses an opinion abou | ||||
t | ||||
* the resource. Whenever | ||||
* comparing resources or sharing them the value of this proper | ||||
ty | ||||
* should not be taken into | ||||
* account. By default all properties with a resource range are | ||||
* to be treated as | ||||
* non-defining properties unless they are marked as nrl:Defini | ||||
ngProperty. | ||||
*/ | ||||
SOPRANO_EXPORT QUrl NonDefiningProperty(); | ||||
/** | ||||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ont ology | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ont ology | |||
* | * | |||
* Represents a named graph having the role of an Ontology | * Represents a named graph having the role of an Ontology | |||
*/ | */ | |||
SOPRANO_EXPORT QUrl Ontology(); | SOPRANO_EXPORT QUrl Ontology(); | |||
/** | /** | |||
* http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ref lexiveProperty | * http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ref lexiveProperty | |||
* | * | |||
* A marker class to identify reflexive properties | * A marker class to identify reflexive properties | |||
End of changes. 4 change blocks. | ||||
11 lines changed or deleted | 52 lines changed or added | |||
sopranotypes.h | sopranotypes.h | |||
---|---|---|---|---|
/* This file is part of Soprano | /* This file is part of Soprano | |||
* | * | |||
* Copyright (C) 2006 Daniele Galdi <daniele.galdi@gmail.com> | * Copyright (C) 2006 Daniele Galdi <daniele.galdi@gmail.com> | |||
* Copyright (C) 2007 Sebastian Trueg <trueg@kde.org> | * Copyright (C) 2007-2012 Sebastian Trueg <trueg@kde.org> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Library General Public | * modify it under the terms of the GNU Library General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Library General Public License for more details. | * Library General Public License for more details. | |||
skipping to change at line 133 | skipping to change at line 133 | |||
* Additional languages may be supported using Query::QueryLanguage User in combination with | * Additional languages may be supported using Query::QueryLanguage User in combination with | |||
* string codes. | * string codes. | |||
* | * | |||
* \sa Model::executeQuery, Query::Parser, Query::Serializer | * \sa Model::executeQuery, Query::Parser, Query::Serializer | |||
*/ | */ | |||
enum QueryLanguage { | enum QueryLanguage { | |||
QueryLanguageNone = 0x0, /**< No query language */ | QueryLanguageNone = 0x0, /**< No query language */ | |||
QueryLanguageSparql = 0x1, /**< The SPARQL query language: htt p://www.w3.org/TR/rdf-sparql-query/ */ | QueryLanguageSparql = 0x1, /**< The SPARQL query language: htt p://www.w3.org/TR/rdf-sparql-query/ */ | |||
QueryLanguageRdql = 0x2, /**< The RDQL RDF query language: h ttp://www.w3.org/Submission/2004/SUBM-RDQL-20040109/ */ | QueryLanguageRdql = 0x2, /**< The RDQL RDF query language: h ttp://www.w3.org/Submission/2004/SUBM-RDQL-20040109/ */ | |||
QueryLanguageSerql = 0x4, /**< Sesame RDF %Query Language: ht tp://openrdf.org/doc/sesame2/users/ch05.html */ | QueryLanguageSerql = 0x4, /**< Sesame RDF %Query Language: ht tp://openrdf.org/doc/sesame2/users/ch05.html */ | |||
QueryLanguageSparqlNoInference = 0x8, /**< The SPARQL query lan | ||||
guage without any inference. This special language was | ||||
introduced in %Sopra | ||||
no 2.8 to level the fact that no support for query flags | ||||
exists. It is not su | ||||
pported by any backend yet but can be used in FilterModels. | ||||
A possible implement | ||||
ation would be a FilterModel which enables Virtuoso inference | ||||
through special SPAR | ||||
QL extensions as done in Nepomuk. */ | ||||
QueryLanguageUser = 0x1000, /**< The user type can be used to i ntroduce unknown query lanaguages by name */ | QueryLanguageUser = 0x1000, /**< The user type can be used to i ntroduce unknown query lanaguages by name */ | |||
QUERY_LANGUAGE_NONE = QueryLanguageNone, /**< \deprecated use Soprano::Query::QueryLanguageNone */ | QUERY_LANGUAGE_NONE = QueryLanguageNone, /**< \deprecated use Soprano::Query::QueryLanguageNone */ | |||
QUERY_LANGUAGE_SPARQL = QueryLanguageSparql, /**< \deprecated u se Soprano::Query::QueryLanguageSparql */ | QUERY_LANGUAGE_SPARQL = QueryLanguageSparql, /**< \deprecated u se Soprano::Query::QueryLanguageSparql */ | |||
QUERY_LANGUAGE_RDQL = QueryLanguageRdql, /**< \deprecated use Soprano::Query::QueryLanguageRdql */ | QUERY_LANGUAGE_RDQL = QueryLanguageRdql, /**< \deprecated use Soprano::Query::QueryLanguageRdql */ | |||
QUERY_LANGUAGE_SERQL = QueryLanguageSerql, /**< \deprecated us e Soprano::Query::QueryLanguageSerql */ | QUERY_LANGUAGE_SERQL = QueryLanguageSerql, /**< \deprecated us e Soprano::Query::QueryLanguageSerql */ | |||
QUERY_LANGUAGE_USER = QueryLanguageUser /**< \deprecated use So prano::Query::QueryLanguageUser */ | QUERY_LANGUAGE_USER = QueryLanguageUser /**< \deprecated use So prano::Query::QueryLanguageUser */ | |||
}; | }; | |||
Q_DECLARE_FLAGS( QueryLanguages, QueryLanguage ) | Q_DECLARE_FLAGS( QueryLanguages, QueryLanguage ) | |||
/** | /** | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 11 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 28 | skipping to change at line 28 | |||
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef _SOPRANO_VERSION_H_ | #ifndef _SOPRANO_VERSION_H_ | |||
#define _SOPRANO_VERSION_H_ | #define _SOPRANO_VERSION_H_ | |||
#include "soprano_export.h" | #include "soprano_export.h" | |||
/// @brief Soprano version as string at compile time. | /// @brief Soprano version as string at compile time. | |||
#define SOPRANO_VERSION_STRING "2.7.6" | #define SOPRANO_VERSION_STRING "2.7.56" | |||
/// @brief The major Soprano version number at compile time | /// @brief The major Soprano version number at compile time | |||
#define SOPRANO_VERSION_MAJOR 2 | #define SOPRANO_VERSION_MAJOR 2 | |||
/// @brief The minor Soprano version number at compile time | /// @brief The minor Soprano version number at compile time | |||
#define SOPRANO_VERSION_MINOR 7 | #define SOPRANO_VERSION_MINOR 7 | |||
/// @brief The Soprano release version number at compile time | /// @brief The Soprano release version number at compile time | |||
#define SOPRANO_VERSION_RELEASE 6 | #define SOPRANO_VERSION_RELEASE 56 | |||
/** | /** | |||
* \brief Create a unique number from the major, minor and release number o f a %Soprano version | * \brief Create a unique number from the major, minor and release number o f a %Soprano version | |||
* | * | |||
* This function can be used for preprocessing. For version information at runtime | * This function can be used for preprocessing. For version information at runtime | |||
* use the version methods in the Soprano namespace. | * use the version methods in the Soprano namespace. | |||
*/ | */ | |||
#define SOPRANO_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c)) | #define SOPRANO_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c)) | |||
/** | /** | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||