I'm more thinking like a search engine against the web, but designed around being able to query in sophisticated ways: e.g., regexs, views against the outputs, being able to collect data into forms that a programming language can reason & requery against. WebQL is a commercial product that is like what I'm describing.