server/src/app/Libraries/Sparql/SparqlClient.php
changeset 387 7fba86fa8604
parent 307 07b44a378ad8
child 405 f239c8c5bb94
equal deleted inserted replaced
386:c731ab9b934d 387:7fba86fa8604
   165      * Just call and return EasyRdf\Sparql\Client::query
   165      * Just call and return EasyRdf\Sparql\Client::query
   166      *
   166      *
   167      * @param string $query The query string to be executed
   167      * @param string $query The query string to be executed
   168      * @return object EasyRdf\Sparql\Result|EasyRdf\Graph Result of the query.
   168      * @return object EasyRdf\Sparql\Result|EasyRdf\Graph Result of the query.
   169      */
   169      */
   170     public function query($query) {
   170     public function query($query, $timeout=0) {
   171         return $this->sparqlClient->query($query);
   171         return $this->sparqlClient->query($query, $timeout);
   172     }
   172     }
   173 
   173 
   174 }
   174 }