Introduction

Mamluk sultans were great art and architecture patrons. They ordered the construction of an enormous number of buildings that fulfilled the people’s social and religious needs and that expressed the power and prestige of the Mamluk sultans’ reigns (Grabar 1984). As an institution, the madrassa evolved in the eleventh century as a synthesis of both the mosque, which has always been the centre of Islamic education, and the khan, which provided a resting place for travelling traders. The fundamental Islamic sciences comprised the curriculum, and the study of law usually covered all four schools of Sunni Islam (Mahamid 2011). The madrassa is a congregational space, a study area, a locus for communal readings of the Quran, social meetings, learning, and listening. The patron’s mausoleum is usually associated with the madrassa (Malhis 2016). Responding to the size and location of the madrassa, the designers might provide rooms for the students and novices, and a residence for ‘shiq’.

The madrassa has a four-iwan plan in which one iwan (a rectangular hall which is typically walled on three sides and opens at one end) is situated on each of the four sides of a rectilinear courtyard, with one iwan always functioning as a mosque (Fig. 1). The court acts as a provisional spatial extension for the iwans and creates a distinguished spatial and visual expression. The madrassa is functionally constructed to serve its short-term visitors, long-term students, and caretakers (Newhall 1987). The wide variety of buildings that this civilization produced represented a varied repertoire of styles reflective of Mamluk architectural development.

Fig. 1
figure 1

Sketches and images Mamluk madrassas

Published work on Mamluk madrassas (plural) has moved in several directions. The first surveys madrassa types and discusses madrassas in the context of the evolution of the geometric and stylistic shapes of the open court and its four iwans (Parker 1985). The second explores how Mamluk architecture represented itself by discussing monuments in the greater Islamic world. At the morphological level, studies either used a narrative approach to describe how Mamluks located their buildings or presented morphological investigations that addressed the geometry of form without casting a wider net to interpret the layouts in which wider cultural expression has been preserved (Eilouti and Al-Jokhadar 2007; Rabbat 2010). In their drive for either precision, historical and comprehensive narrative or stylistic and geometric definition, these studies overlooked certain subtleties of the architecture of the four-iwan madrassas and the details of their configuration.

This paper aims at investigating madrassas throughout the Bahri, 1260–1382 A.D., and the Burji, 1382–1517 A.D. To achieve this goal, the following two questions are examined: (1) How have the four-iwan madrassas shaped their functions over time and are there any compositional rules that govern those formations? (2) What is the impact of programmatic and location challenges on the nature of the developed spatial patterns, and what is the degree by which madrassas can demonstrate the idea of a single configurational genotype? The sample includes every madrassa that marked the beginning and end of the Bahri and Burji periods, along with examples of protagonist sultans and long reigns (Table 1). When the sample was examined, a gap in the chronological order was noted; therefore, documented madrassas from the Levant (M3, M4, and M5) and Cairo (M12) were added to reflect the actual spread of the Sultanate’s monuments and homogenize the chronological gap. The cases selected are represented by twelve madrassas in Cairo, Jerusalem, and Aleppo. Through their innovative or repetitive repertoire, they demonstrate the influence of location, the reign’s limited or generous funding, and the chronological era (Fig. 2; Table 2). The sources of the plans were the collected sets of measured architectural drawings published in several recent studies (Organization 1992; Abouseif 1992). Based on these drawings, a new plan for each madrassa was prepared and marked with a standard set of abbreviations. While the layouts of some madrassas were altered since being built, the version of the madrassa analysed here is the original.

Table 1 Madrassas’ sample
Fig. 2
figure 2

Madrassas layout. Reproduced by the author, from (Organization of Islamic Capitals and Cities, 1990)

Table 2 Madrassas’ floor layouts labels’ legend

