The nice thing about programming at the RDF level is that you can just say, I'll ask for all the books. You can ask for all the shelves. You can ask for a given shelf whether a book was on it. And you're not worrying so much about the underlying syntax.
Tim Berners-Lee