This is a public chat log generated from the #semsol IRC channel.
11:38:51
Hi everyone, can I ask a few questions about ARC2?
11:40:42
sure
11:44:07
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
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
the syntax is DELETE FROM <$g> { <$s> <$p> "$o_old"} /// INSERT INTO <$g> {<$s> <$p> "o_new"}
11:48:00
(in case of a liteal field)
11:49:17
to delete all values for a given $s $p, you can use DELETE .. <$s> <$p> ?o
11:52:18
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
you need the person URI as the triple subject
11:54:09
<person_uri_here> ns:password ?o .
11:55:42
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
Sorry if these are really simple questions :-)
11:56:27
it's te URI you gave to the person when you created/added the resource
11:58:22
ok cool, so I'd have to assign http://localhost/users/admin to the person?
12:00:25
for example, yes
12:01:48
ok, thanks! I appreciate your help :-)
12:02:43
np, hope it helps. RDF/SPARQL may need some time to get used to
12:03:18
triple-oriented programming, that is
12:05:30
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
and very little education material out there, unfortunately
12:07:40
at least for the practical stuff
12:09:20
its all very interesting though, I'm basing my 4th year project on the semantic web
12:10:34
it'll be a good investment
12:12:49
thanks for all the help Bengee, I've been struggling for a while now. Cheers
12:13:18
welcome, hope you're making progress soon :)
12:13:59
thanks, bye
