equal
deleted
inserted
replaced
63 if($timeout > 0) { |
63 if($timeout > 0) { |
64 $queryUrl = $queryUrl . |
64 $queryUrl = $queryUrl . |
65 ((strlen(parse_url($queryUrl, PHP_URL_QUERY)) > 0)?"&":"?"). |
65 ((strlen(parse_url($queryUrl, PHP_URL_QUERY)) > 0)?"&":"?"). |
66 "timeout=$timeout"; |
66 "timeout=$timeout"; |
67 } |
67 } |
68 return new \EasyRdf\Sparql\Client($queryUrl, config('corpusparole.rdf4j_update_url')); |
68 return new \CorpusParole\Libraries\Sparql\GuzzleSparqlClient($this->httpClient, $queryUrl, config('corpusparole.rdf4j_update_url')); |
69 } |
69 } |
70 |
70 |
71 // display form |
71 // display form |
72 public function index() { |
72 public function index() { |
73 return view('sparql/sparqlClientForm'); |
73 return view('sparql/sparqlClientForm'); |