Holger, the answer to your first question is no, it does not have to be a magic property, but it is returning multiple values. The answer to your second question is that the result will be used by other SPARQL so the result needs to be in the form of rdfs:Resource, but otherwise it could be an SWP. I started playing with an implementation in Javasript but I am not terribly good with Javascript so it is going slowly.
Thanks for taking a look Holger! Jack On Sat, Jan 5, 2019 at 2:17 AM <[email protected]> wrote: > [email protected] > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/topbraid-users/topics> > Google > Groups > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > Today's topic summary > View all topics > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/topbraid-users/topics> > > - Recursion to sum values from rows returned by magic property? > <#m_-6578497386071257526_group_thread_0> - 2 Updates > > Recursion to sum values from rows returned by magic property? > <http://groups.google.com/group/topbraid-users/t/ac3abf0853a3f24c?utm_source=digest&utm_medium=email> > Jack Hodges <[email protected]>: Jan 04 09:44AM -0800 > > I am trying to use 2 columns returned by a magic property (identifiers and > values, respectively) and to sum the values of like identifiers. > > I wrote a recursive SPIN function that does the job if ...more > <http://groups.google.com/group/topbraid-users/msg/f2fb5241d2333?utm_source=digest&utm_medium=email> > Holger Knublauch <[email protected]>: Jan 05 06:23PM +1000 > > Hi Jack, > > Before I look into the details: does the result require to be a magic > property or could it be an SWP script that produces for example JSON > output? I ask because you state web services and ...more > <http://groups.google.com/group/topbraid-users/msg/a7db76c50d5f5?utm_source=digest&utm_medium=email> > Back to top <#m_-6578497386071257526_digest_top> > You received this digest because you're subscribed to updates for this > group. You can change your settings on the group membership page > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/topbraid-users/join> > . > To unsubscribe from this group and stop receiving emails from it send an > email to [email protected]. > -- Jack -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