Taking these grounds as points of departure, this paper engaged two sequential methods of analysis crossed by historical and contextual debates: formal-geometric on one hand and morphological-syntactic related to space-syntax theory on the other. This paper consists of an introduction, three main parts, and a conclusion. In the first part, layouts are analysed by distinguishing their geometric characteristics and a brief proposal is given to clarify how the geometric rules are employed on the buildings’ layouts. In the second, the configurational properties of the madrassas are examined by considering their morphological and functional patterns, and a quantitative picture of their spatial organizations is presented. In the third, a functional and a statistical account is attempted for the sample overall, and a genotypical account about the twelve-Madrassas sample is identified. The conclusion provides new readings of Mamluk designs that are grounded in design choices.

Given the complexity of Mamluk architecture and its significant architectural and stylistic innovations, this study is limited to providing new readings into the spatial morphology of Mamluk madrassas without relating their configurational relationships to the stylistic compositions of the madrassas’ forms. Although the element of indoor-outdoor transition of Mamluk buildings demonstrated special urban attention in Mamluk inner-city innovations, and together they imposed an urban dialogue across the street, the sample included here is limited to considering the interior spaces of the Madrassa without including the complex urban outdoor spaces surrounding it.

Madrassas Layouts

An initial examination of the madrassas layouts reflected varieties in how the spatial and geometrical architectonics of boundaries dissolved in favour of the continuity of each example. It showed that there is a high degree of variability in terms of the characteristics of the madrassas’ basic building footprints. By following the street alignment and modifying the depth of the walls, designers were able to position their buildings along variously oriented portals. The literature showed that patrons of spaces produced their work by confronting four location challenges: confining the building’s outline to the allocated land, aligning the sanctuary and its mihrab towards Mecca (Qibla), situating the building’s entrance at street level, and locating the tomb chamber of the patron on the street side of the edifice. One can argue that the detected irregularities reflect the architectural and urban aspects of Mamluk history.

By examining what is happening geometrically inside the madrassas, one would suggest that there are clear and simple rules (Fig. 3). First, all iwans have a parallel and directional relationship to the court. Although the geometric cross-shape rule applies, the proportions and metric distances of the iwans are mutable. Second, the mausoleum and the cross-shape are geometrically in parallel alignment to one another. Third, in nine cases (with the exceptions of M1, M3, and M11) the rectilinear mausoleum is adjacent to qibla-iwan. Although the clear geometric order indicates some logical methodology at work, it is impossible to precisely describe how the cross-shape links to the rest of the composition. As the interpretation of the mausoleum located at the left side of the qibla-iwan suggests—as M7 shows—a direct/single connection, the interpretation of M5, although displaying a similar alignment, reveals different connections. The relationship between the entrance and the centre demonstrates another perplexing case and there are also variations in how madrassas functions are augmented. It is clear that the framework of the iwans/court rules strongly deviate outside of the iwans’ borders.

Fig. 3
figure 3

Geometric rules

If one examines these variations more closely, some experiential rules emerge. There is a trend to create a similar sensation with respect to how the court is experienced: the best criterion seems to appear when the entrance and the qibla-iwan are in opposite directions (M2 and M6). In this instance, the visitor approaches the courtyard through a series of transitional corridors, which locates the visitor at a point that facilitate both visualizing the beauty of the court and confronting the qibla-iwan. In the cases in which the entrance and the qibla-iwan are not in opposite directions (M8), the approach is altered by creating transitional corridors and reversing the journey’s orientation. When this criterion was difficult to achieve, the visitor passed through actual functional spaces where the experience is diluted (M5).

A Quantitative Picture

Although the initial visual inspection of madrassas compositions elucidates some obscured rules, it falls short of providing insight into the range of possibilities for arranging the programmatic spaces within the madrassa. It is time to ask whether the Mamluk efforts to adhere to a site and street pattern affected the spatial and functional structure of these madrassas and whether these levels of irregularity have remained permissible and reflective of a single functional type. The knowledge of such working structure, according to space-syntax comprehension, is embedded within the building itself (Hillier et al. 1987).

