Hey, I think so --- unless I don’t understand the ‘CONSTRUCT query on an inference model’ suggestion. This is after all what I understand spin rules would do in say Virtuoso. But this is the essence of the dilemma.
Suppose I’m interested in higher level queries where these aggregations have been turned to facts. I may want to use rules to derive aggregated values instead of having to run preliminary queries. If the computed values need to be stored in named graphs for non-monotonicity reasons, then, in effect, I’m not sure where the edge is. Also, it brings about the question of how to keep track of these graphs. If queries need to be run to do this population, I suppose it still remains an external engine that does the querying and insert then (not going to do this by hand). It just sounds like a lot of machinery. (For the records, I don’t believe that the value in SPAQRL is to do numerical aggregation, but in practice the request arises…) A bit non-conclusive on my end but thanks for the input. With many thanks and best regards, Pierre THIS E-MAIL MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. IF YOU ARE NOT THE INTENDED RECIPIENT (OR HAVE RECEIVED THIS E-MAIL IN ERROR) PLEASE NOTIFY THE SENDER IMMEDIATELY AND DESTROY THIS E-MAIL. ANY UNAUTHORISED COPYING, DISCLOSURE OR DISTRIBUTION OF THE MATERIAL IN THIS E-MAIL IS STRICTLY FORBIDDEN. IN ACCORDANCE WITH MIFID II RULES ON INDUCEMENTS, THE FIRM'S EMPLOYEES MAY ATTEND CORPORATE ACCESS EVENTS (DEFINED IN THE FCA HANDBOOK AS "THE SERVICE OF ARRANGING OR BRINGING ABOUT CONTACT BETWEEN AN INVESTMENT MANAGER AND AN ISSUER OR POTENTIAL ISSUER"). DURING SUCH MEETINGS, THE FIRM'S EMPLOYEES MAY ON NO ACCOUNT BE IN RECEIPT OF INSIDE INFORMATION (AS DESCRIBED IN ARTICLE 7 OF THE MARKET ABUSE REGULATION (EU) NO 596/2014). (https://www.handbook.fca.org.uk/handbook/glossary/G3532m.html) COMPANIES WHO DISCLOSE INSIDE INFORMATION ARE IN BREACH OF REGULATION AND MUST IMMEDIATELY AND CLEARLY NOTIFY ALL ATTENDEES. FOR INFORMATION ON THE FIRM'S POLICY IN RELATION TO ITS PARTICIPATION IN MARKET SOUNDINGS, PLEASE SEE https://www.horizon-asset.co.uk/market-soundings/. HORIZON ASSET LLP IS AUTHORISED AND REGULATED BY THE FINANCIAL CONDUCT AUTHORITY. From: Lorenz Buehmann [mailto:[email protected]] Sent: 25 July 2019 10:44 To: [email protected] Subject: Re: Rules and 'on the fly' aggregate values Can't you simply use any any CONSTRUCT query on an inference model? Or use an INSERT query to write it to a graph? Indeed bot only if you're producing proper RDF triples. On 25.07.19 10:36, Pierre Grenon wrote: > Hi, > > Quick search for 'rule aggregate' in mail archives returns 3 thread results. > The only decisive statement seems to be Dave's 3 yo: > > """ > Short answer on rules is don't use them for this. Something like "sum of > all invoice items present" is a non-monotonic operation and JenaRules > are really not suited to this. [...] > """ > > https://lists.apache.org/thread.html/40ed40686d6244d3ebc0dfe5163e052b3dba2d41358b5f78f1c81347@<users.jena.apache.org><https://lists.apache.org/thread.html/40ed40686d6244d3ebc0dfe5163e052b3dba2d41358b5f78f1c81347@<users.jena.apache.org>> > > Is this still the valid answer? If so, what is the recommendation to perform > and persist aggregation for data maintained using Jena? > > To pull non aggregate query results and do aggregation within an external > application? Write back transitory results to named graphs? > > I am not sure whether there may be documentation on this since that I may > have missed, if so apologies and thanks for the pointer. > > With many thanks and kind regards, > Pierre > > THIS E-MAIL MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. > IF YOU ARE NOT THE INTENDED RECIPIENT (OR HAVE RECEIVED THIS E-MAIL > IN ERROR) PLEASE NOTIFY THE SENDER IMMEDIATELY AND DESTROY THIS > E-MAIL. ANY UNAUTHORISED COPYING, DISCLOSURE OR DISTRIBUTION OF THE > MATERIAL IN THIS E-MAIL IS STRICTLY FORBIDDEN. > > IN ACCORDANCE WITH MIFID II RULES ON INDUCEMENTS, THE FIRM'S EMPLOYEES > MAY ATTEND CORPORATE ACCESS EVENTS (DEFINED IN THE FCA HANDBOOK AS > "THE SERVICE OF ARRANGING OR BRINGING ABOUT CONTACT BETWEEN AN INVESTMENT > MANAGER AND AN ISSUER OR POTENTIAL ISSUER"). DURING SUCH MEETINGS, THE > FIRM'S EMPLOYEES MAY ON NO ACCOUNT BE IN RECEIPT OF INSIDE INFORMATION > (AS DESCRIBED IN ARTICLE 7 OF THE MARKET ABUSE REGULATION (EU) NO 596/2014). > (https://www.handbook.fca.org.uk/handbook/glossary/G3532m.html<https://www.handbook.fca.org.uk/handbook/glossary/G3532m.html>) > COMPANIES WHO DISCLOSE INSIDE INFORMATION ARE IN BREACH OF REGULATION > AND MUST IMMEDIATELY AND CLEARLY NOTIFY ALL ATTENDEES. FOR INFORMATION > ON THE FIRM'S POLICY IN RELATION TO ITS PARTICIPATION IN MARKET SOUNDINGS, > PLEASE SEE > https://www.horizon-asset.co.uk/market-soundings/<https://www.horizon-asset.co.uk/market-soundings/>. > > HORIZON ASSET LLP IS AUTHORISED AND REGULATED > BY THE FINANCIAL CONDUCT AUTHORITY. > > >
