title: How can you remove the XML schema datattype from sparql query?
body: <p>Im running a sparql query on a file that contains</p>
  
  <pre><code>&lt;User rdf:about="#RJ"&gt;
  &lt;hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;RJ&lt;/hasName&gt;
  &lt;/User&gt;
  </code></pre>
  
  <p>I want to return only the name i.e. 'RJ' but when i enter my query  </p>
  
  <pre><code>SELECT ?name
  FROM &lt;example.com&gt; 
  WHERE { 
         assign:RJ assign:hasName ?name .   
  }  
  </code></pre>
  
  <p>where assign is the correct namespace i return this :    </p>
  
  <pre><code>"RJ" ^^&lt;http://www.w3.org/2001/XMLSchema#string&gt;
  </code></pre>
  
  <p>does anyone have any advice on how to remove the xml schema type for a sparql noob?</p>
  
  <p>thanks in advance</p>