Fix and use RDF streaming

https://www.pivotaltracker.com/story/show/80671446
https://www.pivotaltracker.com/story/show/59236554
`AssertionError` it is.

I'm not sure what you mean about `switch(){}` (or, rather, how to use it in Java in this situation.)