Hi all, The documentation for the aggregation queries doesn't specifically say that it is only supported for SELECT queries [1] [2], but I have had no success in getting COUNT(?variable) to work inside of CONSTRUCT, where it works for a similar SELECT query. Any ideas about whether this is or will be supported in the future?
For reference the two queries are as follows on http://quebec.bio2rdf.org/sparql SELECT COUNT(?s) WHERE { ?s ?p <http://bio2rdf.org/interpro:IPR000181> . } * http://tinyurl.com/5wrtcc CONSTRUCT { <http://bio2rdf.org/interpro:IPR000181> <http://bio2rdf.org/ns/bio2rdf#hasLinkCount> COUNT(?s) . } WHERE { ?s ?p <http://bio2rdf.org/interpro:IPR000181> . } * http://tinyurl.com/662vnh Cheers, Peter [1] http://docs.openlinksw.com/virtuoso/sparqlbi.html [2] http://docs.openlinksw.com/virtuoso/rdfsparqlaggregate.html Send instant messages to your online friends http://au.messenger.yahoo.com