when I try to use the command d2r-server.bat kg_demo_movie_mapping.ttl in the terminal, the command not found.
And I tried to modify the .bash_profile as follow :

it's still not working.
Is there anyway to fix this?
The picture of bat file, and the terminal :

Batch files are for Windows use. In a bash shell you'll need a bash script. Bash scripts can be identified by a shebang line at the top of the script, e.g.:
In the specific case of the d2rq package there are scripts included. Look through the files in your downloaded package and you'll find the bash scripts share the same basename without the
.batextension of the windows batch files.