fedquery.pl: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/share/doc/librdf-query-perl/examples/bin/fedquery.pl - from package: librdf-query-perl

You may install the required package with command apt-get install {package}
Error in other languages:
fedquery.pl: bevel nie gevind nie
fedquery.pl: comandă negăsită
fedquery.pl: comando não encontrado
fedquery.pl: commande introuvable
fedquery.pl: command not found
fedquery.pl: käsku ei ole
fedquery.pl: không tìm thấy lệnh
fedquery.pl: komanda nerasta
fedquery.pl: Kommando nicht gefunden.
fedquery.pl: kommandot finns inte
fedquery.pl: komut yok
fedquery.pl: nie znaleziono polecenia
fedquery.pl: níor aimsíodh an t-ordú
fedquery.pl: no se encontró la orden
fedquery.pl: no s'ha trobat l'ordre
fedquery.pl: opdracht niet gevonden
fedquery.pl: parancs nem található
fedquery.pl: perintah tidak ditemukan
fedquery.pl: príkaz nenájdený
fedquery.pl: příkaz nenalezen
fedquery.pl: команда не найдена
fedquery.pl: командата не е открита
fedquery.pl: 命令找不到
fedquery.pl: コマンドが見つかりません