Channel #semsol: Logs

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

12:18:17 kwijibo: bengee: so will arc be able to support rdf/json as a native structure (and if so, do you want any help with the grunt work)?
12:19:33 bengee: wel, it's a php tool, but an importer shouldn't be too hard
12:19:45 bengee: I guess you have one already? ;)
12:24:25 kwijibo: yes - json_unserialise ;)
12:25:20 kwijibo: so are we stuck with 'val' and 'dt' internally for the duration of arc2 then?
12:34:26 bengee: no, Ill adjust it
12:45:35 kwijibo: sweet :)
12:46:41 kwijibo: bengee: I'd like to do another rdfizer or 2, and hopefully contribute it back to arc - what do you think would be most useful next - Atom ?
12:47:08 bengee: I do have code for atom already
12:47:21 kwijibo: oh really? I missed that :)
12:47:36 bengee: it's not in the package yet
12:47:50 bengee: opml blogrolls would be a cool thing to have
15:39:04 kwijibo: how much opml is there in the wild?
15:39:18 bengee: dunno
15:39:30 kwijibo: is it that common?
15:52:52 bengee: for blogrolls, I think
16:41:12 peterkz: Hi! Is there anything I can do to improve LOAD speed right now (e.g. mysql tweaking etc)?
16:43:36 bengee: increasing the index key size should help
16:46:05 peterkz: Ok. I'll google that and see if it helps.
16:46:55 bengee: it's key_buffer_size
16:48:36 danbri: handy test query
16:48:37 danbri: PREFIX xfn: <http://gmpg.org/xfn/11#>
16:48:38 danbri: PREFIX : <http://xmlns.com/foaf/0.1/>
16:48:39 danbri: SELECT DISTINCT ?g ?p1 ?p2
16:48:41 danbri: WHERE {
16:48:42 danbri: GRAPH ?g {
16:48:43 danbri: { ?x xfn:friend ?y . } UNION { ?x xfn:contact ?y }
16:48:44 danbri: ?x :homepage ?p1 .
16:48:45 danbri: ?y :homepage ?p2 .
16:48:47 danbri: }
16:48:49 danbri: }
16:48:53 danbri: this works ok on extracted xfn
16:49:38 danbri: the following doesn't (already mailed bengee):
16:49:40 danbri: PREFIX xfn: <http://gmpg.org/xfn/11#>
16:49:41 danbri: PREFIX : <http://xmlns.com/foaf/0.1/>
16:49:42 danbri: SELECT DISTINCT ?p1 ?p2
16:49:43 danbri: WHERE {
16:49:44 danbri: GRAPH ?p1 {
16:49:46 danbri: { ?x xfn:friend ?y . } UNION { ?x xfn:contact ?y }
16:49:47 danbri: ?x :homepage ?p1 .
16:49:48 danbri: ?y :homepage ?p2 .
16:49:49 danbri: }
16:49:50 danbri: }
16:49:51 danbri: Error: Unknown column 'G_0_0_0_0_0_0_0.g' in 'on clause' via ARC2_StoreSelectQueryHandler
16:51:04 peterkz: (re performance)... this seems useful for me: http://www.ghastlyfop.com/blog/2008/01/lamp-performance-for-dummies.html
16:51:30 bengee: another tweak could be to set delay_key_write to ON
16:53:18 peterkz: Great! Thx.
16:54:58 bengee: or to somehow bulk-insert all changed files at once
16:55:32 bengee: ah, no
16:55:48 bengee: doesn't work for separate graphs..
16:56:34 bengee: I should add a way to manually create/release table locks
16:57:17 bengee: hen you could do multiple inserts and delay the index update
16:57:30 bengee: s/hen/then/
16:57:49 peterkz: That would be nice. Sometimes you know you want to insert a lot of stuff in one go.
16:58:22 bengee: yeah
17:00:45 bengee: there's also an optimize_tables() in the store class now, which might help a bit
17:03:58 peterkz: Do I call optimize_tables() manually?
17:04:56 bengee: you can, but it is auto-called by ARC after a number of inserts/loads, too
17:06:06 peterkz: Ok. Thx for all your help. I'll have a look at tuning tonight.
17:06:24 bengee: please report if it helped
17:06:31 peterkz: Will do. bye!
17:06:39 bengee: cool, cya