A declarative query language based on speech act theory for web systems

The World Wide Wide provides an enormous resources to be utilized by human. There are many possibilities of their existence, from unstructured data (can only be processed by human), semi structured data (structured data inside unstructured data), and fully structured data. In this context, many web scraper software exist to fetch and extract those data from the Web. However, until now, those tools are meant to just help human to fetch web pages / resources. Therefore, while useful for human, they do not significantly contribute to automation. To enhance level of automation, we must combine pragmatic capabilities into client / web scraper (as service consumer) and server / web application (as service provider). In this paper we propose a declarative query language for service consumer and service provider interaction. To enable pragmatic capabilities, we use illocutionary act from speech act theory as interaction patterns. The declarative query language reside on the service consumer's side while service provider provides resources to parse requests from service consumer and act accordingly. A prototype implementation of the declarative query language is presented.