Space-syntax is a set of techniques that represents and quantifies spatial patterns. It is realized by focusing on spatial adjacencies and permeabilities. In its conception architecture is seen as a social interface through space that elaborates on two sets of social relationships: between the groups within the building, and between those groups and the visitors or the public from outside. To obtain a visual representation of these relationships, a two-dimensional convex structure is first created by depicting the least number of convex spaces that fully cover a particular plan. An abstracted justified graph then demonstrates how the organization of convex spaces (nodes) and connections (lines and rings) regulate both access and choice. Depth reveals the number of steps one should take to reach a particular space and is used in calculating the measure of integration that indicates the relative depth of a certain space. Looking at the building with and without the exterior helps in understanding how the building unfolds as a justified graph and allows investigation of the interior-exterior relations and their impact on the overall space configuration and its resultant social interface. Depthmap software facilitates the representation of the buildings as convex maps that can be processed to demonstrate the integration values of each functional space (Pinelo and Turner 2010; Varoudis 2014). Whereas the most integrated spaces are assigned the highest values, the most segregated spaces are assigned the lowest values. If the numerical differences in the functions are in consistent order across the sample, then this ‘type of consistency in spatial patterning [is termed] an inequality genotype’ (Hillier et al. 1987: 364). Although this dominant genotype is sometimes strongly attained by having all of its spatial-functional themes present across the sample, in many instances it is more weakly realized by having some of its themes present and some missing, showing itself under various ‘phenotypical’ arrangements. To evaluate the strength of these inequalities, space-syntax developed the measure of difference factor (BDF). It quantifies the degree of difference among the integration values of any three spaces. Despite the abilities of space-syntax in quantitatively expressing a building’s spatial qualities, it abstracts their three-dimensional perceptual capabilities. In spite of this limitation, it remains powerful in fulfilling the gap in the spatial comprehension of Mamluk madrassas.

One major discretionary element in space-syntax is the actual delineation of the spatial system considered, as the decisions chosen have direct impact on the syntactical results (Malhis 2016). In this research, the following decisions were made. First, outer courts were not considered as part of the spatial system. Second, the main floor is only considered because it housed all of the essential functions and because it is usually available in the literature. Third, each iwan is considered as a single space regardless of its size, because the detection of its size does not affect the dynamics of its use, which involves groups of learners spreading throughout its boundaries. In contrast, bent corridors that followed the angled entrance to the madrassa have been treated as equivalent to several spaces. Fourth, the decorative niches were not reflected as functional spaces; conversely, deep, functional niches were considered. Fifth, the stairway at the entry to the madrassa is identified throughout the analysis because it leads to the Kuttab space (for teaching children), which is usually squeezed in the mezzanine. Sixth, although the extra-awkward rooms that extended ‘into the masonry behind the apex of the muqarnas hood’ were not considered, the ‘steps… accommodated within bent passage[s] cut through the thickness of [the] wall[s]’ were identified to indicate these rooms (Burgoyne 1987: 472).

The following paragraphs aim at underlining the spatial characteristics present within the madrassa and across the sample. The topological structure of each madrassa’s spatial configuration is represented by a justified permeability graph (Figs. 2, 4, 6, 7) and by considering its spatial pattern in terms of the rank order of the integration values of its various functions and of how its functions fit into the spatial pattern as a whole (Tables 3, 4).

Fig. 4
figure 4

Bahri madrassas justified graphs (M1M5). To distinguish between the transitional corridors, usually bent spaces, and the other functional spaces, such corridors were left unhatched

Table 3 Order of Integration values of the sample’s functions without exterior
Table 4 Difference Factor BDF for main spaces

Bahri Madrassas

