query, fragment, logging