fixed ordering query
@@ -169,7 +169,7 @@ SELECT distinct ?first ?msg ?distance ?text ?msgType ?time ?rem WHERE {
{
SELECT distinct ?first ?msg (count (?mid) as ?distance) WHERE {
?msg msg:hasPreviousMessage* ?mid .
- ?mid msg:hasPreviousMessage ?first .
+ ?mid msg:hasPreviousMessage+ ?first .
FILTER NOT EXISTS {?first msg:hasPreviousMessage ?none}
}
GROUP BY ?msg ?first
