[00:06:09] New patchset: Mwjames; "SRF dygraphs printer (DNM)" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/23291 [10:59:01] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/23291 [17:16:45] Hello all, I'm hoping someone can help me figure out if a certain kind of query is logistically possible. I'm creating a medical symptom checker, where a user inputs any number of symptoms he/she is experieincing and the query spits out what conditions they all have in common. [17:17:19] The dataset I'm working with has one symptom with all it's potential conditions underneath, rather than vice versa. Is this something SMW can handle? [17:27:00] inverse properties can deal with that [17:27:27] i am not sure your use case is well served by that, but i think smw can handle that, ulfr [17:27:45] what you might want to check out is a system that connects with a smarted backend, like a cbr-system [17:28:19] Ulfr: like here: http://liris.cnrs.fr/amelie.cordier/ressources/rr/taaableSW.pdf [17:42:32] Denny_WMDE: Thanks alot! [18:52:46] hello [18:53:09] is it possible to change eventline/timeline label with template [18:53:13] on some other way? [18:53:27] the url (label) is too long for timeline [19:07:57] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/22911 [20:02:19] any idea how to see what SPARQL query SMW is sending to 4store? [20:02:57] I am getting this error from update: 4store[3752]: update.c:80 error: syntax error, unexpected '{' at line 9 of operation 0 [20:05:51] The SPARQL query itself is not showing up in apache error or access logs [20:05:59] nor is it showing up in syslog [20:11:59] anyone can help with timeline ? [20:20:25] fellipe_, what are you trying to do with timeline? [20:23:53] samrose: fellipe_ created http://wikilech.pl/wiki/index.php?title=Kkk [20:24:12] timeline at the bottom [20:24:20] i'd like to change the name of event [20:24:23] it's too long [20:24:32] like Saruman said [20:36:30] samrose: any idea? [20:37:20] fellipe_ I wasn't able to cleary understand what you are having an issue with. [20:37:48] look at the timeline on the page that Saruman put [20:37:57] there is date with event name [20:38:00] on it [20:38:05] and it's too long [20:38:14] i want to put only the club names and the score [20:38:22] without date [20:40:04] is it clear now, or not? :) [20:42:40] fellipe_ I don't think you can get timeline to *not* give you the date without actually re-writing the code for it. I think the date is output no matter what [20:43:10] too bad [20:43:19] it's not readable now [20:43:24] but w8 [20:44:02] fellipe_ the code for that widget is written by https://groups.google.com/forum/?fromgroups#!forum/simile-widgets project you can check with them too, to see if there is something that can be done [20:44:12] http://wikilech.pl/wiki/index.php?title=Kkk [20:44:15] look now [20:44:18] fellipe_, see also http://simile-widgets.org/ [20:45:17] fellipe_, check with SIMILE widgets group I linked to above. They are responible for that code [20:45:28] alright [20:45:33] thanks [20:46:40] I am getting this error from update: 4store[3752]: update.c:80 error: syntax error, unexpected '{' at line 9 of operation 0 how can I verify what query SMW is updating to 4store? [20:48:16] smw is on posgres ? [20:50:01] samrose, that looks familiar. I think you might have run into this bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=37575 [20:50:09] fellipe_, it's mysql and using 4store for triple store [20:50:13] thanks jeen [21:04:35] jeen AHA! applying the patch gave me this error: [21:05:30] https://gist.github.com/3693854 [21:06:50] jeen any ideas? [21:07:43] let me check... [21:08:06] jeen also if it helps to know my default graph is not set [21:10:06] well, the sparql update in that message is correctly formed now. [21:10:28] is the update endpoint url correct? [21:10:38] note that I have no experience with 4store, myself. [21:10:41] jeen yes it is [21:10:59] it's running at the endpoint url for sure [21:11:37] weird then. the error is 'malformed query', but I'm sure that query is syntactically correct. [21:12:48] on the syslog level of the machine, I got this error: 4store[3752]: httpd.c:292 HTTP error, returning status 400 4store only implements application/x-www-form-urlencoded [21:12:56] ah [21:13:02] ...after I applied the patch in the issue you linked to, jeen [21:14:10] jeen does that ring any bells for you? [21:14:29] sounds like smw sends the update request using an incorrect mime-type (or it sets no mime-type, perhaps) [21:14:49] jeen ok I will try to google for that [21:16:10] thanks jeen ! [21:16:15] i didn't run into this issue when I was testing with this, but i tested this using sesame as a triple store, which is perhaps less strict about the mime-type. [21:16:25] no prob [21:17:23] jeen I may just use sesame if I have to [21:17:41] or virtuoso [21:25:32] fellipe_: you can see an example of a timeline w/ multiple properties here: http://semantic-mediawiki.org/wiki/Help:Eventline_format [21:28:44] JeroenDeDauw: on this timeline the whole url is on timeline as name of the event [21:28:58] i'd like to put some attributes as the name of the event [21:30:19] ah [21:31:52] i can put one attribute, but how to combine a few? [21:32:36] fellipe_: I don't think you can, unless it supports a template param, which I think it (the timeline format) does not [21:35:41] unlucky