Debian Codegraph @

Source/Reasoner/Triples/CRedlandStoredTriplesIndexingBaseResolvingLinker.h

raw ◀ ▶
1 Debian patch touch this file
1 /*
2 * Copyright (C) 2013-2015, 2019 by the Konclude Developer Team.
3 *
4 * This file is part of the reasoning system Konclude.
5 * For details and support, see <http://konclude.com/>.
6 *
7 * Konclude is free software: you can redistribute it and/or modify
8 * it under the terms of version 3 of the GNU Lesser General Public
9 * License (LGPLv3) as published by the Free Software Foundation.
10 *
11 * Konclude is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU (Lesser) General Public License for more details.
15 *
16 * You should have received a copy of the GNU (Lesser) General Public
17 * License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20 #ifdef KONCLUDE_REDLAND_INTEGRATION
21
22 #ifndef KONCLUDE_REASONER_TRIPLES_CREDLANDSTOREDTRIPLESINDEXINGBASERESOLVINGLINKER_H
23 #define KONCLUDE_REASONER_TRIPLES_CREDLANDSTOREDTRIPLESINDEXINGBASERESOLVINGLINKER_H
24
25 // Libraries includes
•26 #include <librdf.h>
27
28
29 // Namespace includes
30 #include "TriplesSettings.h"
31
32
33 // Other includes
34 #include "Reasoner/Ontology/CIndividual.h"
35
36
37 #include "Utilities/Container/CLinker.h"
38
39 // Logger includes
40 #include "Logger/CLogger.h"
41 #include "Logger/CLogIdentifier.h"
42
43
44
45
46
47 namespace Konclude {
48
49 using namespace Utilities::Container;
50
51 namespace Reasoner {
52
53 using namespace Ontology;
54
55 namespace Triples {
56
57
58
59 /*!
60 *
61 * \class CRedlandStoredTriplesIndexingBaseResolvingLinker
62 * \author Andreas Steigmiller
63 * \version 0.1
64 * \brief TODO
65 *
66 */
67 class CRedlandStoredTriplesIndexingBaseResolvingLinker : public CLinkerBase<cint64, CRedlandStoredTriplesIndexingBaseResolvingLinker> {
68 // public methods
69 public:
70 //! Constructor
71 CRedlandStoredTriplesIndexingBaseResolvingLinker();
72
73 enum ASSERTION_TYPE {
74 ASSERTION_NONE = 0,
75 ASSERTION_INDIVIDUAL = 1,
76 ASSERTION_CONCEPT = 2,
77 ASSERTION_ROLE = 3,
78 ASSERTION_ROLE_REVERSE = 4,
79 ASSERTION_DATA = 5
80 };
81
82 librdf_statement* mStatement;
83
84 CIndividual* mIndi1;
85 cint64 mIndi1HashValue;
86
87 CConcept* mConcept;
88 CRole* mRole;
89 CDataLiteral* mDataLiteral;
90
91 CIndividual* mIndi2;
92 cint64 mIndi2HashValue;
93
94 CRoleAssertionLinker* mRoleAssLinker;
95
96
97 // protected methods
98 protected:
99
100 // protected variables
101 protected:
102
103 // private methods
104 private:
105
106 // private variables
107 private:
108
109 };
110
111
112 }; // end namespace Triples
113
114 }; // end namespace Reasoner
115
116 }; // end namespace Konclude
117
118 #endif // KONCLUDE_REASONER_TRIPLES_CREDLANDSTOREDTRIPLESINDEXINGBASERESOLVINGLINKER_H
119
120 #endif // !KONCLUDE_REDLAND_INTEGRATION