6 #ifndef KNOWROB_CONJUNCTIVE_QUERY_H
7 #define KNOWROB_CONJUNCTIVE_QUERY_H
9 #include "knowrob/queries/Query.h"
10 #include "knowrob/semweb/GraphTerm.h"
11 #include "knowrob/semweb/TriplePattern.h"
12 #include "knowrob/formulas/SimpleConjunction.h"
19 class ConjunctiveQuery :
public Query {
45 void write(std::ostream &os)
const override;
ConjunctiveQuery(const FirstOrderLiteralPtr &query, const QueryContextPtr &ctx)
SimpleConjunctionPtr formula_
ConjunctiveQuery(const QueryContextPtr &ctx=DefaultQueryContext())
ConjunctiveQuery(const std::vector< FirstOrderLiteralPtr > &query, const QueryContextPtr &ctx=DefaultQueryContext())
void write(std::ostream &os) const override
std::shared_ptr< SimpleConjunction > SimpleConjunctionPtr
QueryContextPtr DefaultQueryContext()
std::shared_ptr< ConjunctiveQuery > ConjunctiveQueryPtr
std::shared_ptr< const QueryContext > QueryContextPtr
std::shared_ptr< FirstOrderLiteral > FirstOrderLiteralPtr