Skip to content

Commit

Permalink
Fixed: new virtuoso search pattern usage
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfeedface committed May 27, 2010
1 parent 4581351 commit a19e6cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Erfurt/Store/Adapter/Virtuoso.php
Expand Up @@ -362,9 +362,13 @@ public function getLogoUri()
* @see Erfurt_Store
*/
public function getSearchPattern($stringSpec, $graphUris, $options)
{
{
$searchPattern = array();

if (false === strpos($stringSpec, '*')) {
$stringSpec .= '*';
}

require_once 'Erfurt/Sparql/Query2/Var.php';
$subjectVariable = new Erfurt_Sparql_Query2_Var('resourceUri');
$predicateVariable = new Erfurt_Sparql_Query2_Var('p');
Expand Down

0 comments on commit a19e6cd

Please sign in to comment.