Solve issue #2
Add composeSparqlQuery() and change the const in endpointbase.class.php
Merge pull request #3 from gentryyao/feature_endpoint

Solve issue #2