Channel #semsol: Logs

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

13:43:14 Rabur: hi
18:42:54 mecredis: hey there
18:43:01 mecredis: I'm fiddling with the ARC2 plugin Remote Endpoint
18:43:29 mecredis: and am having issues
18:43:42 mecredis: i'm trying to get it to read RDF that Semantic Media wiki exports
19:08:59 kwijibo: oh, does semantic media wiki provide a sparql endpoint? I didn't know that
19:18:54 mecredis: sort of
19:18:59 mecredis: in two ways
19:19:09 mecredis: one you have to dump it which takes a while for largish wikis
19:19:21 mecredis: two you can do Special:ExportRDF/Page_Title
19:19:25 mecredis: and get RDF
19:19:34 mecredis: I'm actually doing that now, with the RDF parser and its working fine
19:20:39 mecredis: can I use Turtle w/ the RDF parser to prefix the URIs?
20:14:36 kwijibo: prefix the uris?
21:42:12 mecredis: hrm, fixed that problem
21:42:13 mecredis: I have a question about http://arc.semsol.org/docs/v2/structures
21:42:40 mecredis: what is the difference between the $index and $triples ?
21:43:21 kwijibo: umm, the structure of the arrays :)
21:43:26 mecredis: ok
21:43:36 mecredis: because right now i'm iterating through $triples
21:43:38 mecredis: and its going really slow
21:43:51 mecredis: and I really just want to pull one set of predicate / object values out
21:44:39 kwijibo: triples is a flat array of s p o triples, index is [s][p][o1,o2,...]
21:44:49 mecredis: ah
21:44:57 mecredis: so a predicate can have multiple objects in an index
21:45:01 kwijibo: yes
21:45:12 kwijibo: it's resource-centric structure
21:45:23 mecredis: ok, so how do I get indexes out
21:45:26 mecredis: instead of triples?
21:45:40 kwijibo: ie: properties are indexed under the subject uris
21:45:46 mecredis: cool
21:45:49 kwijibo: getSimpleIndex(0)
21:46:00 mecredis: so $parser->getSimpleIndex(0);
21:46:01 mecredis: ?
21:46:04 kwijibo: yes
21:46:40 mecredis: nice
21:46:44 mecredis: wherea re the function names listed?