title: Filtering SPARQL Results
body: <p>I have following example triples</p>
  
  <pre><code>r1 -&gt; property -&gt; resourceA
  r1 -&gt; property -&gt; resourceB
  r1 -&gt; property -&gt; resourceC
  resourceA -&gt; name -&gt; word1
  resourceB -&gt; name -&gt; word2
  resourceC -&gt; name -&gt; word4
  
  r2 -&gt; property -&gt; resourceD
  r2 -&gt; property -&gt; resourceE
  r2 -&gt; property -&gt; resourceF
  resourceD -&gt; name -&gt; word1
  resourceE -&gt; name -&gt; word2
  resourceF -&gt; name -&gt; word3
  
  r3 -&gt; property -&gt; resourceG
  r3 -&gt; property -&gt; resourceH
  r3 -&gt; property -&gt; resourceI
  resourceG -&gt; name -&gt; word5
  resourceH -&gt; name -&gt; word6
  resourceI -&gt; name -&gt; word7
  </code></pre>
  
  <p>As parameter i use word1 and word2. I want to get all words incl. word1 and word2, which occurrence with the word1 and word2 together.</p>
  
  <p>The result from this example must be:</p>
  
  <pre><code>word1
  word2
  word3
  word4
  </code></pre>
  
  <p>I have really no idea, how to make this :(</p>