This is a public chat log generated from the #semsol IRC channel.
12:29:03
hello everyone
12:40:26
hi
12:41:01
I wanted to use SPARQL+ to insert some triples to an existing uri (bnode actually)
12:41:26
the datasset before the insert was like this:-
12:41:43
'_:b725535005_atib_agent' => array 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' => array 0 => string 'http://xmlns.com/foaf/0.1/Agent' (length=31) 'http://xmlns.com/foaf/0.1/name' => array 0 => string 'Karim Ratib' (length=11) 'http://xmlns.com/foaf/0.1/givenname' => array 0 => string 'Karim' (length=5) 'http://xmlns.com/foaf/0.1/family_name' => array
12:42:01
sorry for the bad formating
12:43:03
I wanted to insert that '_:b725535005_atib_agent' also has an online account @ linkedin, so
12:43:27
PREFIX foaf: <http://xmlns.com/foaf/0.1/> .
12:43:29
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
12:43:32
INSERT INTO <http://profiler.open-craft.com/linkedin> CONSTRUCT
12:43:35
{
12:43:37
?s foaf:holdsAccount _:linkedinAcc .
12:43:39
_:linkedinAcc rdf:type foaf:OnlineAccount .
12:43:41
_:linkedinAcc foaf:accountServiceHomepage \"$accountServiceHomepage\" .
12:43:44
_:linkedinAcc foaf:accountProfilePage \"$accountProfilePage\" .
12:43:45
_:linkedinAcc foaf:accountName \"$accountName\" .
12:43:47
}
12:43:49
WHERE
12:43:52
{
12:43:53
?s rdf:type foaf:Agent .
12:43:55
?s foaf:name ?n .
12:43:56
}
12:44:27
Actually I found that the triples have been added to a new blanknode
12:44:49
instead of beinng added to the selected one in the Where clause
12:45:37
what do you think? :)
