Software architecture is a key factor in the successof software product line (SPL) engineering. A SPL architecturehas to incorporate the commonalities as well as the variabilitiesof the products in a SPL. Presenting variability in the views andmodels that suite the stakeholders’ concerns is essential for thesuccess of a SPL. However, a literature study has taught us thatcurrent research provides insufficient attention to incorporatevariability in the architecture description. Moreover, experienceswith stakeholders in the field reveal that there is a need forflexible generation of architecture views tailored to the specificneeds of the stakeholders of a SPL.To tackle these challenges we propose the Architecture QueryLanguage Framework. Central in this framework are an architecturemodel for SPL, Dynamic Viewpoints (DV), and an ArchitectureQuery Language (AQL). The architecture model supportsmodeling of domain-specific architectures, covering structural,allocation and variability concerns. The model is supported byan architecture repository that reifies architectural knowledgeof the SPL. A DV defines the data model to support on-demandview derivation from the architecture repository according to thestakeholder needs. DV are supported by an Architecture QueryLanguage and an accompanying engine which allows flexible andfine-grained querying of the model repository. The research willbe evaluated in two case studies with industrial partners andan empirical study in the context of master course on advanced software architecture.