refactor triple store bug fixes, bind label instead of object