Channel #semsol: Logs

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

11:38:51 cbx250_twister: Hi everyone, can I ask a few questions about ARC2?
11:40:42 bengee: sure
11:44:07 cbx250_twister: thanks, I have been trying to create a small site that manages users, but Im having a problem inserting a default user
11:45:08 cbx250_twister: I can use the LOAD query, but when I want to update a field, I cant figure out how to delete and re-insert that field
11:47:47 bengee: the syntax is DELETE FROM <$g> { <$s> <$p> "$o_old"} /// INSERT INTO <$g> {<$s> <$p> "o_new"}
11:48:00 bengee: (in case of a liteal field)
11:49:17 bengee: to delete all values for a given $s $p, you can use DELETE .. <$s> <$p> ?o
11:52:18 cbx250_twister: ok thanks, so if I had a person with password "admin", I'd delete it like this: DELETE FROM <uri> { <foaf:Person> <ns:password> ?o }
11:53:26 bengee: you need the person URI as the triple subject
11:54:09 bengee: <person_uri_here> ns:password ?o .
11:55:42 cbx250_twister: alright, if the URI for the DELETE FROM was http://localhost/users/ then the person uri would b http://localhost/users/admin?
11:55:56 cbx250_twister: Sorry if these are really simple questions :-)
11:56:27 bengee: it's te URI you gave to the person when you created/added the resource
11:58:22 cbx250_twister: ok cool, so I'd have to assign http://localhost/users/admin to the person?
12:00:25 bengee: for example, yes
12:01:48 cbx250_twister: ok, thanks! I appreciate your help :-)
12:02:43 bengee: np, hope it helps. RDF/SPARQL may need some time to get used to
12:03:18 bengee: triple-oriented programming, that is
12:05:30 cbx250_twister: yes, I've been reading a little bit about rdf and rdf triples, and sparql, but Im still in a SQL frame of mind
12:07:16 bengee: and very little education material out there, unfortunately
12:07:40 bengee: at least for the practical stuff
12:09:20 cbx250_twister: its all very interesting though, I'm basing my 4th year project on the semantic web
12:10:34 bengee: it'll be a good investment
12:12:49 cbx250_twister: thanks for all the help Bengee, I've been struggling for a while now. Cheers
12:13:18 bengee: welcome, hope you're making progress soon :)
12:13:59 cbx250_twister: thanks, bye