Discuss Result formats
Talk pages on this wiki should primarily be used to address possible mistakes as well as missing and superseded information in the documentation.
In case you are seeking support concerning individual questions, please have a look at this page. The Semantic MediaWiki user mailing list is always a good idea for seeking help.
limit[edit]
Is the top limit 500? I have put 1000 but it only shows 500. Emijrp 21:36, 10 February 2012 (CET)
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Bug report | 1 | 10:26, 24 October 2020 |
Math Results Format | 2 | 05:33, 12 December 2013 |
Sum converting to bar chart | 4 | 00:41, 12 December 2013 |
format count seems to also count deleted pages | 2 | 17:16, 9 December 2012 |
Where does one report bugs for this extension?
The gallery format seems to have some issues with trailing spaces. If I delete the space, it renders fine, but it shows as a bulleted list with the space. This wouldn't be a big if runJobs.php didn't seem to add the trailing space back every time it runs.
Thanks for asking and noting. Bugs can be reported via the Semantic Result Formats issue tracker.
I see there is a format for sum and product. Is there one for difference and divide?
No, perhaps some parser functions will do the trick for you.
I'm trying to figure out how to get the jqplotchart to display a simple bar chart based on a "sum" from a property.
I would appreciate it if anyone has a link to examples of how this could be done.
Thanks in advance
If you were trying to do "count" instead, that would be easy to do, using the "distribution" parameter. Doing a "sum" is harder... does each grouping of values correspond to a page? If so, maybe the best solution is to have each of those pages store its own sum, using a combination of #set and #ask; and then query on all of those semantically-stored sums.
See [1], since SMW 1.9/SRF 1.9 parameter |aggregation=property
or |aggregation=subject
should do the trick.
[1] https://semantic-mediawiki.org/wiki/Demo:Jqplotchart/Aggregatable_bar_charts
http://scratchpad.referata.com/wiki/Count_format_test
0
Returned 501 when the actual number of forms was 480
I've created a bug about that: https://bugzilla.wikimedia.org/show_bug.cgi?id=42896