Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ask-queries' into ask-queries
Browse files Browse the repository at this point in the history
  • Loading branch information
joka921 committed Oct 24, 2024
2 parents 20eea22 + 689a7e8 commit 86c1cb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/ExportQueryExecutionTrees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ad_utility::streams::stream_generator computeResultForAsk(
// Compute the result of the ASK query.
bool result = getResultForAsk(qet.getResult(true));

// Lambda that returns the result as XML
// Lambda that returns the result bool in XML format.
auto getXmlResult = [result]() {
std::string xmlTemplate = R"(<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
Expand All @@ -45,7 +45,7 @@ ad_utility::streams::stream_generator computeResultForAsk(
}
};

// Lambda that returns the result as Sparql JSON
// Lambda that returns the result bool in SPARQL JSON format.
auto getSparqlJsonResult = [result]() {
nlohmann::json j;
j["head"] = nlohmann::json::object_t{};
Expand Down

0 comments on commit 86c1cb1

Please sign in to comment.