Skip to content

Commit e70355b

Browse files
v0.6.2-965, fixed compilation without Redland
1 parent 7338a40 commit e70355b

10 files changed

+6509
-21291
lines changed

Konclude-VS15.vcproj

Lines changed: 0 additions & 21286 deletions
This file was deleted.

Konclude-VS15.vcxproj

Lines changed: 6492 additions & 0 deletions
Large diffs are not rendered by default.

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ For MacOS, the Redland RDF Libraries are currently not integrated/tested, i.e.,
150150
# CHANGELOG
151151
152152
153-
- Konclude v0.6.2-964 (pre-release):
153+
- Konclude v0.6.2-965 (pre-release):
154154
- Support of more SPARQL features (e.g., OPTIONAL, UNION, FILTER, aggregates, etc.) via Redland Rasqal.
155155
- Several bug fixes.
156156

Source/Control/Interface/OWLlink/COWLlinkProcessor.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,7 @@ namespace Konclude {
11431143

11441144
QList<CQuery*> queryList = gQDKBRUC->getQueryList();
11451145
for (CQuery* query : queryList) {
1146+
#ifdef KONCLUDE_REDLAND_INTEGRATION
11461147
CRedlandRasqalBGPsCompositionQuery* rrcq = dynamic_cast<CRedlandRasqalBGPsCompositionQuery*>(query);
11471148
if (rrcq) {
11481149
QList<CKnowledgeBaseRevisionCommandProvider*> kbProviderList;
@@ -1155,6 +1156,7 @@ namespace Konclude {
11551156
CInstallQueryDependentKnowledgeBaseRevisionUpdatesCommand* insKBRUC = new CInstallQueryDependentKnowledgeBaseRevisionUpdatesCommand(kbProviderList, query, gQDKBRUC);
11561157
preSynchronizer->delegateCommand(insKBRUC);
11571158
}
1159+
#endif // KONCLUDE_REDLAND_INTEGRATION
11581160
}
11591161

11601162
CStopProcessCommandRecord::makeRecord(&commandRecordRouter);
@@ -1166,6 +1168,7 @@ namespace Konclude {
11661168
CInstallQueryDependentKnowledgeBaseRevisionUpdatesCommand *iQDKBRUC = (CInstallQueryDependentKnowledgeBaseRevisionUpdatesCommand*)command;
11671169

11681170
CQuery* query = iQDKBRUC->getQuery();
1171+
#ifdef KONCLUDE_REDLAND_INTEGRATION
11691172
CRedlandRasqalBGPsCompositionQuery* rrcq = dynamic_cast<CRedlandRasqalBGPsCompositionQuery*>(query);
11701173
if (rrcq) {
11711174
QList<CKnowledgeBaseRevisionCommandProvider*>* kbRCPList = iQDKBRUC->getDependentKnowledgeBasesProviderCommandList();
@@ -1178,6 +1181,7 @@ namespace Konclude {
11781181
}
11791182
}
11801183
}
1184+
#endif // KONCLUDE_REDLAND_INTEGRATION
11811185

11821186
CStopProcessCommandRecord::makeRecord(&commandRecordRouter);
11831187
CFinishProcessCommandRecord::makeRecord(&commandRecordRouter);

Source/Control/Interface/SPARQL/CSPARQLResultStreamingData.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ namespace Konclude {
9393
}
9494
}
9595

96+
#ifdef KONCLUDE_REDLAND_INTEGRATION
9697
CRedlandRasqalBGPsCompositionQuery* redRasqQuery = dynamic_cast<CRedlandRasqalBGPsCompositionQuery*>(mQuery);
9798
if (redRasqQuery) {
9899
const QString& queryText = redRasqQuery->getQueryText();
@@ -104,6 +105,7 @@ namespace Konclude {
104105
redRasqQuery->setQueryResult(mStreamingResult);
105106
}
106107
}
108+
#endif // KONCLUDE_REDLAND_INTEGRATION
107109

108110
}
109111
return mQuery;

Source/Reasoner/Answerer/CComplexQueryCompositionRedlandRasqalProcessingData.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
1818
*
1919
*/
20+
#ifdef KONCLUDE_REDLAND_INTEGRATION
2021

2122
#include "CComplexQueryCompositionRedlandRasqalProcessingData.h"
2223

@@ -149,3 +150,5 @@ namespace Konclude {
149150
}; // end namespace Reasoner
150151

151152
}; // end namespace Konclude
153+
154+
#endif // KONCLUDE_REDLAND_INTEGRATION

Source/Reasoner/Answerer/CComplexQueryCompositionRedlandRasqalProcessingData.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
1818
*
1919
*/
20+
#ifdef KONCLUDE_REDLAND_INTEGRATION
2021

2122
#ifndef KONCLUDE_REASONER_ANSWERER_CCOMPLEXQUERYCOMPOSITIONREDLANDRASQALPROCESSINGDATA_H
2223
#define KONCLUDE_REASONER_ANSWERER_CCOMPLEXQUERYCOMPOSITIONREDLANDRASQALPROCESSINGDATA_H
@@ -152,3 +153,5 @@ namespace Konclude {
152153
}; // end namespace Konclude
153154

154155
#endif // KONCLUDE_REASONER_ANSWERER_CCOMPLEXQUERYCOMPOSITIONREDLANDRASQALPROCESSINGDATA_H
156+
157+
#endif // KONCLUDE_REDLAND_INTEGRATION

Source/Reasoner/Answerer/CConfigurationAnsweringHandlerFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace Konclude {
5252
#ifdef KONCLUDE_REDLAND_INTEGRATION
5353
answeringHandler = new COptimizedComplexCompositionRedlandRasqalAnsweringHandler(ontoAnsweringItem);
5454
#else
55-
answeringHandler = new COptimizedComplexCompositionAnsweringHandler(ontoAnsweringItem);
55+
answeringHandler = nullptr;
5656
#endif // KONCLUDE_REDLAND_INTEGRATION
5757
}
5858
return answeringHandler;

Source/Reasoner/Query/CRedlandRasqalBGPsCompositionQuery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace Konclude {
8585
TDependentOntologyPair depOntPair = mDependentKnowledgeBaseRevisionHash.value(kbName);
8686
return depOntPair.second;
8787
}
88-
88+
8989

9090
}; // end namespace Query
9191

revision-git.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#define KONCLUDE_VERSION_GIT_REVISION_NUMBER 964
1+
#define KONCLUDE_VERSION_GIT_REVISION_NUMBER 965
22
#define KONCLUDE_VERSION_GIT_TAG_NAME_STRING "v0.6.2"
3-
#define KONCLUDE_VERSION_GIT_REVISION_HASH_STRING "eb60d0dd"
3+
#define KONCLUDE_VERSION_GIT_REVISION_HASH_STRING "fa20b125"

0 commit comments

Comments
 (0)