A method and apparatus provide for implementing query-response
interactions on a publish-subscribe network. An advertisement relating to
a data set and a query representing a logical expression are received.
The advertisement is mapped to a corresponding subscription. The query is
mapped to a corresponding notification. The subscription and the
notification are used for implementing of the advertisement and the query
in the network.