Debian Codegraph @

Source/Reasoner/Query/CWriteQueryFileOWL2FunctionalSerializer.h

raw
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
21 #ifndef KONCLUDE_REASONER_QUERY_CWRITEQUERYFILEOWL2FUNCTIONALSERIALIZER_H
22 #define KONCLUDE_REASONER_QUERY_CWRITEQUERYFILEOWL2FUNCTIONALSERIALIZER_H
23
24 // Libraries includes
25 #include <QString>
26 #include <QDir>
27 #include <QFile>
28
29
30 // Namespace includes
31 #include "QuerySettings.h"
32 #include "CWriteQueryFileSerializer.h"
33
34
35 // Other includes
36
37 // Logger includes
38 #include "Logger/CLogger.h"
39
40
41
42 namespace Konclude {
43
44 namespace Reasoner {
45
46 namespace Query {
47
48 /*!
49 *
50 * \class CWriteQueryFileOWL2FunctionalSerializer
51 * \author Andreas Steigmiller
52 * \version 0.1
53 * \brief TODO
54 *
55 */
56 class CWriteQueryFileOWL2FunctionalSerializer : public CWriteQueryFileSerializer {
57 // public methods
58 public:
59 //! Constructor
60 CWriteQueryFileOWL2FunctionalSerializer(const QString& fileString);
61
62 virtual void writeObjectPropertyDeclaration(const QString& propertyName);
63 virtual void writeDataPropertyDeclaration(const QString& propertyName);
64 virtual void writeSubObjectPropertyRelation(const QString& subPropertyName, const QString& superPropertyName);
65 virtual void writeSubDataPropertyRelation(const QString& subPropertyName, const QString& superPropertyName);
66 virtual void writeObjectPropertyEquivalenceRelations(const QStringList& propertyNameList);
67 virtual void writeDataPropertyEquivalenceRelations(const QStringList& propertyNameList);
68
69
70 virtual void writeClassDeclaration(const QString& className);
71 virtual void writeSubClassRelation(const QString& subClassName, const QString& superClassName);
72 virtual void writeClassEquivalenceRelations(const QStringList& classNameList);
73
74
75 virtual void writeNamedIndividualDeclaration(const QString& individualName);
76 virtual void writeAnonymousIndividualDeclaration(const QString& className);
77 virtual void writeNamedIndividualType(const QString& individualName, const QString& className);
78 virtual void writeAnonymousIndividualType(const QString& individualName, const QString& className);
79
80 virtual void writeOntologyStart();
81 virtual void writeOntologyEnd();
82 virtual void writeOntologyPrefix(const QString& prefixName, const QString& prefixIRI);
83
84
85 // protected methods
86 protected:
87
88 // protected variables
89 protected:
90
91 // private methods
92 private:
93
94 // private variables
95 private:
96
97 };
98
99 }; // end namespace Query
100
101 }; // end namespace Reasoner
102
103 }; // end namespace Konclude
104
105 #endif // KONCLUDE_REASONER_QUERY_CWRITEQUERYFILEOWL2FUNCTIONALSERIALIZER_H