Skip to content

Commit

Permalink
Very minor fix of two comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Oct 22, 2024
1 parent 892cf14 commit 689a7e8
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 689a7e8

Please sign in to comment.