Is it possible to put several SPARQL queries into one file (like SQL SELECTs) and use it for tdbquery.bat Jena command line tool?
tdbquery.bat --loc=../data_dir --query=several_queries.sparql
I can do it in Java code but may be I can do it via tdbquery?
No, you can’t run multiple queries with a single file.
But you can write your own
.batfile that simply runstdbquerymultiple times, with a separate.sparqlfile for each call. That’s probably simpler than cracking out the Java.