Channel #semsol: Logs

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

10:41:39 kwijibo: bengee: can I check with you what resultformats are available for each query type?
10:42:02 kwijibo: SELECT = rows (default), row
10:42:23 kwijibo: DESCRIBE none (simpleindex)
10:42:32 kwijibo: CONSTRUCT - same
10:44:11 kwijibo: ASK raw
10:45:00 kwijibo: ah, if you specify raw, you just get the boolean, if not, you get the associative array with result and querytime
10:45:32 bengee: right. see http://arc.semsol.org/docs/v2/store
10:46:00 bengee: undocumented: "sql" for SELECT
12:31:19 kwijibo: bengee: what do language literals looks like in your select results array?
12:31:37 kwijibo: "foo lang"?
12:31:47 kwijibo: (as the key)
12:32:53 bengee: yeah, think so
15:11:03 kwijibo: bengee: is there any code in arc for reserialising sparql queries from your sparql parser array by any chance?
15:11:51 bengee: sorry, no
15:12:18 kwijibo: also, how come "Each specified triple will be deleted from the RDF store. It is possible to specify variables as wildcards, but they can't be used to build connected patterns. Each triple is handled as a stand-alone pattern." ?
15:12:28 kwijibo: why aren't the tripls connected?
15:13:09 bengee: because the delete operatees on the sql level
15:13:20 bengee: i.e. on the triples table
15:17:41 kwijibo: I'm feeling a bit slow today ... :p t if you can SELECT the rows with SPARQL rewritten as SQL, why can't you rewrite to a DELETE that deletes those rows?
15:18:55 bengee: DELETES + JOINs are tricky when triples and values are spread across several tables
15:19:38 kwijibo: ah, gotcha, forgot it wasn't just one big table
15:20:01 bengee: if you need patterns, you can use delete + where
15:20:20 bengee: that will do a select first
15:20:27 bengee: but needs more memory etc
15:20:50 bengee: delete {...} deletes more directly, but doesn't support patterns
15:27:45 kwijibo: ahhhh
15:27:54 kwijibo: I see, cheers
15:31:00 bengee: it's not set in stone, just didn't have time to extend the functionality yet
15:44:49 kwijibo: bengee: I parse: DELETE FROM <http://example.com/inferred> { ?s rel:wouldLikeToKnow ?o . } WHERE { ?s kiss:kissed ?o .}
15:44:53 kwijibo: and I get:
15:45:08 kwijibo: Could not properly handle "{ ?s rel:wouldLikeToKnow ?o . " in ARC2_SPARQLPlusParser"
15:45:42 kwijibo: ah probably a namespace thing
15:46:59 kwijibo: hmm
15:47:01 kwijibo: DELETE FROM <http://example.com/inferred> { ?s rdfs:comment ?o . } WHERE { ?s rdfs:label ?o .}
15:47:16 kwijibo: Could not properly handle "WHERE { ?s rdfs:label ?o .}" in ARC2_SPARQLPlusParser
15:51:09 kwijibo: bengee: am I doing something wrong, or should that have parsed?
17:13:47 bengee: bengee is back
17:16:48 bengee: works for me
17:17:11 bengee: (with prefix def)
17:20:09 bengee: oh, even without