Redland Query Language Interface sketch on the ESW Wiki. A brain dump somewhat polished of what I envision for how "real" query languages (that is, strings that give you a result set back) would be in the API and how it would be implemented internally. Looks like there might be some people working on using this soonish.