If you use the OQL module from the appstore you can use a java action that is called: AddDateTimeParameter
With this you can create a date parameter with something like this addDays([%BeginOfCurrentWeek%],5). (it is 5 or 6 depending on your first day of the week.
You can then use this parameter to compare with in your oql.
If you are implementing a Mx dataset you can use the parameters: https://docs.mendix.com/refguide/data-sets#4-parameters