I have a Design Course Ontology. I want to create a frontend with just one search bar. The back end should contain SPARQL Query that I'm using in Protege 5.2
This is too broad.
If I understand right what you want; you need to build a user interface that interacts with a SPARQL engine, sends queries and receives results.
If this is what you want, there are multiple options.
Microsoft
Java:
sparqlservice
. This, however, would rather be complicated for your purposes.