Preventing duplicate rdf:rest rdf:nil triple