title: Extract triples containing particular substring using SPARQL
body: <p>I want to extract a triple which contains word say "alice" in its subject. The query I used was: </p>
  
  <pre><code>SELECT ?s ?p ?o  WHERE { ?s ?p ?o .FILTER regex(?s, \"alice\") .}
  </code></pre>
  
  <p>This doesn't give me any results inspite of have a triple which satisfies this constraint.</p>
  
  <p>On the other hand when I use the same query to extract a triple which contains a word brillant in its object .It returns only one of the 2 possible matches.</p>
  
  <p>The query used is:</p>
  
  <pre><code>SELECT ?s ?p ?o  WHERE { ?s ?p ?o .FILTER regex(?o, \"brillant\") .}
  </code></pre>
  
  <p>Please let me know where am I going wrong and what is the reason for this behaviour.</p>