This is a public chat log generated from the #semsol IRC channel.
19:03:57
Hey bengee, quick question.
19:10:57
was that so quick that I didn't even see it?
19:11:10
nope. sorry.
19:11:34
;)
19:11:43
Having trouble getting ARC to recognize rdfs:member
19:12:15
SELECT ?s ?p ?o WHERE { ?s rdfs:member ?o }
19:13:12
Twinkle gives me back data on a simple test rdf doc (with a single rdf:Seq). ARC, unfortunately does not. Am I doing something wrong?
19:14:23
remove ?p
19:16:02
trying... (though I think I tried before)
19:21:02
nope.
19:21:25
Actually, I'm potentially doing something common the hard way.
19:21:41
Is there an easy way to insert at the end of a sequence?
19:22:21
ARC doesn't do any inference, maybe rdfs:member isn't explicitly mentioned in the RDF
19:23:40
Oh, so without inference, I would need to connect all the dots myself.
19:24:06
I thought I saw some support for things like rdfs:label etc...?
19:24:29
that's just some query expansion
19:24:57
you can write your own triggers that infer triples
19:25:32
okay, so this might've been the wrong tack.
19:26:41
My goal is to insert at the end of a sequence. I can probably just grab all of the <sequence resource> ?p ?o and parse out the (_N) from the ?p's.... capture the max N and insert at _N+1.
19:27:04
but I feel like I might be missing some easier way to do this....
19:28:10
if _N is below 10, you can do ORDER BY DESC(?p) LIMIT 1
19:29:22
... but above 10 the alpha ordering gets you, yes?
19:29:31
yeah
19:30:19
okay. I'll carry on. Just wondering if there was a SPARQL+ trick for working with container position.
19:32:56
unfortunately not
19:33:07
rdf lists are equally painful
19:33:30
maybe I should add some magic, many rdf stores do
19:40:23
well for now, WHERE { ?s ?p ?o . FILTER regex(str(?p), "_[0-9]+$") . } will get me the pieces to parse.
19:40:44
so I think I'm okay.
19:40:49
ok
19:40:57
Thanks for the advice.
19:41:07
np
