---
title: "Building"
language: "en"
type: "Entity"
summary: "Notable buildings and other manmade structures."
keywords: 
- skyscraper
- tower
- monument
canonical_url: "https://reference.wolfram.com/language/ref/entity/Building.html"
source: "Wolfram Language Documentation"
related_guides: 
  - 
    title: "Entity Types"
    link: "https://reference.wolfram.com/language/guide/EntityTypes.en.md"
---
# Building

Notable buildings and other manmade structures.		[Related Interpreter](https://reference.wolfram.com/language/ref/interpreter/Building.en.md)

Entity["Building", name] or Entity[...] represents an entity of type "Building".

Entity[...][prop] gives the value of a specified property.

Entity[...][{propi, …}] gives the value of a list of properties.

EntityClass["Building", {propi -> speci, …}] represents a class of entities with values of propi defined by speci.

## Sample Entities

* Entity["Building", "BurjKhalifa::45f7b"]Entity["Building", "DetKongeligeSlott::wsy8x"]Entity["Building", "NeuschwansteinCastle::jtbs5"]Entity["Building", "LeVequeTower::s67m6"]Entity["Building", "TwoWorldTradeCenter::s3653"]Entity["Building", "CNTower::b5s3m"]Entity["Building", "PetronasTower1::245r5"]Entity["Building", "ShanghaiWorldFinancialCenter::87d37"]Entity["Building", "PonteCityApartments::s6fxx"]Entity["Building", "CommerzbankTower::4tbnr"]**…**

## Sample Entity Classes

* EntityClass["Building", "AzrieliCenter"]EntityClass["Building", "CityPlexTowers"]EntityClass["Building", "CTBAComplex"]EntityClass["Building", "GlynnAcademyBuildings"]EntityClass["Building", "ImperialTowers"]EntityClass["Building", "PyramidsDashur"]EntityClass["Building", "PyramidsSenusret"]EntityClass["Building", "Rondo1"]EntityClass["Building", "SkyscrapersDestroyed"]EntityClass["Building", "USBankPlazaTowersMN"]**…**

## Properties

|                        |                         |
| ---------------------- | ----------------------- |
| AdministrativeDivision | administrative region   |
| Architect              | architect               |
| ArchitecturalHeight    | architectural height    |
| ArchitecturalStyle     | style                   |
| ArchitectureFirm       | firm                    |
| Cities                 | city location           |
| Clients                | clients                 |
| ConstructionCost       | construction cost       |
| ConstructionEndDate    | completion date         |
| ConstructionStartDate  | construction start date |
| ConstructionStatus     | construction status     |
| Coordinates            | coordinates             |
| Countries              | country                 |
| DestructionDate        | destruction date        |
| Elevation              | elevation               |
| ElevatorCount          | number of elevators     |
| Engineers              | engineers               |
| EntityClasses          | entity classes          |
| EntityTypeList         | entity type list        |
| FloorCount             | floors                  |
| FloorSpace             | floor area              |
| GroundBreakingDate     | ground breaking date    |
| Height                 | total height            |
| Image                  | image                   |
| Latitude               | latitude                |
| Longitude              | longitude               |
| Material               | material                |
| Name                   | name                    |
| OpeningDate            | opening date            |
| Position               | position                |
| RenovationDate         | renovation date         |
| RoofHeight             | roof height             |
| RoomCount              | number of rooms         |
| SeatingCapacity        | seating capacity        |
| StructuralEngineer     | structural engineer     |
| StructuralSystem       | structural system       |

## Details

* ``"Building"`` entities include skyscrapers, residential, retail and office buildings, as well as various other manmade structures such as pyramids, temples and communication towers.

* ``"Building"`` entity classes include notable multi-building complexes as well as some assorted categories of buildings, e.g. ``"SkyscrapersDestroyed"``.

* Some properties are available for the [`"Building"`](https://reference.wolfram.com/language/ref/entity/Building.en.md) entity type as a whole and can be given using the form ``EntityValue["Building", property]``. Such properties include:

|                               |                                                                    |
| ----------------------------- | ------------------------------------------------------------------ |
| "Properties"                  | the list of available properties                                   |
| "PropertyCanonicalNames"      | the standard names of available properties                         |
| "SampleEntities"              | a sample list of available entities (typically of length 10)       |
| "SampleEntityClasses"         | a sample list of available entity classes (typically of length 10) |
| "EntityCount"                 | number of entities available                                       |
| "Entities"                    | the list of available entities                                     |
| "EntityCanonicalNames"        | the standard names of available entities                           |
| "EntityClasses"               | the list of available entity classes                               |
| "EntityClassCanonicalNames"   | the standard names of available entity classes                     |
| "PropertyClasses"             | the list of available property classes                             |
| "PropertyClassCanonicalNames" | the standard names of available property classes                   |
| "PropertyCount"               | number of properties available                                     |

* The following annotations can be used in the third argument of ``EntityValue["Building", property, annotation]`` :

|     |     |
| --- | --- |
| "Source" | source information for the property |
| "Date" | the date associated with the entity-property value (if any) |
| "EntityAssociation" | an association of entities and entity-property values |
| "PropertyAssociation" | an association of properties and entity-property values |
| "EntityPropertyAssociation" | an association in which the specified entities are keys, and values are a nested association of properties and entity-property values |
| "PropertyEntityAssociation" | an association in which the specified properties are keys, and values are a nested association of entities and entity-property values |
| "Dataset" | a dataset in which the specified entities are keys, and values are an association of property names and entity-property values |

* The following annotations can be used in the second argument of ``EntityValue[property, annotation]`` :

|                          |                                                                 |
| ------------------------ | --------------------------------------------------------------- |
| "Qualifiers"             | the list of possible qualifiers for the property                |
| "QualifierValues"        | the list of possible values that can be given to each qualifier |
| "DefaultQualifierValues" | the list of default values for the property's qualifiers        |
| "Description"            | a brief textual description of the property                     |
| "Definition"             | a detailed textual definition of the property                   |
| "PhysicalQuantity"       | the physical quantity associated with the entity-property value |
| "Unit"                   | the unit associated with the entity-property value              |

* A qualifier value of ``Automatic`` indicates that an applicable format of values can be used, e.g. for the ``"Date"`` qualifier; this includes a proper date or date span.

---

## Examples (11)

### Basic Examples (4)

Use ctrl+= for entity discovery:

```wl
In[1]:= \[FreeformPrompt]["burj dubai"]

Out[1]= Entity["Building", "BurjKhalifa::45f7b"]
```

---

Use ctrl+= to discover properties of a building:

```wl
In[1]:= \[FreeformPrompt]["how tall is the chrysler building"]

Out[1]= Quantity[1046.5879265091864, "Feet"]
```

---

Retrieve all available properties of a building:

```wl
In[1]:= \[FreeformPrompt]["burj khalifa"]["Dataset"]

Out[1]=
Dataset[Association[EntityProperty["Building", "AdministrativeDivision"] -> 
   {Entity["AdministrativeDivision", {"Dubai", "UnitedArabEmirates"}]}, 
  EntityProperty["Building", "Architect"] -> {Entity["Person", "AdrianSmith::cqg2q"], 
    Entity[ ... asses"] -> {EntityClass["Building", "Skyscraper"], 
    EntityClass["Building", {"ConstructionStatus", "Completed"}]}, 
  EntityProperty["Thing", "EntityTypeList"] -> {EntityType["Building"]}, 
  EntityProperty["Thing", "Name"] -> "Burj Khalifa"]]
```

---

Find the 10 tallest completed buildings:

```wl
In[1]:= EntityClass["Building", {"ConstructionStatus" -> "Completed", "Height" -> TakeLargest[10]}]//EntityList

Out[1]= {Entity["Building", "BurjKhalifa::45f7b"], Entity["Building", "KL118::49q94"], Entity["Building", "TokyoSkyTree::tkr2g"], Entity["Building", "ShanghaiTower::kfm6t"], Entity["Building", "CantonTower::6mwph"], Entity["Building", "MakkahClockRoyalTower::pc2pc"], Entity["Building", "PingAnFinanceCenter::y5454"], Entity["Building", "LotteWorldTower::w7762"], Entity["Building", "CNTower::b5s3m"], Entity["Building", "OneWorldTradeCenter::v6pj6"]}
```

### Scope (5)

Get architectural information about a building:

```wl
In[1]:= \[FreeformPrompt]["empire state building"][{"Architect", "ArchitecturalStyle", "ArchitectureFirm"}, "PropertyAssociation"]

Out[1]= <|"Architect" -> {Entity["Person", "WilliamFLamb::3rf3y"]}, "ArchitecturalStyle" -> {"Art Deco", "Streamline Moderne"}, "ArchitectureFirm" -> {"Shreve, Lamb & Harmon"}|>
```

---

Get dimensional properties of a building:

```wl
In[1]:= \[FreeformPrompt]["burj khalifa"][{"FloorCount", "FloorSpace", "Height"}]

Out[1]= {163, Quantity[3.3311396483904076740145683`3.*^6, "Feet"^2], Quantity[2716.535433070866, "Feet"]}
```

---

Retrieve heights for a group of buildings:

```wl
In[1]:= \[FreeformPrompt]["pyramids of giza"]["Height", "EntityAssociation"]//Sort

