Hi,
The syntax and further information is provided page 53 of the documenation "Retrieving item versions".
When using the Query Builder just set "itemVersions" property to 0 or some value depending on if you would like all versions or only a specific number of versions.
Regards,