rdf_store_serialize.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-trine-perl/examples/bin/rdf_store_serialize.pl - from package: librdf-trine-perl

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