Silvia Stefanova wrote:
Hello,

Ok, may be the reason is really that I am running a bit old Virtuoso, Virtuoso 5 ver:0.9849.
The script is attached.

Thank you for the help!

Version is too old :-)

Kingsley

Best Regards,
Silvia

Ivan Mikhailov wrote:
Silvia,

How old is your version of Virtuoso? HAVING syntax is supported not from
the very beginning in SPARQL/BI, it's relatively new thing. Before that
that required a combination of a sub-SELECT with grouping and WHERE in
the outer select, something like

SPARQL SELECT ?s ?total
WHERE { {
        SELECT ?s SUM(?books) as ?total
        FROM <http://mygraph.person>
        WHERE
          {
            ?s  <http://mygraph/person/books> ?books .
          } }
    FILTER (?total > 2) }


Best Regards,

Ivan Mikhailov
OpenLink Virtuoso
http://virtuoso.openlinksw.com



------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
------------------------------------------------------------------------

_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


--

Regards,

Kingsley Idehen President & CEO OpenLink Software Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen





Reply via email to