implement RankerQL