The example for quantity contains the prefix v: which I don't see anywhere else, does anyone know what this is supposed to be?
Topic on Talk:Wikibase/Indexing/RDF Dump Format
I think this is supposed to be "wdv" for <http://www.wikidata.org/value/>. See for example this query. I have updated the examples accordingly.