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.
For example : There three webpages webpage1(url1) , webpage2(url2) and webpage3(url3)
Data in Url1(after converting into turtle(rdf graph)):
Id1 person <Url2>.
Data in Url2:
x firstname “Dhannan”.
x lastname “Chaudhary”.
x Project <Url3>.
Data in Url3:
y P1 “imageProcessing”.
y P2 “WebDevelopment”.
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.