Hi all,
I have installed Virtuoso 6.1 on a machine here in Uppsala [0], and
SNORQL from [1]. However, SNORQL defaults to this query for
individuals:
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
which gives me this error:
37000 Error SP031: SPARQL: Internal error:
ssg_print_retval_simple_expn(): unsupported type of retval expression
However, when I change the SPARQL to:
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 ?property ?hasValue ?isValueOf
it runs fine...
I have seen the BOUND use working fine at this SPARQL end point:
http://www4.wiwiss.fu-berlin.de/drugbank/snorql/?describe=http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00001
but that is running a D2R server...
I have updated the SPARQL in the local SNORQL installation, but would
like to know if this is a bug in Virtuoso, or a bad SPARQL...
Looking forward to hearing from you,
Egon Willighagen
0.http://rdf.farmbio.uu.se/chembl/snorql/
1.http://github.com/kurtjx/SNORQL
--
Post-doc @ Uppsala University
Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg
Homepage: http://egonw.github.com/
Blog: http://chem-bla-ics.blogspot.com/
PubList: http://www.citeulike.org/user/egonw/tag/papers