Removing the anonymous call fixes the problem ;)

SELECT
?clazz ?property max( ?o ) as ?sampleValue
WHERE
{
  ?s a ?clazz .
  ?s ?property ?o
}
ORDER BY ?clazz ?property

Thanks,
A

On Sat, May 16, 2009 at 11:55 PM, Aldo Bucchi <aldo.buc...@gmail.com> wrote:
> Hi,
>
> I ran the following query in order to get a quick glimpse at the
> "schema"  a graph.
>
> SELECT DISTINCT
> ?clazz ?property max( ?sampleValue )
> WHERE
> {
>  ?s a ?clazz .
>  ?s ?property ?sampleValue
> } ORDER BY ?clazz ?property
>
> However, I can't get the ORDER BY clause to do what I need, which is
> to group results by class and then by predicate.
> Is this the expected behaviour?
>
> Thanks,
> A
>
>
>
> --
> Aldo Bucchi
> U N I V R Z
> Office: +56 2 795 4532
> Mobile:+56 9 7623 8653
> skype:aldo.bucchi
> http://www.univrz.com/
> http://aldobucchi.com/
>
> PRIVILEGED AND CONFIDENTIAL INFORMATION
> This message is only for the use of the individual or entity to which it is
> addressed and may contain information that is privileged and confidential. If
> you are not the intended recipient, please do not distribute or copy this
> communication, by e-mail or otherwise. Instead, please notify us immediately 
> by
> return e-mail.
> INFORMACIÓN PRIVILEGIADA Y CONFIDENCIAL
> Este mensaje está destinado sólo a la persona u organización al cual está
> dirigido y podría contener información privilegiada y confidencial. Si usted 
> no
> es el destinatario, por favor no distribuya ni copie esta comunicación, por
> email o por otra vía. Por el contrario, por favor notifíquenos inmediatamente
> vía e-mail.
>



-- 
Aldo Bucchi
U N I V R Z
Office: +56 2 795 4532
Mobile:+56 9 7623 8653
skype:aldo.bucchi
http://www.univrz.com/
http://aldobucchi.com/

PRIVILEGED AND CONFIDENTIAL INFORMATION
This message is only for the use of the individual or entity to which it is
addressed and may contain information that is privileged and confidential. If
you are not the intended recipient, please do not distribute or copy this
communication, by e-mail or otherwise. Instead, please notify us immediately by
return e-mail.
INFORMACIÓN PRIVILEGIADA Y CONFIDENCIAL
Este mensaje está destinado sólo a la persona u organización al cual está
dirigido y podría contener información privilegiada y confidencial. Si usted no
es el destinatario, por favor no distribuya ni copie esta comunicación, por
email o por otra vía. Por el contrario, por favor notifíquenos inmediatamente
vía e-mail.

Reply via email to