Focusing problem solving with bird's-eye view & ground level implementation.
String-> str_otlQuery = select employee_number from HR.PER_ALL_PEOPLE_F where NATIONAL_IDENTIFIER='{0}'
String.Format(str_otlQuery,"111-11-1111")
Output -> select employee_number from HR.PER_ALL_PEOPLE_F where NATIONAL_IDENTIFIER='111-11-1111'
Check for extra spaces in the URL.