SPARQL query on PHP-script Hosting tutorial
SPARQL Query on PHP ODBC Hosting Demo Demonstrates the use of a PHP script hosted in Virtuoso to execute SPARQL queries against Virtuoso's RDF Triplestore. Note, this demo leverages PHP's ODBC based data access layer and Virtuoso's ability to execute SPARQL via its SQL query processor.

## PHP script calling ODBC

This demo shows simple ODBC functions being used in a PHP script: odbc_connect(), odbc_exec(), odbc_result_all() and odbc_tables().

The demo makes sparql queries on Virtuoso's RDF database using "sparql select" syntax. The data is loaded on tutorial vad installation time by the sparql_demo.