Ticket #505 (closed defect: fixed)
Exception when using SPARQL sort & statement identifiers
| Reported by: | raoulw | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Bigdata RDF Database | Version: | BIGDATA_RELEASE_1_1_0 |
| Keywords: | Cc: | mrpersonick |
Description
Hi,
I have some data in my Bigdata store with attached statement identifiers (say http://example.com). When executing the following SPARQL query (with sort statement):
SELECT DISTINCT ?property ?hasValue ?isValueOf
WHERE {
{ ?isValueOf ?property <http://example.com> }
}
ORDER BY (!BOUND(?hasValue)) ?property ?hasValue ?isValueOf
an exception is thrown:
java.lang.ClassCastException: com.bigdata.rdf.internal.impl.bnode.SidIV cannot be cast to org.openrdf.model.Literal
Without the ORDER BY everything is fine. Is this a bug or am I doing something wrong here? (see attachment for full stack trace).
Thanks,
Raoul
Attachments
Change History
Note: See
TracTickets for help on using
tickets.