using CONSTRUCT query for getExtensions()