Most query-languages for databases are not as elegant or expressive as CSS.
Has anyone attempted to use CSS selectors as the query language for databases?
This idea lends itself naturally to document databases - let's say you have the following document:
<blogpost title="This Week's Crazy Idea">
<user name="Rasmus" class="author"/>
<body>
...