Channel #semsol: Logs

This is a public chat log generated from the #semsol IRC channel.

14:26:02 brondsem: when inserting a statement with a bnode subject, is this the only way to do it?
14:26:04 brondsem: $q = $prefixes."INSERT INTO <$rdf_graph_uri>
14:26:06 brondsem: { ?person foaf:name '$new_name' . }
14:26:07 brondsem: WHERE {
14:26:08 brondsem: ?person a foaf:Person .
14:26:10 brondsem: FILTER(?person = <$id>)
14:26:12 brondsem: }"
14:27:06 brondsem: I tried $q = $prefixes."INSERT INTO <$rdf_graph_uri> { <$id> foaf:name '$new_name' . }", with keep_bnodes_id, but that created a new bnode instead of using <$id>
14:28:31 danbri: you want to get to say what id the bnode has?
14:28:56 brondsem: oh sure :)
14:28:58 brondsem: _:b1714080734_663447_bn1
14:29:04 brondsem: i get it from a previous query
14:57:47 bengee: I think bnode inserts only work with explicit values, not bindings, i.e. you can do INSERT ... <_:bn1> but not INSERT ... ?bn_binding
14:57:52 bengee: sorry, gotta run
15:14:21 danbri: ah ok. i'm interetsed in the answer then :)
15:47:07 brondsem: for me, using the explicit value didn't work, even if i set keep_bnodes_id true. I had to use the binding with a filter, for it to keep the same bnode