M1 plan has a long corridor that regulates the arrangement of the memorial and educational functions at the sides of the entrance. Its justified graph shows that the court links to several trivial circulation rings (a trivial ring is one which connects the same pair of spaces twice), and leads to the iwans, ablution space, and study rooms. In contrast to the court and corridor, most of madrassa’s spaces are endpoints. The court is the most integrated space at 1.54 followed by the corridor. The Mausoleum’s mihrab is the most segregated at 0.36 and the exterior is largely segregated. All of the educational iwans are on the integrated side of the mean integration and the rest of the functions, including the entrance, are on the segregated side (Table 3).

To comprehend how the various functions are spatialized, it is useful to examine the degree of differentiation among the integration values of the different functions. Table 4 tabulates these relationships along three sets. The first examines the differentiations across the major educational and memorial functions and their relationships to madrassas’ inner parts and outer edges. The second examines the individualized functions of novices, students and shiqs and how they relate to the court, the entrance and each other. The third examines particular detected adjacencies noted in the earlier geometric investigation. A review of M1’s results shows that whereas the M, E and CRT, are strongly differentiated at the difference factor values (BDF) of 0.391 and 0.446 without and with the exterior (mean integration is 0.888 and 0.887), the three main educational iwans are weakly differentiated, with a BDF value of 0.996 with and without the exterior and a mean integration value of 1.080. M1 is a madrassa in which the court is the most integrated space: it is deep from the exterior, it lies on trivial rings, and it structures and links a homogenized and separated set of functions. The syntactical-configurational role of the corridor in distinguishing the ‘rectangular mass’ of the mausoleum and separating it from the rest of the madrassa’s complex is seen in literature as a symbolically indicative gesture (Alsayyad 2011). It is interesting to see the extent to which these results are produced in the other madrassas.

M2’s court lies on four non-trivial circulation rings; its qibla-iwan lies on three and branches into two separate rings. In contrast to the highly segregated mausoleum of M1, M2’s mausoleum is on the integrated side and is much more homogenized. Whereas (CRT, IO, M) are weakly differentiated in M2 at 0.944, they are well structured in M1 at 0.707. Although the differentiation among (M, E, and CRT) is strong in M2 at 0.627, it is less pronounced in M1 at 0.391. Despite these differences, its iwans are, like M1, weakly differentiated, the entrance and exterior are on the segregated side, and the court remains the most integrated space. It plays a role in structuring the relationship among the madrassa’s individualized functions and holds them apart at different branching.

M3 from Jerusalem is the smallest in the sample with double entrances. It has one external ring that connects its entrances, vestibules, two iwans and the court. M3 iwans are distinguished by their permeabilities and by controlling the route to the madrassa. Its north-western iwan is the most integrated space followed by the court. The mean integration value for the madrassa is 0.527 without the exterior. In an unusual manner, the entrance (E1) that used to occupy the lower band of integration values becomes the fourth most integrated with the exterior included and moves over to the integrated side with the exterior excluded. The mausoleum’s mihrab and the stairway that leads to mezzanine rooms are the most segregated spaces at 0.34 and 0.36, respectively.

When the exterior is included, the integration values of several spaces develop. The exterior appears on the integrated side of the mean integration. The vestibule becomes the most integrated, followed by the north-western iwan. A look at the distribution of the integration values reveals that the integrated central zone is pushed towards and around the north-western edge of the building into the outside. In contrast to the previous examples, BDF results suggest a weakly differentiated (M, E, and CRT) at 0.956 with the exterior and 0.969 without. More significant is the undifferentiated and largely homogenized (exterior, E, CRT) result at a BDF value of 0.992. Similarly homogenized are (E, INW, M) at 0.898. These BDF results are remarkable because it is uncommon to find such syntactic similarities between a madrassa’s diverse functions, and their exterior.

