index.php File Reference
Entry point of a query for the SPARQL web service. More...
Go to the source code of this file.
Variables | |
| $query = "" | |
| if(isset($_POST['query'])) | $dataset = "" |
| if(isset($_POST['dataset'])) | $limit = 2000 |
| if(isset($_POST['limit'])) | $offset = 0 |
| if(isset($_POST['offset'])) | $registered_ip = "" |
| if(isset($_POST['registered_ip'])) | $mtime = microtime() |
| $starttime = $mtime | |
| $start_datetime = date("Y-m-d h:i:s") | |
| $requester_ip = "0.0.0.0" | |
| if(isset($_SERVER['REMOTE_ADDR'])) | $parameters = "" |
| if(isset($_SERVER['REQUEST_URI'])) elseif(isset($_SERVER['PHP_SELF'])) | $ws_sparql = new Sparql($query, $dataset, $limit, $offset, $registered_ip, $requester_ip) |
| $endtime = $mtime | |
| $totaltime = ($endtime - $starttime) | |
| $logger | |
Detailed Description
Entry point of a query for the SPARQL web service.Each time a query is sent to this web service, this index.php script will read the web service class and will process it. The resultset, or error, will be returned to the user in the HTTP header & body query.
Definition in file sparql/index.php.
