I have created an ontology (.owl file) using Protege. The SPARQL Query tab in Protege works fine while querying the ontology, indicating that the ontology is free from errors. I have also uploaded this .owl file to my website (say http://www.abc.me/trial.owl). I apologise for not being able to provide the actual link.
I need to create a webpage using HTML and JavaScript to run SPARQL queries on this ontology. I've come across https://github.com/ktym/d3sparql but I'm not so clear with the concept of endpoints.
How do I go about querying my .owl file from my webpage?