title: Query through sparql on rdf graph in which object have links(url) and resolve the link and get rdf graph as result
body: <p>I want query through SPARQL for RDF graph (basically turtle format) and resolve the object if it is url and embed the rdf graph of url in current rdf graph for sparql query. I am doing it through apache jena in java. Any suggestion how to do it.</p>
  
  <p>For example :
      There three webpages webpage1(url1) , webpage2(url2) and webpage3(url3)</p>
  
  <p>Data in Url1(after converting into turtle(rdf graph)):</p>
  
  <pre><code>Id1 person &lt;Url2&gt;.
  </code></pre>
  
  <p>Data in Url2:</p>
  
  <pre><code>x  firstname “Dhannan”.
  x lastname “Chaudhary”.
  x Project &lt;Url3&gt;.
  </code></pre>
  
  <p>Data in Url3:</p>
  
  <pre><code>y P1 “imageProcessing”.
  y P2 “WebDevelopment”.
  </code></pre>
  
  <p>I want a SPARQL query in java using apache-jena to find Person details means firstname lastname and all projects details where the starting point is URL1.</p>