# Samples of Querying a Topic in the SOW

The C++ client includes the following samples that demonstrate how to query a topic in the SOW.

| Sample Name            | Demonstrates                        |
| ---------------------- | ----------------------------------- |
| `amps_publish_sow.cpp` | Publishing messages to a SOW topic. |
| `amps_query_sow.cpp`   | Querying messages from a SOW topic. |
