0

i'v tried this code

Triple t = NodeFactory.createURI(s,p,o);
context.add(t);

However, I cannot get this triple using sparql.

  • Hi there - we'd need some more information so we can see what your application is doing. What have you tried to make a SPARQL query on "context"? This may help: https://stackoverflow.com/help/how-to-ask . – AndyS Jun 28 '19 at 10:54
  • Thanks, but I think I've solved this problem. The node_uri should be created using http:// form other than form. – Yunfeng Wang Jun 29 '19 at 01:50

0 Answers0