percyliang / sempre

Semantic Parser with Execution
Other
829 stars 300 forks source link

How to print out the Sparql expression? #153

Open wsxsh opened 7 years ago

wsxsh commented 7 years ago

I want to print the Sparql expression when I type in the question. So how can I get it? Thank you very very much.

ppasupat commented 7 years ago

Could you try adding -SparqlExecutor.verbose 3 to the run command you used?

./run @mode=... [other arguments] ... -SparqlExecutor.verbose 3
mr-asleep commented 4 years ago

Sparql Executor not working. Please help. Thanks

./run @mode=simple -SparqlExecutor.verbose 3 Unknown option: 'sparqlexecutor.verbose'; -help for usage Command failed: java -cp libsempre/:lib/ -ea edu.stanford.nlp.sempre.Main -Main.interactive -SparqlExecutor.verbose 3

ppasupat commented 4 years ago

Could you run ./run @mode=simple -help and see what is printed?

Note that since SparqlExecutor is under the freebase package, you would also need to do ant freebase before running the run command.