Similarity Search

I am trying to use similarity search on stardog according to doc.
I made a simModel and use this model to find similar object.
but my query returned all results even though [spa:limit] apply.
I am using the limit statement in the entire sparql.(I don't want to use this method)
I want to just control the number of similar items to return.
Is there a way to use spa:limit as a stardog docs?

Can you show us the query you're using?