Hello Egon,
> SELECT DISTINCT ?property ?hasValue ?isValueOf
> WHERE {
> { <http://rdf.farmbio.uu.se/chembl/target/t102383> ?property ?hasValue }
> UNION
> { ?isValueOf ?property <http://rdf.farmbio.uu.se/chembl/target/t102383> }
> }
> ORDER BY (!BOUND(?hasValue)) ?property ?hasValue ?isValueOf
>
> 37000 Error SP031: SPARQL: Internal error:
> ssg_print_retval_simple_expn(): unsupported type of retval expression
Oops! My fault. A temporary workaround is
ORDER BY (BOUND(?hasValue) = 0) ?property ?hasValue ?isValueOf
Best Regards,
Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com