Burgoyne argues that there are certain urban characteristics that Mamluks considered when they chose the location of their madrassas. Because Haram al Sharif symbolizes Jerusalem’s sacredness to Islam, Mamluks intended to place their madrassas at the section nearest to the Haram (Fig. 5). ‘The mausoleum, the most important building unit… was placed… at the juncture of two urban thoroughfares… where the stream of passers-by was dense and continuous. [Such an architectural setting] aims at providing a physical link with the passer-by and… is an indication of the ardent medieval… aspiration for beneficent divine influence… derived from the blessings invoked by passer-by on the tomb’ (Burgoyne 1987: 468–469). These demands juxtaposed with the orientation challenges to Mecca, seem to have forced the builders to compromise the functionality of the madrassa.

Fig. 5
figure 5

Jerusalem madrassas located on the Jerusalem map

Madrassa M4, from Aleppo, is the fourth-smallest madrassa. Most unusually, its qibla-iwan precedes the court and forms its entry space. Two of its iwans are permeable, and its exterior is on the segregated side of the mean integration. The mean integration value of M4’s complex is 0.757, which is among the highest in the sample. In contrast to M3, north-western iwan does not play any major structuring role. Despite these variances, the syntactic and difference factor results show that M4 resembles other examples in terms of how its educational and individualized functions are spatialized.

M5 is another Jerusalem madrassa, which is tightly squeezed within the desired Mamluk block. It is the second-smallest madrassa, and the most permeable. The court, which lies on all of the trivial and non-trivial rings, is the most integrated space, followed by the north-western iwan. The mausoleum and its second entrance (E2) are on the integrated side of the rank order of integration values both with the exterior excluded or included. When the exterior is considered, the north-eastern iwan becomes as integrated as the court, followed by the mausoleum. Most notable is the exterior being on the side of the mean integration of the sample. In its syntactic unconventionality, the distribution of M5’s integration values is similar to that of M3. M5 has a mean integration value of 0.602 with the exterior considered: its exterior’s integration value is at 0.680 and the integration values of its two entrances are 0.625 and 0.809. All of which suggest that these madrassas have extroverted plans.

M6 is the largest in the sample (Fig. 6). Although most of its functional labelling is familiar, it introduces some new features in its spatial patterning which include: a clear division between the sets of students’ cells, new sets of functions that appear in the deep branching of M6’s justified graph (sub-courts C1-4, ablution spaces A1-4 and stairways SToP1-4), and an abundant number of splits both at the long corridor and the court. Five of the branches at the court penetrate deep in the system without deeper rings connecting them.

Fig. 6
figure 6

Bahri madrassa plan (M6) and its justified graph

In M6 each iwan, at the corner of the layout, ‘is devoted to one of the four Sunni rites of jurisprudence; the south-western-iwan was reserved for the sessions of the Hanbali school, the north-western for the Hanafi school … the north-eastern for the Maliki school’ and qibla-iwan for Shafi (Al-Harithy 2001, pp. 74–75). It is beyond the sub-courts of these iwans that M6 began to expand. Despite these variances, the court remains the most integrated space, and the study rooms are the most segregated. The integration mean of this huge madrassa is the lowest across the sample. Its difference factor results did not register eccentric values. Although the literature had always described the unorthodox placement of M6’s mausoleum ‘behind the Qibla wall and its projection outside the main block of the complex … [as] the most symbolically charged gesture,’ its syntactical results and the manner in which it is syntactically spatialized do not reflect this perceptual heterodoxy (Al-Harithy 2001, p. 76).

Burji Madrassas

M7 has a justified graph that has some resemblance to M9, M8 and M2 in terms of how divisions among the various users of the madrassa develop. The divisions occur in the sequence of entry for the novices and later on for the kuttab and sabil. The literature shows that Sabil-Kuttab is a charitable Burji common duality; whereas the sabil on the main floor provides fresh water for passersby, the kuttab on the upper level teaches children. M7 and M9 are also similar in terms of how their mausoleum branches from qibla-iwan, without the mausoleum having any alternative entry approach. Although M2 and M8 are similar to M7 and M9 in how their mausoleums are linked to the qibla-iwan, the mausoleums of M2 and of M9 are set on a ring that connects to the court (Fig. 7).

