Tutorial how to integrate DBpedia in Q&A system?

I have a JSON API created for “mathematics question”. Here is a simple demo:
https://symja.org/

the description of the API can be found here:

What is the best way to integrate “wikipedia questions” in the API with DBpedia?

  • is it possible to redirect questions directly to DBpedia server?
  • is it required to download all related data into my own tool?
  • do you have a tutorial how to implement simple Q&A tool?