Out[1]= <|Entity["Building", "KhentkausI::szj39"] -> Quantity[57.414698162729664, "Feet"], Entity["Building", "TheGreatSphinxOfGiza::3647c"] -> Quantity[65.61679790026247, "Feet"], Entity["Building", "PyramidG1C::hj9k4"] -> Quantity[97.11286089238845, "Fee ...  "ThePyramidOfMenkaure::km522"] -> Quantity[216.53543307086613, "Feet"], Entity["Building", "PyramidOfKhafre::82m9b"] -> Quantity[446.1942257217848, "Feet"], Entity["Building", "GreatPyramidOfGiza::jbm66"] -> Quantity[456.03674540682414, "Feet"]|>
```

---

Retrieve significant dates for notable buildings in Boston:

```wl
In[1]:= Sort[EntityValue[GeoEntities[\[FreeformPrompt]["boston"], "Building"], {"ConstructionEndDate", "OpeningDate"}, "Dataset"]]

Out[1]=
Dataset[Association[Entity["Building", "PinebankMansion::64m79"] -> 
   Association["ConstructionEndDate" -> DateObject[{1870}, "Year"], 
    "OpeningDate" -> Missing["NotAvailable"]], 
  Entity["Building", "UnitedStatesPostOfficeAndSubTreasuryBuilding::2xmj2"] -> 
   Association["ConstructionEndDate" -> DateObject[{1885}, "Year"], 
    "OpeningDate" -> Missing["NotAvailable"]]]]
```

#### Geo Computation (1)

Plot the location of buildings taller than 1000 feet in New York City:

```wl
In[1]:= GeoListPlot[EntityClass["Building", {"Cities" -> \[FreeformPrompt]["NYC"], "Height" -> GreaterThan[\[FreeformPrompt]["1000 feet"]]}]]

Out[1]= [image]
```

### Relations to Other Entity Types (1)

Find buildings designed by I. M. Pei:

```wl
In[1]:= EntityClass["Building", "Architect" -> Entity["Person", "IMPei::3bg9c"]]//EntityList

Out[1]= {Entity["Building", "BankOfChinaTower::9kq69"], Entity["Building", "USBankTower::s8zkh"], Entity["Building", "JPMorganChaseTower::388n8"], Entity["Building", "CommerceCourtWest::sq6dw"], Entity["Building", "SwissotelTheStamford::g8467"], Entity["Bu ... ionalGlobalHeadquarters::jgr6v"], Entity["Building", "MesaLaboratory::2j93y"], Entity["Building", "RafflesCity::84r98"], Entity["Building", "TheGateway::n7c8d"], Entity["Building", "TheLouvre::vqy3g"], Entity["Building", "WiesnerBuilding::2gtxn"]}
```

### Neat Examples (1)

Compute a walking path between notable buildings from the historical city of Petra:

```wl
In[1]:=
With[{buildings = EntityList@\[FreeformPrompt]["petra buildings"], icon = EntityValue[Entity["Icon", "Museum"], "Image"]}, 
	GeoGraphics[{Red, Thick, 
	Line@TravelDirections[buildings, "TravelMethod" -> "Walking"], Tooltip[GeoMarker[#, icon, "Color" -> Purple], #]& /@ buildings}]]

Out[1]= [image]
```

## See Also

* [`Bridge`](https://reference.wolfram.com/language/ref/entity/Bridge.en.md)
* [`Tunnel`](https://reference.wolfram.com/language/ref/entity/Tunnel.en.md)
* [`Dam`](https://reference.wolfram.com/language/ref/entity/Dam.en.md)
* [`Mine`](https://reference.wolfram.com/language/ref/entity/Mine.en.md)
* [`Castle`](https://reference.wolfram.com/language/ref/entity/Castle.en.md)
* [`Cemetery`](https://reference.wolfram.com/language/ref/entity/Cemetery.en.md)
* [`Canal`](https://reference.wolfram.com/language/ref/entity/Canal.en.md)
* [`OilField`](https://reference.wolfram.com/language/ref/entity/OilField.en.md)
* [`Shipwreck`](https://reference.wolfram.com/language/ref/entity/Shipwreck.en.md)
* [`HistoricalSite`](https://reference.wolfram.com/language/ref/entity/HistoricalSite.en.md)
* [`Cave`](https://reference.wolfram.com/language/ref/entity/Cave.en.md)
* [`ReserveLand`](https://reference.wolfram.com/language/ref/entity/ReserveLand.en.md)
* [`Building`](https://reference.wolfram.com/language/ref/interpreter/Building.en.md)
* [`ComputedBuilding`](https://reference.wolfram.com/language/ref/interpreter/ComputedBuilding.en.md)
* [`Building`](https://reference.wolfram.com/language/ref/textcontent/Building.en.md)

## Related Guides

* [Entity Types](https://reference.wolfram.com/language/guide/EntityTypes.en.md)

## History

* [Introduced in 2019 (12.0)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn120.en.md)