Fig. 7
figure 7

Burji madrassas justified graphs (M7M12)

In all of these Burji madrassas, the most integrated space is the court, followed by the long corridor. The iwans are on the integrated side of the mean integration value and the mausoleum on the segregated side. Student rooms range on the two sides of the mean according to their location. The entrance is amongst the most segregated poles, and the exterior is the first or the second most-segregated space. The madrassas’ mean integration values are 0.631, 0.644 and 0.684 and decrease when the exterior is considered. The comparative difference factor results for the main spaces of these madrassas highlight, albeit at various degrees of strength, similar differentiating tendencies. The BDF results for M, E, CRT for the madrassas, for example, are (0.383, 0.603, 0.183); for their exterior, E, CRT are (0.298, 0.551, 0.104); and for their IQ, E, CRT are (0.531, 0.693, 0.519). The effect of their configuration reveals that the court draws the entire configuration together and structures the relationship between the two segregated poles of the entrance and the various sets of individualized rooms. As Table 4 shows, M9 has the most structured relationship in the entire sample in terms of its mausoleum, entrance, and court relationship (BDF values at 0.183 and 0.317 without and with exterior).

M10 is distinguished by its largely permeable functional spaces, and by its mean integration value, which is the highest in the sample. Its rings around the qibla-iwan, the mausoleum, the distributing transitional spaces, and the court facilitate a high degree of choice in moving around the madrassa. M11 is also distinguished by its ring that links the north-western-iwan, mausoleum, court, and branches into several rooms. Despite these characteristics, the syntactic results of these madrassas do not depart from Burji’s sample results. Like all madrassas, the court of M12 is where multiple branching occurs. Apart from the three adjacent iwans, which are strongly homogenized, the spatial configuration of M12, the last built Mamluk madrassa, is strongly differentiated.

Incorporating an Inequality Genotype

The madrassa-by-madrassa review highlighted the individuality of each madrassa. However, when the spatial and functional properties of the sample were compared, we saw that madrassas appear to mutate a limited number of functions in different ways. These functions appear to be variations on a particular conception rather than profoundly different ways of organizing the madrassa.

The degree to which the sample can demonstrate the idea of a single, configurational, dominant genotype, is now investigated. Table 5 shows each main type of functional space, showing the number of times that it occurs, its era, its mean integration and its mean depth. This shows that although some of the functions appeared consistently in almost all madrassas, others were less frequent. To form a deeper understanding, the functions that appeared fewer than seven times were revisited. In most of those instances, the table shows that these labels are not exclusive to any particular era. However, sabils are more apparent in the Burji period; sadlas (SNWR and SNWL) are exclusive to the Burji period; and the second entrance and the vestibule are exclusive to Jerusalem madrassas. Whereas the sadlas are decorative static spaces that became popular in the Burji period to expand iwans, the second set of entrances to Bahri Jerusalem is a dynamic addition that influences the functionality and spatiality of the madrassa.

Table 5 Review of the sample with each function’s space number of occurrences, integration, and depth

The table also reflects that there are strong across-the-board variations in the manner in which these functions are spatialized. Courts occur in the sample with a mean integration value of 1.252 (1.224 with exterior) and a mean depth of 6.92; qibla-iwans occur with a mean integration value of 0.868 (0.861 with exterior) and a mean depth of 8.17; the other three educational iwans have mean integration values ranging between 0.865 and 0.958 without exterior (0.857–0.945 with exterior) and a mean depth of 7.92; mausoleums occur with a mean integration value of 0.633 (0.645 with exterior) and a mean depth of 9.33. Entrances are both the shallowest and amongst the most segregated, except for M3 and M5; in contrast, courts are both located at an intermediate depth level and are the most integrated space with and without exterior except for M3 and M5 where they become the second. These variations are adequate to give a difference factor of 0.795 for the means of the court, mausoleum, and entrance, which are very strong, resulting in a difference factor of 0.908 for the means of the court mausoleum and the qibla iwan, which is strong in the sample. In addition, there is a difference factor of 0.994 for the means of the court, the qibla iwan and north-western iwan, which is very weak.

