Match slug in Connected Data query editor

Is it possible to match the slug for the page in the Connected Data query editor dynamically or do I need to make this call in code?