SPARQL Import
RQ-S-3 RDF data import on PHP ODBC Hosting Demo
Demonstrates the use of a PHP script hosted in Virtuoso to import RDF data using SPARQL sponger. Note, this demo leverages PHP's ODBC based data access layer and Virtuoso's ability to execute SPARQL via its SQL query processor.
PHP page invoking the SPARQL sponger
This demo demonstrates the use of PHP script hosted in Virtuoso to import RDF data using SPARQL sponger. Note, this demo leverages PHP's ODBC based data access layer and Virtuoso's ability to execute SPARQL via its SQL query processor.
This demo presents a PHP form to the user to enter a URL. The form action (buton click) will perform import of RDF data. Note: this tutorial is limitied to no more than 10 MB files to be imported. Also note that pinging the service is not needed if [SPARQL] INI section has PingService = http://rpc.pingthesemanticweb.com/ setting.
In order to run this example you need PHP Runtime Hosting Enabled.
| View the source | Action |
|---|---|
| 1. create_local_dsn.sql | Set the initial state |
| 2. rq_s_3.sql | |
| 3. ajax.php | |
| 4. rdf_import.php | Run |
OpenLink Home
Technical Support