Similar Items: Capturing Logarithmic Space and Polynomial Time on Chordal Claw-Free Graphs