title: Filtering DBpedia disambiguation page
body: <p>I have a SPARQL Query, and I want to eliminate all disambigution resources. How can I do this?  This is my query:</p>
  
  <pre class="lang-sql prettyprint-override"><code>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; 
  prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; 
  
  select distinct ?Nom ?resource ?url where {
     ?resource rdfs:label ?Nom.
     ?resource foaf:isPrimaryTopicOf ?url.
     FILTER (langMatches( lang(?Nom), "EN" )).
     ?Nom &lt;bif:contains&gt; "Apple".
  }  
  </code></pre>