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