7 int main(
int argc,
char* argv[])
11 std::cout <<
"query sub/super classes of: " << argv[1] << std::endl;
12 std::string query = argv[1];
13 std::string token =
"my_token";
19 auto sb_cb = [](std::vector<std::string> classes)
21 for (
const auto & str : classes)
22 std::cout << str << std::endl;
26 auto sub_call = std::make_shared<rapp::cloud::ontology_subclasses_of>(query,
false, sb_cb, token);
29 auto sp_cb = [](std::vector<std::string> classes)
31 for (
const auto & str : classes)
32 std::cout << str << std::endl;
36 auto super_call = std::make_shared<rapp::cloud::ontology_superclasses_of>(query,
false, sp_cb, token);
Main class that controllers RAPP Services.
void run_job(const std::shared_ptr< asio_socket > job)
Run one service job.
int main(int argc, char *argv[])