title: SPARQL Querying for RDF File
body: <p>I have a RDF File like the one shown below. But I am finding it hard to do queries on it. For example could anyone tell me a simple query where I could extract the about (http://websitename.com/urls/a) or resource (http://websitename.com/urls/b) or about and resource where the relationship/owl is sameas.</p>
  
  <pre><code>&lt;rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:owl="http://www.w3.org/2002/07/owl#" &gt;
    &lt;rdf:Description rdf:about="http://websitename.com/urls/a"&gt;
      &lt;owl:sameas rdf:resource="http://websitename.com/urls/b"/&gt;
    &lt;/rdf:Description&gt;
  &lt;/rdf:RDF&gt;
  </code></pre>
  
  <p>Thanks</p>