With respect to the transitional spaces, the long corridor is a common feature that is relatively shallow and strongly integrated. It occurs with a mean integration value of 0.936 (0.956 with exterior) and a mean depth of 4.3. The stairways that lead either to the kuttab or to the mezzanine are usually segregated at a mean integration value of 0.591 (0.608 with exterior) and have a mean depth of 7; SToP2 is much deeper at a mean depth of 10 and a mean integration value of 0.535 (0.556 with exterior). The different sets of individualized functions (students, shiq, novices) are common and rank among the least integrated spaces. When the base difference factor was examined, it became clear that these spaces are not differentiated among themselves but are held apart.

If spaces are ‘shallower when the exterior participates in the configuration, then they can be considered extroverted, but if they are more integrated without the exterior, this suggests that they are more closed and inward looking’ (Orhun et al. 1995: 33–34). The sample shows that those spaces that belong to the educational zone have a mean integration that is slightly more integrated without the exterior. However, the mausoleum, sabil, novices’ rooms, corridor, entrances and vestibules are less integrated. These general tendencies are indicative of a delicate dominant spatial culture that articulates itself through systematic variations in spatial investment across the range of madrassa functions. Although it maintains several of its themes across the sample, some of these themes are particularly lost in M3 and M5.

The issue we need to investigate now relates both to the degree of difference of the spatial organization between Jerusalem madrassas and the rest of the sample, and the degree of similarity between the madrassas of the one hypothesized genotype. Table 6 divides the sample into two types. The mean integration of the Jerusalem sample is 0.568 without exterior and 0.630 with. Jerusalem madrassas are more integrated with the exterior and more segregated without it, leading to the likelihood that these madrassas are more extroverted. The mean integration of the ten-madrassa-sample is 0.681 without exterior and 0.669 with. While the court is the most integrated space with and without the exterior for the ten madrassas, it switches its rank in the Jerusalem sample to become the second with the exterior included. Its position is occupied by the vestibule/long corridor in M3 and by the north-eastern-iwan in M5. Whereas the exterior has always been amongst the most segregated, it became in Jerusalem madrassas on the integrated side. In contrast to the segregated entrances of the whole sample, Jerusalem madrassas’ additional entrances became on the integrated side of the mean. These deviations of the Jerusalem sample are also echoed by peculiar BDF results; always occupying an extreme. A look at the values of M, E, CRT; Exterior, E, CRT; E, INW, M or CRT, IQ, M confirms this atypical trend (Table 4). Although the Aleppo madrassa is regional, its syntactic results are not as exclusive to suggest genotypical shifts.

Table 6 A spatial grouping of the proposed genotypes

The question now: what is the degree of strength by which the ten madrassas demonstrate the idea of a single configurational dominant genotype? Table 3 shows that the integration values of the court have the highest integration values in all ten cases; the long corridor is the second most-integrated space in six out of twelve cases, the north-eastern iwan is the second most-integrated space in two cases; the north-western and qibla-iwans have one case each; three of the four iwans always occupy the second, third, and fourth ranks and their integration values are very analogous to one another, homogenizing them and making them spatially interchangeable. The position of the last of the fourth iwans differs in response to its connectivity to other functions. Although the distribution does not show an unequivocal pattern, the rank order makes it clear that iwans occupy a middle tier. Also notable is the similarity of the functions that occupy the end tier of ranks and the small range of variation in their integration values. Although the entrance, for example, is the most segregated, occupying first place in one out of ten cases, second in five cases, and third to fifth in four cases, its location is interchangeable with the almost similarly segregated individualized quarters, mausoleums-mihrab, or ablutions and sabils, where these exist.

