From: Yaron K. <ya...@wi...> - 2013-11-13 23:13:41
|
Hi Yigal, Cool, I'm glad it worked! I attended one Israeli professional soccer game: it was I believe a Maccabi Haifa game, in 1985. And now I wish I had kept the ticket. :) -Yaron On Wed, Nov 13, 2013 at 8:47 AM, אריות יהודה <byf...@gm...> wrote: > Hi Yaron, > > > > TNX a lot, it worked as expected. > > > > I’ll try to be more specific now… > > > > Under our Wiki I created a collection of soccer game tickets. Right now, > we have 377 tickets scanned and uploaded. It is divided to categories by > soccer season. (For example: Tickets for 2010-2011 season, Tickets for > 1995-1996 season and etc.) > > > > Afterwards, I started adding 2 properties to each image: 1) The ticket > contributor name. 2) The soccer season category (As described above) > > > > After that, I fetched the number of tickets using the count format, and > stored it under another property. (As you offered) > > > > Then it was pretty easy to show the number of tickets divided by soccer > seasons , and divided by the ticket contributor (Using the valuerank > format). > > > > > http://wiki.byfans.co.il/wiki/%D7%A7%D7%98%D7%92%D7%95%D7%A8%D7%99%D7%94:%D7%9B%D7%A8%D7%98%D7%99%D7%A1%D7%99_%D7%9E%D7%A9%D7%97%D7%A7%D7%99%D7%9D > > > > TNX Again, > > Yigal. > > > On Tue, Oct 29, 2013 at 11:56 AM, Yaron Koren <ya...@wi...> wrote: > >> Hi Yigal, >> >> This is a tricky one. First of all, I assume that this data is stored in >> properties like "Has season" and "Has photographer", as opposed to being >> some sort of image metadata that comes when the images are uploaded. >> >> So, what you're essentially trying to do is to aggregate image data by >> photographer. However, you also want to display a "season" column, which is >> unusual - it assumes that all of the images that any one photographer took >> are from a single season. Is that always the case? If you didn't have that >> column, you could create a graph that displays that information, by using a >> format like "jqplot" (from the Semantic Result Formats extension) and >> adding "distribution=on". Unfortunately, the "table" format doesn't support >> "distribution=on" yet, as far as I know, though it really should - I think >> it would be a huge benefit. If you need to display it in a table format, >> you basically have to do a hack of having each photograph page query the >> number of its images (using the "count" format), then storing that number >> semantically. >> >> -Yaron >> >> >> On Mon, Oct 28, 2013 at 3:23 PM, אריות יהודה <byf...@gm...>wrote: >> >>> Hi, >>> >>> >>> >>> I'm looking for an elegant way to be able to present image information >>> stored in my Wiki. >>> >>> Every image contains two information type: >>> >>> 1) 1) The season image was taken. >>> >>> 1) 2) The photographer name. >>> >>> >>> >>> I want to present a table that looks like this: >>> >>> >>> >>> *photographer name* >>> >>> *season* >>> >>> *Number of images* >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> TNX for your help, >>> >>> Yigal. >>> >>> >>> >>> *MySQL version:* 5.5.27 >>> >>> *PHP version:* 5.4.6 >>> >>> *MediaWiki version*: 1.16.2 >>> >>> *SMW version:* 1.7.0.2 >>> >>> ------------------------------------------------------------------------------ >>> October Webinars: Code for Performance >>> Free Intel webinars can help you accelerate application performance. >>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >>> from >>> the latest Intel processors and coprocessors. See abstracts and register >>> > >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Semediawiki-user mailing list >>> Sem...@li... >>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>> >> >> >> >> -- >> WikiWorks · MediaWiki Consulting · http://wikiworks.com >> > > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |