Query Processing includes services to query knowledge resources such as plants, diseases, disease treatments, tribal vaidyas, patients etc, and also provides services to query ontology and annotations.

Querying knowledge resources are based on the following formats

Query-by-Text (Structured and Free format)
Query-by-Image

The response of a query may involves one of the following formats

Text only
Image Only
Text and Image
Query-by-Text including querying knowledge resources in both structured and free format. In structured query the format for querying each of the knowledge resource has a fixed format. For example, in case of querying a vaidya details the system asks to select the vaidya name instead of asking to enter the vaidya name.

In querying knowledge resources in free format, the users enters their own query. System analyzes the query based on the keywords present in it, and then based on the keywords, it forms a structured query and then the query is evaluated against the knowledge resources database.

In Query-by-Image the input is image. Then the features are extracted form the given image and the features are matched against the image database. Based on the matched features the query may return one of the following as a response

Matched images
Annotations Associated with the images
Matched images along with associated annotations