title: How to write Sparql query for the following result?
body: <p><a href="https://i.stack.imgur.com/XiBmK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XiBmK.jpg" alt="enter image description here"></a>[![SPARQL Query Details][2]][2]</p>
  
  <p>How should I write SPARQL query to get the details from node2 : URI for node2 is same in both the graphs and URI for node 1 is different. Thank you in advance. </p>
  
  <p>as such, I need below details.</p>
  
  <pre><code>node2 def
  hasID ghi
  hasvertex jkl
  hasLastname mno
  </code></pre>