These vigorous tendencies through the sample however, are solid indications of an underlying spatial culture asserting itself through the spatial form of the madrassas. However, the various inversions notable here assert that there are several phenotypical expressions in this genotype. The number of spaces in these madrassas create a vast number of possible combinations of numerical sequences, to a point where finding a recurrent visual pattern seems less possible unless the relationship between spatial uses is so robust that it overcomes the changes at the level of building patterns. The variations in their consequent permeabilities have thus affected both their ranks and reduced the similarities in their clustered differentiations, particularly when entrances and mausoleums are considered. According to Hillier and Leaman, no builders or designers working with a tradition truly work with a clean slate of existing patterns: they always modify (Hillier and Leaman 1974). When such conditions are confronted, genotype could be looked at, not as ‘a given rank order of labelled spaces, but a statistically stable pattern of variation of those’ (Bafna 2001: 9). One can suggest that most madrassas belong to the spatial grouping from which the hypothesized ‘court’ genotype is theoretically derived (Ostwald 2011).

Although M1 and M6 owned some of the characteristics that categorized them within the court-genotype, these two madrassas remained phenotypically individualized. While M1 showed that each of its educational and memorial spaces is assigned a distinguished spatial identity shaped through separation and registered several BDF swings, M6 introduced new spatial complexity. Whether these two madrassas should be isolated as non-genotypes, or had their seeds established in the preceding eras or continued in later ones, is not clear and requires separate research.

Conclusions

The initial reading of the spatial qualities of Mamluk madrassas highlighted the irregularities in the madrassas’ forms and questioned their impact on the homogeneity of the actual syntax of space. The madrassa-by-madrassa review has suggested a dominant trend based on the existence of a court with several properties. Analyses show that there are two clear spatial genotypes. One dominant variant centres around an integrated court and segregated exterior. In this ‘court-genotype’ and its phenotypical variations, the integrated central zone is edged by segregation that spreads around individualized spaces, through the entrance and towards the outer-environment, separating and distancing by such the educational core from the busy exterior. The different filters and corridors come to regulate the dynamics of the madrassa and to separate its highly integrated, weakly differentiated educational inner parts from the outer busy environment.

The other variant, which is exclusive to Jerusalem, although keeping the court within the integrated core, brings some new themes into play. While the exterior has always been amongst the most segregated, it becomes on the integrated side of the mean integration value. The court of these tight-permeable madrassas switches its rank to second with the iwans and transitional spaces taking its position. The integrated core now spikes its focus towards the entrances, and relates the core and the context of the mausoleum to the exterior. In contrast to the earlier genotype, the madrassas are more centrifugal and of extroverted plans. The madrassa-mausoleum in this case tries to expand its circle of presence, reach the outer environment and maximize the opportunities of encounter. The visitors to the larger educational, holy, Jerusalem who cross the sought-after Mamluk block are now more homogeneous and thus are more welcome in the context of the madrassa than they were in the other localities.

While this underlying spatial ‘Jerusalem genotype” is associated with the locality of Jerusalem, the second “court genotype” does not seem to be associated with the size, era, or locality of the madrassa as noticed by the stability of the integration values across the Bahri and Burji sample. Although the mean integration value slightly increased in the Burji period, it is not significant to suggest any genotypical turns. Analysis shows that the Bahri period is the period that witnessed the emergence of the spatial organizations of genotypes, and suggests that the madrassas over the Burji period have become more subtly composed.

While space syntax presents a quantitative picture that echoes the madrassas’ geometric rules, its ability to capture the perceptual capabilities of the layouts remains arguable. While it mathematically discerned the symbolically charged Mamluk gesture that heightened M1’s mausoleum by separation, it failed to detect the unorthodox placement of the M6 mausoleum behind the Qibla wall. A result that directs attention to space-syntax limitation and its plausibility in detecting combined syntactical-geometric and perceptual impacts.