6 #ifndef QUERY_FACT_HPP_
7 #define QUERY_FACT_HPP_
15 class ReasoningKernel;
16 class TDLConceptExpression;
17 class TDLIndividualExpression;
18 class TDLObjectRoleExpression;
33 OWLCPP_LOGIC_DECL TDLConceptExpression*
concept(
36 ReasoningKernel& kernel
41 OWLCPP_LOGIC_DECL TDLConceptExpression*
concept(
42 const std::string& uri,
43 const std::string& class_term,
45 ReasoningKernel& kernel
51 OWLCPP_LOGIC_DECL TDLConceptExpression*
concept(
52 const std::string& iri,
54 ReasoningKernel& kernel
59 OWLCPP_LOGIC_DECL TDLIndividualExpression* instance(
62 ReasoningKernel& kernel
68 OWLCPP_LOGIC_DECL TDLIndividualExpression* instance(
69 const std::string& uri,
70 const std::string& instance_term,
72 ReasoningKernel& kernel
77 OWLCPP_LOGIC_DECL TDLObjectRoleExpression* property(
80 ReasoningKernel& kernel
86 OWLCPP_LOGIC_DECL TDLObjectRoleExpression* property(
87 const std::string& uri,
88 const std::string& property_term,
90 ReasoningKernel& kernel
95 OWLCPP_LOGIC_DECL TDLObjectRoleExpression* property(
96 const std::string& iri,
98 ReasoningKernel& kernel
103 OWLCPP_LOGIC_DECL
bool is_subclass(
104 const std::string& sub,
105 const std::string& super,
107 ReasoningKernel& kernel
115 const std::string& c1,
116 const std::string& p,
117 const std::string& c2,
119 ReasoningKernel& kernel
125 const TDLConceptExpression* c1e,
126 const TDLObjectRoleExpression* pe,
127 const TDLConceptExpression* c2e,
128 ReasoningKernel& kernel
133 OWLCPP_LOGIC_DECL
void get_sub_super(
135 std::vector<std::string>& cv,
136 const TDLConceptExpression* ce,
138 ReasoningKernel& kernel,
139 const bool direct =
false
150 OWLCPP_LOGIC_DECL
void get_sub_super(
151 const std::vector<const CE_predicate*>& pred,
152 std::vector<std::string>& cv,
153 const TDLConceptExpression* ce,
155 ReasoningKernel& kernel,
156 const bool direct =
false