Mistakenly used object instead of subject in a rdf:List triple construct.
Compare string with a string.