implement limit in rdf layer