| nao.h | | nao.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 109 | | skipping to change at line 109 | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#cre
ator | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#cre
ator | |
| * | | * | |
| * Refers to the single or group of individuals that created th
e | | * Refers to the single or group of individuals that created th
e | |
| * resource | | * resource | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl creator(); | | SOPRANO_EXPORT QUrl creator(); | |
| | | | |
| /** | | /** | |
|
| | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#dep | |
| | | recated | |
| | | * | |
| | | * If this property is assigned, the subject class, property, | |
| | | * or resource, is deprecated and should not be used in product | |
| | | ion | |
| | | * systems any longer. It may be removed without further notice | |
| | | . | |
| | | */ | |
| | | SOPRANO_EXPORT QUrl deprecated(); | |
| | | | |
| | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#des
cription | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#des
cription | |
| * | | * | |
| * A non-technical textual annotation for a resource | | * A non-technical textual annotation for a resource | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl description(); | | SOPRANO_EXPORT QUrl description(); | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#eng
ineeringTool | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#eng
ineeringTool | |
| * | | * | |
| * Specifies the engineering tool used to generate the graph | | * Specifies the engineering tool used to generate the graph | |
| | | | |
| skipping to change at line 190 | | skipping to change at line 199 | |
| SOPRANO_EXPORT QUrl iconName(); | | SOPRANO_EXPORT QUrl iconName(); | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#ide
ntifier | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#ide
ntifier | |
| * | | * | |
| * Defines a generic identifier for a resource | | * Defines a generic identifier for a resource | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl identifier(); | | SOPRANO_EXPORT QUrl identifier(); | |
| | | | |
| /** | | /** | |
|
| | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isD | |
| | | ataGraphFor | |
| | | * | |
| | | * Links a named graph to the resource for which it contains me | |
| | | tadata. | |
| | | * Its typical usage would be to link the graph containing extr | |
| | | acted | |
| | | * file metadata to the file resource. This allows for easy mai | |
| | | ntenance | |
| | | * later on. | |
| | | */ | |
| | | SOPRANO_EXPORT QUrl isDataGraphFor(); | |
| | | | |
| | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isR
elated | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isR
elated | |
| * | | * | |
| * Defines an annotation for a resource in the form of a relati
onship | | * Defines an annotation for a resource in the form of a relati
onship | |
| * between the subject resource and another resource | | * between the subject resource and another resource | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl isRelated(); | | SOPRANO_EXPORT QUrl isRelated(); | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isT
agFor | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isT
agFor | |
| * | | * | |
| | | | |
| skipping to change at line 273 | | skipping to change at line 292 | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#rat
ing | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#rat
ing | |
| * | | * | |
| * Annotation for a resource in the form of an unrestricted rat
ing | | * Annotation for a resource in the form of an unrestricted rat
ing | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl rating(); | | SOPRANO_EXPORT QUrl rating(); | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#sco
re | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#sco
re | |
| * | | * | |
|
| * An authorative score for an item valued between 0 and 1 | | * An authoritative score for an item valued between 0 and 1 | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl score(); | | SOPRANO_EXPORT QUrl score(); | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#sco
reParameter | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#sco
reParameter | |
| * | | * | |
| * A marker property to mark selected properties which are inpu
t | | * A marker property to mark selected properties which are inpu
t | |
| * to a mathematical algorithm to generate scores for resources
. | | * to a mathematical algorithm to generate scores for resources
. | |
| * Properties are marked by being defined as subproperties of | | * Properties are marked by being defined as subproperties of | |
| * this property | | * this property | |
| | | | |
| skipping to change at line 303 | | skipping to change at line 322 | |
| SOPRANO_EXPORT QUrl serializationLanguage(); | | SOPRANO_EXPORT QUrl serializationLanguage(); | |
| | | | |
| /** | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#sta
tus | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#sta
tus | |
| * | | * | |
| * Specifies the status of a graph, stable, unstable or testing | | * Specifies the status of a graph, stable, unstable or testing | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl status(); | | SOPRANO_EXPORT QUrl status(); | |
| | | | |
| /** | | /** | |
|
| | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#use | |
| | | rVisible | |
| | | * | |
| | | * Mark a property, class, or even resource as user visible or | |
| | | not. | |
| | | * Non-user-visible entities should never be presented to the | |
| | | * user. By default everything is user-visible. | |
| | | */ | |
| | | SOPRANO_EXPORT QUrl userVisible(); | |
| | | | |
| | | /** | |
| * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#ver
sion | | * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#ver
sion | |
| * | | * | |
| * Specifies the version of a graph, in numeric format | | * Specifies the version of a graph, in numeric format | |
| */ | | */ | |
| SOPRANO_EXPORT QUrl version(); | | SOPRANO_EXPORT QUrl version(); | |
| } | | } | |
| } | | } | |
| } | | } | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 2 lines changed or deleted | | 39 lines changed or added | |
|
| queryresultiterator.h | | queryresultiterator.h | |
| | | | |
| skipping to change at line 251 | | skipping to change at line 251 | |
| * Check if this is a tuple result. | | * Check if this is a tuple result. | |
| * | | * | |
| * \return \p true if this result refers to a tuple query, i.e. cur
rentBindings(), | | * \return \p true if this result refers to a tuple query, i.e. cur
rentBindings(), | |
| * binding(), bindingCount(), bindingNames(), and allBindings() ret
urn valid values. | | * binding(), bindingCount(), bindingNames(), and allBindings() ret
urn valid values. | |
| */ | | */ | |
| bool isBinding() const; | | bool isBinding() const; | |
| | | | |
| /** | | /** | |
| * Check if this is a boolean result. | | * Check if this is a boolean result. | |
| * | | * | |
|
| * There is no need to call next() for boolean results. However, fo | | * There is no need to call next() for boolean results. | |
| r internal reasons | | | |
| * backends need to always return \p true for boolean queries. | | | |
| * | | * | |
| * \return \p true if this result refers to a boolean query (SPARQL
ASK), i.e. | | * \return \p true if this result refers to a boolean query (SPARQL
ASK), i.e. | |
| * boolValue() returns a valid value. | | * boolValue() returns a valid value. | |
| */ | | */ | |
| bool isBool() const; | | bool isBool() const; | |
| //@} | | //@} | |
| | | | |
| //@{ | | //@{ | |
| /** | | /** | |
| * Convenience method that collects all binding sets that are left | | * Convenience method that collects all binding sets that are left | |
| | | | |
End of changes. 1 change blocks. |
| 3 lines changed or deleted | | 1 lines changed or added | |
|
| queryresultiteratorbackend.h | | queryresultiteratorbackend.h | |
| /* | | /* | |
| * This file is part of Soprano Project. | | * This file is part of Soprano Project. | |
| * | | * | |
| * Copyright (C) 2006 Daniele Galdi <daniele.galdi@gmail.com> | | * Copyright (C) 2006 Daniele Galdi <daniele.galdi@gmail.com> | |
|
| * 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 51 | | skipping to change at line 51 | |
| * Each Backend implementation has to have its own version of QueryResu
ltIteratorBackend. | | * Each Backend implementation has to have its own version of QueryResu
ltIteratorBackend. | |
| * | | * | |
| * \author Daniele Galdi <daniele.galdi@gmail.com><br>Sebastian Trueg <
trueg@kde.org> | | * \author Daniele Galdi <daniele.galdi@gmail.com><br>Sebastian Trueg <
trueg@kde.org> | |
| */ | | */ | |
| class SOPRANO_EXPORT QueryResultIteratorBackend : public IteratorBacken
d<BindingSet> | | class SOPRANO_EXPORT QueryResultIteratorBackend : public IteratorBacken
d<BindingSet> | |
| { | | { | |
| public: | | public: | |
| virtual ~QueryResultIteratorBackend(); | | virtual ~QueryResultIteratorBackend(); | |
| | | | |
| /** | | /** | |
|
| * For internal reasons each backend implementation needs to always | | * For boolean results implementations needs to always return \p fa | |
| * return \p true for boolean results. | | lse to avoid | |
| | | * endless loops in client applications that omit to check the resu | |
| | | lt type. | |
| * | | * | |
| * \sa QueryResultIterator::next | | * \sa QueryResultIterator::next | |
| */ | | */ | |
| virtual bool next() = 0; | | virtual bool next() = 0; | |
| | | | |
| /** | | /** | |
| * The default implementation constructs the | | * The default implementation constructs the | |
| * BindingSet using binding() and bindingNames() | | * BindingSet using binding() and bindingNames() | |
| * | | * | |
| * \sa QueryResultIterator::current | | * \sa QueryResultIterator::current | |
| | | | |
End of changes. 2 change blocks. |
| 3 lines changed or deleted | | 5 lines changed or added | |
|
| soprano_export.h | | soprano_export.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| * Boston, MA 02110-1301, USA. | | * Boston, MA 02110-1301, USA. | |
| */ | | */ | |
| | | | |
| #ifndef SOPRANO_EXPORT_H | | #ifndef SOPRANO_EXPORT_H | |
| #define SOPRANO_EXPORT_H | | #define SOPRANO_EXPORT_H | |
| | | | |
| /* needed for KDE_EXPORT and KDE_IMPORT macros */ | | /* needed for KDE_EXPORT and KDE_IMPORT macros */ | |
| #include <QtCore/QtGlobal> | | #include <QtCore/QtGlobal> | |
| | | | |
| #ifndef SOPRANO_EXPORT | | #ifndef SOPRANO_EXPORT | |
|
| # if defined(MAKE_SOPRANO_LIB) | | # if defined(SOPRANO_STATIC_LIBS) | |
| | | /* No export/import for static libraries */ | |
| | | # define SOPRANO_EXPORT | |
| | | # elif defined(MAKE_SOPRANO_LIB) | |
| /* We are building this library */ | | /* We are building this library */ | |
| # define SOPRANO_EXPORT Q_DECL_EXPORT | | # define SOPRANO_EXPORT Q_DECL_EXPORT | |
| # else | | # else | |
| /* We are using this library */ | | /* We are using this library */ | |
| # define SOPRANO_EXPORT Q_DECL_IMPORT | | # define SOPRANO_EXPORT Q_DECL_IMPORT | |
| # endif | | # endif | |
| #endif | | #endif | |
| | | | |
| #ifndef SOPRANO_SERVER_EXPORT | | #ifndef SOPRANO_SERVER_EXPORT | |
|
| # if defined(MAKE_SOPRANO_SERVER_LIB) | | # if defined(SOPRANO_STATIC_LIBS) | |
| | | /* No export/import for static libraries */ | |
| | | # define SOPRANO_SERVER_EXPORT | |
| | | # elif defined(MAKE_SOPRANO_SERVER_LIB) | |
| /* We are building this library */ | | /* We are building this library */ | |
| # define SOPRANO_SERVER_EXPORT Q_DECL_EXPORT | | # define SOPRANO_SERVER_EXPORT Q_DECL_EXPORT | |
| # else | | # else | |
| /* We are using this library */ | | /* We are using this library */ | |
| # define SOPRANO_SERVER_EXPORT Q_DECL_IMPORT | | # define SOPRANO_SERVER_EXPORT Q_DECL_IMPORT | |
| # endif | | # endif | |
| #endif | | #endif | |
| | | | |
| #ifndef SOPRANO_CLIENT_EXPORT | | #ifndef SOPRANO_CLIENT_EXPORT | |
|
| # if defined(MAKE_SOPRANO_CLIENT_LIB) | | # if defined(SOPRANO_STATIC_LIBS) | |
| | | /* No export/import for static libraries */ | |
| | | # define SOPRANO_CLIENT_EXPORT | |
| | | # elif defined(MAKE_SOPRANO_CLIENT_LIB) | |
| /* We are building this library */ | | /* We are building this library */ | |
| # define SOPRANO_CLIENT_EXPORT Q_DECL_EXPORT | | # define SOPRANO_CLIENT_EXPORT Q_DECL_EXPORT | |
| # else | | # else | |
| /* We are using this library */ | | /* We are using this library */ | |
| # define SOPRANO_CLIENT_EXPORT Q_DECL_IMPORT | | # define SOPRANO_CLIENT_EXPORT Q_DECL_IMPORT | |
| # endif | | # endif | |
| #endif | | #endif | |
| | | | |
| #ifndef SOPRANO_INDEX_EXPORT | | #ifndef SOPRANO_INDEX_EXPORT | |
| # if defined(MAKE_SOPRANO_INDEX_LIB) | | # if defined(MAKE_SOPRANO_INDEX_LIB) | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 12 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.5.3" | | #define SOPRANO_VERSION_STRING "2.5.63" | |
| | | | |
| /// @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 5 | | #define SOPRANO_VERSION_MINOR 5 | |
| | | | |
| /// @brief The Soprano release version number at compile time | | /// @brief The Soprano release version number at compile time | |
|
| #define SOPRANO_VERSION_RELEASE 3 | | #define SOPRANO_VERSION_RELEASE 63 | |
| | | | |
| /** | | /** | |
| * \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 | |
|