title: SPARQL on REGEX filter name
body: <p>SPARQL on REGEX filter name works when I use direct search query. It is not working on regex using query.  </p>
  
  <pre class="lang-sql prettyprint-override"><code>PREFIX dbpedia: &lt;http://dbpedia.org/&gt;
  PREFIX dbpedia2: &lt;http://dbpedia.org/property/&gt;
  PREFIX dbpedia-owl: &lt;http://dbpedia.org/ontology/&gt;
  PREFIX dcterms: &lt;http://dublincore.org/2010/10/11/dcterms.rdf#&gt;
  PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
  PREFIX geo: &lt;http://www.w3.org/2003/01/geo/wgs84_pos#&gt;
  PREFIX grs: &lt;http://www.georss.org/georss/point&gt;
  PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
  PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
  
  select distinct ?iri ?logo ?description 
    {
      values ?hasLogo { foaf:depiction dbpedia-owl:thumbnail }
      values ?hasName { foaf:name rdfs:label }
      ?iri a                    dbpedia-owl:Company ;
           dbpedia-owl:abstract ?description ;
           filter(regex(?Name, "Lufthansa", "i" )) ;
          ?hasLogo              ?logo .
          filter( langMatches(lang(?description),"en") )
      }
  </code></pre>
  
  <p>Above code was not working because of <code>filter(regex(?Name, "Lufthansa", "i" )) ;</code></p>
  
  <p>If I used direct search <code>?Name "Lufthansa"@en ;</code> it works fine.</p>
  
  <p>Why is this?</p>