Re: [Virtuoso-users] construct + aggregate function

2011-12-02 Thread Jürgen Jakobitsch
thank you very much, ivan, works as expected! wkr http://www.turnguard.com/turnguard - Original Message - From: "Ivan Mikhailov" To: "Jürgen Jakobitsch" Cc: virtuoso-users@lists.sourceforge.net Sent: Friday, December 2, 2011 9:53:25 AM Subject: Re: [Virtu

Re: [Virtuoso-users] construct + aggregate function

2011-12-02 Thread Ivan Mikhailov
Hello Jürgen, Put the "select distinct" into construct's WHERE clause as a subquery, something like CONSTRUCT { ?category a . ?category ?count } where { { SELECT DISTINCT ?category count(

[Virtuoso-users] construct + aggregate function

2011-12-01 Thread Jürgen Jakobitsch
hi, i've been struggling a little bit with a construct query with a statement where the object is value from an aggregate function. is this at all possible? i'd like to have the following query as a construct query : SELECT DISTINCT ?category count(?category) AS ?count WHERE { ?s