Semantic web service discovery is done based on OWL-S.
ServiceProfile documents are used for service matching. The
first step in the service discovery process is service category
matching. The category of service is stored in the ServiceProfile. This value is matched against service category
of the user request. If there is match the web service is
selected to enter the next service layer.