Full Code of bigai-nlco/LooGLE for AI

main 6734382215be cached
39 files
2.7 MB
707.1k tokens
49 symbols
1 requests
Download .txt
Showing preview only (2,828K chars total). Download the full file or copy to clipboard to get everything.
Repository: bigai-nlco/LooGLE
Branch: main
Commit: 6734382215be
Files: 39
Total size: 2.7 MB

Directory structure:
gitextract_lwp3pzpi/

├── .gitignore
├── CITATION
├── Evaluation/
│   ├── automatic_eval.py
│   ├── automatic_metrics.py
│   ├── llm_eval.py
│   └── llm_score.py
├── LICENSE
├── LooGLE-testdata/
│   ├── longdep_qa.jsonl
│   ├── longdep_summarization.jsonl
│   ├── shortdep_cloze.jsonl
│   └── shortdep_qa.jsonl
├── Output/
│   ├── longdep_qa_reorder_gpt4-32k.jsonl
│   ├── longdep_summarization_llama-index.jsonl
│   ├── shortdep_qa_chatglm2-6b-32k.jsonl
│   ├── shortdep_qa_gpt-3.5-turbo-16k.jsonl
│   └── shortdep_qa_llama-index.jsonl
├── Prediction/
│   ├── pred_gpt_models.py
│   ├── pred_llamaindex.py
│   └── pred_opensource_models.py
├── README.md
├── Reorder/
│   ├── get_max_deviation.py
│   ├── get_reorder_deviation.py
│   └── reorder_eval.py
├── Retrieval/
│   └── pred_retrieval_based_method.py
├── Tools/
│   ├── Labeling_form_A_annotator.html
│   └── Labeling_form_Q_annotator.html
├── config/
│   ├── task2maxlen.json
│   └── task2prompt.json
├── docs/
│   ├── .gitignore
│   ├── 404.html
│   ├── Gemfile
│   ├── _config.yml
│   ├── _includes/
│   │   └── head-custom.html
│   ├── _layouts/
│   │   └── default.html
│   ├── assets/
│   │   ├── css/
│   │   │   └── style.scss
│   │   └── js/
│   │       └── main.js
│   ├── backup.html
│   └── index.md
└── requirements.txt

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitignore
================================================
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/


================================================
FILE: CITATION
================================================
@article{li2023loogle,
  title={Can Long-Context Language Models Understand Long Contexts?},
  author={ Li, Jiaqi and Wang, Mengmeng and Zheng, Zilong and Zhang, Muhan },
  url={https://github.com/bigai-nlco/LooGLE}
  year={2023}
}


================================================
FILE: Evaluation/automatic_eval.py
================================================
import json
import openai
from nltk.translate.bleu_score import sentence_bleu
from nltk.translate.meteor_score import single_meteor_score
from rouge import Rouge
from bert_score import score
import numpy as np
import argparse
import openai
from automatic_metrics import (
    get_bleu_score,
    get_rouge_score,
    get_meteor_score,
    get_bertscore,
    get_exact_match,
    get_partial_match
)


def evaluation(data, scores, functions, task):
    for i in range(len(data["output"])):
        hyp, ref = data["llm_output"][i], data["output"][i]
        if hyp == '':
            hyp = 'None'
        if "qa_pairs" in data:
            if data["qa_pairs"] != "none":
                question = data["qa_pairs"][i]["Q"]
            else:
                question = ""

        for j in functions:
            if j not in scores:
                scores[j] = []
            scores[j].append(eval(j)(question, ref, hyp, task))

    return scores


def get_semantic_matching(result, functions):
    final_score = {}
    for i in functions:
        if type(result[i][0]) is tuple:
            l = result[i]
            final_score[i] = [np.mean([i[j] for i in l]) for j in range(len(l[0]))]
        else:
            final_score[i] = np.mean(result[i])
    return final_score


def get_match_score(result, functions):
    final_score = {}
    for i in functions:
        match_count = np.sum([j[0] for j in result[i]])
        all_count = np.sum([j[1] for j in result[i]])
        final_score[i] = round(match_count / all_count, 4)
    return final_score


def parse_args(args=None):
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "--model_name", type=str, default=None, help="model name for evaluation"
    )
    parser.add_argument(
        "--task",
        type=str,
        default=None,
        help="long context understanding tasks in LooGLE",
        choices=[
            "shortdep_qa",
            "shortdep_cloze",
            "longdep_qa",
            "longdep_summarization",
        ],
    )
    parser.add_argument("--output_path", type=str, default="./Output/")
    parser.add_argument(
        "--eval_metric",
        type=str,
        default=None,
        help="evaluation method for LLM predictions",
        choices=["automatic_sim", "automatic_match"],
    )

    return parser.parse_args(args)

if __name__ == "__main__":
    args = parse_args()
    if args.eval_metric == "automatic_sim":
        eval_functions = [
            "get_bleu_score",
            "get_rouge_score",
            "get_meteor_score",
            "get_bertscore"
        ]
    elif args.eval_metric == "automatic_match":
        eval_functions = ["get_exact_match", "get_partial_match"]

    score_result = {}
    with open(
        args.output_path + args.task + "_" + args.model_name + ".jsonl", "r"
    ) as f:
        for line in f.readlines():
            ds_llm = json.loads(line)
            score_result = evaluation(ds_llm, score_result, eval_functions, args.task)


        if args.eval_metric == "automatic_sim":
            print(get_semantic_matching(score_result, eval_functions))
        elif args.eval_metric == "automatic_match":
            print(get_match_score(score_result, eval_functions))



================================================
FILE: Evaluation/automatic_metrics.py
================================================
import json
from nltk.translate.bleu_score import sentence_bleu
from nltk.translate.meteor_score import single_meteor_score
from rouge import Rouge
from bert_score import score
import numpy as np

def get_bleu_score(question, reference, hypothesis, task):
    reference, hypothesis = (
        reference.replace("\n", " ").split(),
        hypothesis.replace("\n", " ").split(),
    )

    bleu1 = sentence_bleu([reference], hypothesis, weights=(1, 0, 0, 0))
    bleu4 = sentence_bleu([reference], hypothesis, weights=(0, 0, 0, 1))
    return bleu1, bleu4


def get_rouge_score(question, reference, hypothesis, task, metric="r"):
    rouge = Rouge()
    rouge_ = rouge.get_scores(hyps=[hypothesis], refs=[reference])[0]
    return (
        rouge_["rouge-1"][metric],
        rouge_["rouge-2"][metric],
        rouge_["rouge-l"][metric],
    )


def get_meteor_score(question, reference, hypothesis, task):
    reference, hypothesis = (
        reference.replace("\n", " ").split(),
        hypothesis.replace("\n", " ").split(),
    )
    meteor = single_meteor_score(set(reference), set(hypothesis))
    return float(meteor)


def get_bertscore(question, reference, hypothesis, task):

    bertscore = score([reference], [hypothesis], lang="EN")
    return float(bertscore[1])



def get_exact_match(question, reference, hypothesis, task):
    count = len(reference)
    if type(hypothesis) is str:
        try:
            hypothesis = eval(hypothesis)
            assert isinstance(hypothesis, dict)
        except Exception as e:
            return 0, count
    
    exact_score_count = 0
    for key in reference:
        if key in hypothesis and hypothesis[key] == reference[key]:
            exact_score_count += 1
    return exact_score_count, count

def get_partial_match(question, reference, hypothesis, task):
    count = len(reference)
    if isinstance(hypothesis, str):
        try:
            hypothesis = eval(hypothesis)
            assert isinstance(hypothesis, dict)
        except Exception as e:
            return 0, count

    partial_score_count = 0
    for key in reference:
        if key in hypothesis:
            true_set = set(reference[key].split())
            pred_set = set(hypothesis[key].split())
            partial_score_count += int(len(true_set.intersection(pred_set)) > 0)
    return partial_score_count, count



================================================
FILE: Evaluation/llm_eval.py
================================================
import json
from nltk.translate.bleu_score import sentence_bleu
from nltk.translate.meteor_score import single_meteor_score
from rouge import Rouge
from bert_score import score
import numpy as np
import argparse
import openai, os
from llm_score import (
    get_gpt4_score
)

def evaluation(data, scores, functions, task):
    for i in range(len(data["output"])):
        hyp, ref = data["llm_output"][i], data["output"][i]
        if "qa_pairs" in data and data["qa_pairs"] != "none":
            question = data["qa_pairs"][i]["Q"]
        else:
            question = ""

        for j in functions:
            if j not in scores:
                scores[j] = []
            scores[j].append(eval(j)(question, ref, hyp, task))

    return scores


def get_accuracy(result, functions, task):
    final_score = {}
    for i in functions:
        res = result[i]
        if "qa" in task:
            final_score[i] = res.count("True") / (res.count("True") + res.count("False"))
        else:
            final_score[i] = np.mean(res)
    return final_score



def parse_args(args=None):
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "--model_name", type=str, default=None, help="model name for evaluation"
    )
    parser.add_argument(
        "--task",
        type=str,
        default=None,
        help="long context understanding tasks in LooGLE",
        choices=[
            "shortdep_qa",
            "longdep_qa",
            "longdep_summarization",
        ],
    )
    parser.add_argument("--output_path", type=str, default="./Output/")
    parser.add_argument(
        "--eval_metric",
        type=str,
        default="llm",
        help="evaluation method for LLM predictions",
        choices=["llm"],
    )

    return parser.parse_args(args)


if __name__ == "__main__":
    args = parse_args()
    openai_api_key = os.environ["OPENAI_API_KEY"]
    eval_functions = ["get_gpt4_score"]

    score_result = {}

    with open(
        args.output_path + args.task + "_" + args.model_name + ".jsonl", "r"
    ) as f:
        for line in f.readlines():
            ds_llm = json.loads(line)
            score_result = evaluation(ds_llm, score_result, eval_functions, args.task)


        print(get_accuracy(score_result, eval_functions, args.task))



================================================
FILE: Evaluation/llm_score.py
================================================
import json
import numpy as np
import openai


def get_gpt4_score(question, reference, hypothesis, task):
    if "qa" in task:
        p = "Given one question, there is a groundtruth and a predict_answer. Please decide whether they are the same or not in semantic. Please only output 'True' or 'False' ."

        prompt = [{"role": "system", "content": p,},
        {
            "role": "user",
            "content": "Question: "
            + question
            + "\n"
            + "groudtruth = "
            + reference
            + "\n"
            + "predict_answer = "
            + hypothesis,
        }]

    else:
        # p = "There is a groundtruth summary of a arxiv paper and a auto-generated summary .Please Compare generated summary with the goundtruth and evaluate the generated summary from the perspectives of information completeness, consistency, fluency, and grammar by giving a score within the range of 0 to 100."
        prompt_format = "There is a groundtruth summary of a arxiv paper and a auto-generated summary .Please Compare generated summary with the goundtruth and evaluate the generated summary from the perspectives of information completeness, consistency, fluency, and grammar by giving a score within the range of 0 to 100. \nGroundtruth = {} \nGenerated = {} \nScore = "
        prompt = prompt_format.format(reference, hypothesis)
        prompt = [{"role": "system", "content": prompt}]
        
    rr = openai.ChatCompletion.create(
        model="gpt-4",
        messages=prompt,
        temperature=0.0,
        top_p=1,
        max_tokens=10,
        frequency_penalty=0,
        presence_penalty=0,
    )
    rsp = rr["choices"][0]["message"]["content"]

    if "qa" in task:
        return rsp
    else:
        return int(rsp)



================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2023 BIGAI Natural Language and Conversational AI Lab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: LooGLE-testdata/longdep_qa.jsonl
================================================
{"input": " Early life. Picardo was born in Jerez de la Frontera, in the Province of C\u00e1diz in Andaluc\u00eda, Spain on 18 June 1919. His father was Alvaro Picardo de Celis and his mother's family name was Castell\u00f3n. He had four brothers, one of whom died in infancy. His father died in 1929 when Picardo was ten years old. With his mother and his brothers he moved to Madrid, Spain. He enrolled at the newly created Instituto de Bachillerato Cervantes for his high school education. On completing school he initially wanted to join the navy, but was frustrated by the closure of the military academies in Madrid during the Second Spanish Republic. He turned to the study of law, but was frustrated again, this time by the start of the Spanish Civil War in July 1936 when he was in the middle of his course. He had just celebrated his seventeenth birthday. Training in architecture. To avoid being evacuated from Madrid when the Spanish Civil War began, Picardo joined the studio of the architect Luis Moya Blanco, a professor 15 years his senior at the Escuela T\u00e9cnica Superior de Arquitectura de Madrid (Higher Technical School of Architecture of Madrid). Impressed by Picardo's abilities, Moya Blanco encouraged Picardo to abandon law and take up a career in architecture.. The Civil War and the dictatorial regime that followed it resulted in fewer architects in Spain. Some of those who had prospered during the Republic did not survive the war. Others had gone into exile or had been professionally disqualified. Under decree by the dictator Francisco Franco the Direcci\u00f3n General de Aquitectura (General Directorate of Architecture) was set up to control architecture in Spain and collaborate in what his regime called la reconstrucci\u00f3n nacional (national reconstruction). Many architects were required to be subordinate to it. Against this background, in 1945 Picardo entered the Escuela T\u00e9cnica Superior de Arquitectura de Madrid.From the beginning of Picardo's studies, his abilities in painting and drawing \u2014 in particular his mastery of perspective \u2014 drew him to the attention of a number of architects who praised him highly. While he was still a student, architects commissioned murals from him for the interiors of their buildings, and employed him within their practices for the graphic representations and perspectives of their plans. Picardo executed his first professional mural painting at the age of 20 in 1939 in the Cine F\u00edgaro (Figaro Cinema) in Madrid, commissioned by his architecture mentor Luis Moya Blanco. The painting of murals was the main source of income for Picardo during his youth and early career.As a student Picardo also began to illustrate many articles and later several covers for the Spanish architectural magazines Revista Nacional de Arquitectura and the Bolet\u00edn de la Direcci\u00f3n General de Arquitectura. His drawings in these publications have been described as showing \"increasing sophistication\" and being of \"complexity and extraordinary quality\". Particularly noted in his post-student days were illustrations portraying Madrid in the 1950s and 1960s, the Spanish protectorate in Morocco, and sketches of the Canarias (Canary Islands) in 1953. He also showed a growing interest in historic architecture, in particular its preservation and restoration. Picardo completed his training by making increasingly numerous travels to study buildings around Spain and abroad. His investigative journeys around the Iberian Peninsula awakened in him an intense interest in its historical and vernacular architecture. He was described as an \"outstanding\" student. Early career. Architect. On qualifying in 1951, Picardo pursued his interest in historical architecture by collaborating on a number of building preservation and restoration projects with the Spanish architect and architectural historian Fernando Chueca Goitia, who was 8 years his senior. Chueca's appeal to Picardo was the older man's lengthy research into what he saw as the unchanging elements of Spanish architecture that maintained their constancy despite political and religious changes. Picardo was one of the 24 signatories of the ''Manifiesto de la Alhambra'' of 1952, described as one of \u201cthe most remarkable texts in the histiography of 20th-century Spanish architecture\", of which Chueca was the main instigator. The manifesto collected the reflections of a group of architects (Picardo among them) and \"sought inspiration in the design\" of the Alhambra in Granada, Andaluc\u00eda for \"a distinctively Spanish form of modern architecture\". This inspiration was to guide much of Picardo's work throughout his career. Its influence, particularly in his work on Paradores, can be clearly seen.. During the 1950s Picardo pursued his personal architectural ambitions, entering competitions and publishing plans and drawings of uncommissioned buildings. In 1951 in  company with his fellow architect Carlos de Miguel he designed a centre for the Cofrad\u00eda de Pescadores (Fishermen's Brotherhood) of Altea in the province of Alicante which attracted much attention but remained unbuilt.Picardo, working alone, designed a small hotel which could be built on the Costa del Sol in Andaluc\u00eda. He described it as \"un modesto parador (a modest inn), resolved in a simple and attractive way\".In competition, Picardo entered plans and drawings of a preliminary draft for the Delegaci\u00f3n de Hacienda de Gerona (Treasury Delegation in Gerona) but came second behind the Spanish architect Carlos Sobrini who had been a year behind Picardo at college. He also came second in a similar competition a year later with a design for the Delegaci\u00f3n de Hacienda en Las Palmas (Treasury Delegation in Las Palmas), once again losing to Carlos Sobrini.In 1958 Picardo co-designed with his brother Carlos Picardo a six-storey edificio de viviendas (apartment building) near Madrid's Plaza de Las Ventas, designed for middle-class families.In the early 1960s Picardo built some houses in the vernacular and historical Andaluc\u00edan style on the Costa del Sol and in Jerez and, in contrast, a number of modernist apartment blocks for the construction company Urbis in Madrid. He also moved on to a series of building commissions for the Spanish Ministerio de Informaci\u00f3n y Turismo (Ministry of Information and Tourism) which laid the foundation for his notable work in the 1960s and 1970s on a large number of the state-owned luxury hotel network Paradores de Turismo de Espa\u00f1a.. Even early in his architectural career, Picardo was viewed as a supreme draughtsman, producing quick sketches, perspectives, views, details and innumerable plans of his projects in which his skills can be easily identified. Artist. As well as his work on modern buildings and on preservation and restoration projects through the 1950s, Picardo continued to receive commissions for decorative mural paintings, where he \"demonstrated his mastery in the use of colour and techniques such as watercolour and oil\". His works were seen in locations such as the new Hotel de Los Cisnes in Jerez, while in Madrid he embellished the Bar Jerez, the Hotel Plaza, the Residencia de Ingenieros del Instituto Nacional de Colonizaci\u00f3n (Engineers' residence of the National Institute of Colonization), the Exposici\u00f3n de Regiones Devastadas (Exposition of Devastated Regions), the Instituto de \u00d3ptica \"Daza de Vald\u00e9s\" (Institute of Optics), the sales area of the Garaje Villamagna (Villamagna Garage) and in 1953 he completed extensive paintings at the Restaurante Commodore in Madrid where amongst other images he produced two large curved panoramic views, one of Madrid and one of C\u00e1diz. Picardo was regarded as an \"outstanding\" muralist.At the same time his drawings of buildings and architectural details were published as illustrations in a best-selling textbook on monumental and historic Spanish architecture, Arquitectura Popular Espa\u00f1ola, by the restoration and conservation architect Leopoldo Torres Balb\u00e1s. Picardo travelled around Spain with him, making a multitude of detailed drawings of vernacular architectural elements for Balb\u00e1s' books.. Picardo's published architectural drawings were highly regarded. They were described as \"magnificent\" by the leading Spanish restoration architect Luis Men\u00e9ndez-Pidal y \u00c1lvarez.In 1959 Picardo was given an unusual commission: to design a pack of baraja de naipes (playing cards) for exclusive use as advertising material by the Spanish fashion brand Loewe. With much imagination he personalised the characters he portrayed, for instance rendering the King of Hearts as the Emperor Charlemagne, the King of Clubs as Goliath, the King of Diamonds as Julius Caesar and the King of Clubs as Alexander the Great. They were produced in colour by the Spanish firm Naipes Heraclio Fournier and surviving packs are much in demand by collectors. Another games design produced by Picardo at much the same time was a set of wooden chess pieces formed in tall, slender, conical shapes and, with the exception of the pawns, surmounted by intricate and delicate indications of the pieces' types. It is dated to 1960.Around 1960 Picardo was rewarded by the Direcci\u00f3n General de Arquitectura (DGA) for the many illustrations he had provided for the DGA's Bolet\u00edn since he was a student with the publication of a small book, Dibujos de Jos\u00e9 Luis Picardo (Drawings of Jos\u00e9 Luis Picardo). More than 60 drawings appear in the book, both illustrations and humorous cartoons, and the foreword compares Picardo's work to illustrators such as the Romanian-American Saul Steinberg and in Britain Osbert Lancaster and Hugh Casson. The book is long out of print and virtually unknown in Spain, and not at all elsewhere, but is available second-hand. Paradores de Turismo. From the early 1960s to 1985 Picardo dedicated much of his professional life to the state-run hotel chain, Paradores de Turismo de Espa\u00f1a. He had for some time carried out minor work for the Ministerio de Informaci\u00f3n y Turismo which controlled the hotel network. For the purposes of tourism the Ministry and its forebears had for over 30 years rehabilitated rundown and sometimes ruined historic buildings such as castles and convents and converted them into luxury hotels in a style that went beyond ordinary hotel use. In the early 1960s, as Spanish tourism increased, the Ministry decided to rapidly expand its Parador operation (which would within a decade grow from 40 to 83 establishments) and Picardo, with his previous experience of historical restoration and his abiding interest in historical and vernacular buildings, was seen by the Ministry be a suitable architect to take on much of this type of work.. Picardo began working for Paradores on a series of restorations of old, monumental buildings and sometimes building new establishments adjacent to ruined monuments in a style that faithfully copied their original designs. His hybrid conversions maintained and often embellished the monuments' ancient appearance while at the same time finding inspiration in them for the style of luxurious modern hotel arrangements the authorities required.. A wealth of Picardo's drawings for his Paradores projects survive. There are large collections of extensively detailed plans which cover his designs from whole Paradores to the smallest detail of door furniture. There are axonometric before-and-after drawings of the buildings and the landscapes around them. There are bird's eye views exercising his mastery of perspective and his spatial vision. They all show meticulous skill.For nearly twenty years, from the early 1960s to his last work for the Paradores in the 1980s, Picardo carried out eleven major reconstructions of historical buildings and/or erected sympathetic and imitative new constructions abutting them or rising from their ruined foundations. With a number he returned to build additions to his earlier work. He also worked on a number of other Parador projects which for various reasons did not reach fruition. His eleven Parador masterworks encouraged other Spanish architects to work in the same vein, and Portuguese architects, too, in the similar state-run chain of hotels in Portugal, the Pousadas de Portugal. Picardo's work for Paradores de Turismo is highly regarded by other professionals, and also by hotel guests who revel in the historical imagery and romance of his work. Parador de Guadalupe: Zurbar\u00e1n. For his first of many Parador projects Picardo was appointed by the Ministry of Information and Tourism in July 1963 to convert into a Parador two ancient neighbouring buildings in the village of Guadalupe in the province of C\u00e1ceres in Extremadura. One building was the Hospital de San Juan Bautista, also known as the Hospital de Hombres, which was built in the mid-14th-century, rebuilt in 1402 and refurbished in the 16th century. The other building was the Colegio de Infantes, also known as the Colegio de Gram\u00e1tica, built in the early 16th-century for the education of  boys. They were situated close to the Monastery of Santa Mar\u00eda de Guadalupe, one of the most important monasteries of medieval Spain, in the centre of the village. The college was included in the Cat\u00e1logo de Monumentos Nacionales (Catalogue of National Monuments) when Guadalupe was declared a conjunto monument urban de inter\u00e9s nacional hist\u00f3rico-artistico (monumental urban complex of national historic-artistic interest).Picardo found the two buildings to be in a ruinous state, housing humble dwellings and poor workshops. While constructing a hotel out of the buildings, his task was to save what remained of their basic structures, including an \"outstanding\" staircase, and to return them to their original Mud\u00e9jar style. He partly demolished the old structures of both buildings, rebuilding them as they had originally looked, using ancient Mud\u00e9jar  construction techniques based on lime, clay and wood.Picardo set the main hospitality section of the Parador within the Colegio de Infantes, adding to the external south side of the cloister to provide a dining room and, above it, terraces for guest rooms facing the garden. The cloister remained intact, with Picardo leaving the lower arches open, but closing the upper ones with glass and wooden latticework. The exposed wooden framework and coffered ceilings were respected and clay tile flooring was laid on the upper floor.. The Hospital de San Juan Bautista was remodelled for the hotel's kitchens, service areas, laundry, staff residences, and car parking. Picardo also designed a large first floor breakfast room on the street side of the hospital building. Ventilation for all the services and rooms throughout the Parador was provided by chimneys which were covered with Arabic tiles and whitewashed uprights perforated with starry latticework and topped with glazed ceramic tiles in white, blue and green.Most of the furniture and internal decoration was designed by Picardo and he made much use of decorative wall tiles produced by the ceramicist Juan Manuel Arroyo Ruiz de Luna, including some explaining the history of the buildings, signed by Picardo. He was to employ Arroyo repeatedly in his Parador projects over the following twenty years and as a result the ceramicist's work became an identifying feature of Picardo's work.Restoration at Guadalupe started in November 1963 and the hotel, with twenty double rooms, opened on 11 December 1965.In 1981 Picardo was invited back to Guadalupe to add a new wing of guest rooms. He built them in understated but similar style to the rest of the Parador, providing views of the rooftops and towers of the monastery and of the surrounding mountains. The new wing increased the number of guest rooms to 41. As a result of being an afterthought to the original design, access to the new wing was complicated and required an abundance of staircases and lifts. Parador de Ja\u00e9n: Castillo de Santa Catalina. At the same time as preparing his restoration at Guadalupe, Picardo was commissioned by the Ministry to design and build a Parador at the Castillo de Santa Catalina (Castle of Santa Catalina) in Ja\u00e9n in Andaluc\u00eda. The castle stands on the site of a Moorish fortress and was built in the mid-13th century. It was damaged both in the frontier wars between Moors and Christians and in the Castilian Civil Wars. During the Peninsular War it housed Napoleonic troops. By the time Picardo came to the castle it had been completely abandoned. The site is on the top of a steep hill 800 metres above the city, with views in all directions.. Picardo began work on the Parador in early 1963 and his draft plans were ready by the late summer of that year. The building was planned as a simple hoster\u00eda with the emphasis on refreshment rather than accommodation, and was built on the location of the old barracks and stables of the castle rather than in the castle building itself. Picardo wanted large windows so visitors could enjoy the views; building in the castle would either mean making substantial openings in the original walls or building above the height of the battlements. Neither idea was acceptable to him.Using the elongated site at the top of the hill, Picardo planned a dining room, a lounge, service accommodation and guest rooms. He styled his new building on the layout and dimensions of the old castle and on what had been discovered during his research of its surviving interior designs. Work started in 1963, and the Parador opened to guests on 11 September 1965.The first phase, built only as a hoster\u00eda, had on the first floor 7 double guest rooms with fireplaces and with wooden balconies of a design that Picardo would repeat in a number of his later Parador designs. A mezzanine floor housed a cafeter\u00eda and a bar with an outside terrace, and on the ground floor was the reception area, the lounge and the restaurant, together with the service areas. There were also four single rooms for drivers, and a mechanical workshop.Picardo's Parador at Ja\u00e9n was a pastiche, which paid homage to the neighbouring castle. The basic structure was 20th-century concrete, steel, block and cement but he completely hid it from the public gaze with stone, brick, timber and iron in a way that suggested age and implied that the cladding materials formed the entire construction. The 20 metres high vault of the lounge appears to be built entirely of brick, but the structural impression is false; the Parador's admiring guests are not aware of the modern supporting skeleton behind the brick. Also much admired are the six impressively large and lofty stone arches in the dining room, which appear to support the ceiling and roof and achieve \"una sensaci\u00f3n espacial espectacular\" (a spectacular spatial sensation), but are in fact hiding the room's steel frame.In a second phase in 1969 Picardo added service rooms on the south wall, allowing the old service area to be converted into a further 12 guest rooms.In the late 1960s and early 1970s excessive rain caused a number of landslips in the unstable ground around the castle and hoster\u00eda and Picardo was regularly called in to strengthen the building.. Picardo returned to the project in 1973 to build a further extension in the same style. This was erected to the west of the first building and was joined to it by a tower which allowed for a change of heights between the original building and the new one. 24 guest rooms were added by the new extension, on two floors, bringing the total to 43. Picardo was hampered by the layout of the available land, and by limitations in the height to which he could build, so the extension elongated the building in a way that produced long corridors and distances between bedrooms and public areas. With the opening of Picardo's extension, the building was elevated to the title of Parador. It was inaugurated in 1978.Picardo also designed the building's interior, producing furniture, wall-hangings, shutters, carpets, light fittings, door furniture, floor and wall tile patterns and so on to continue emphasising the building's medieval ambience. He also used coats of arms from demolished buildings for both the interior and exterior of the Parador. He featured hand-painted written ceramic tiles, produced by Juan Manuel Arroyo, to decorate and 'sign' the building, to expound on its history and to credit the surveyor and stoneworker.In an article about the Ja\u00e9n Parador for an architectural magazine in 1967, Picardo rhapsodised about the mood and aura he had created for the building: \"Exterior, un conjunto de masas elementales rectangulares./Interior, techos con artesas, b\u00f3vedas y arcos, madera, barro y piedra. .../Ay del romancero!\" (Outside, a gathering of rectangular blocks./Inside, artesonado ceilings, vaults and arches, wood, clay and stone. .../Oh, the romance!)In the same article Picardo credited his \"maestros\" (masters): \"Torres-Balb\u00e1s, Moya, Sota y Luis Santamaria. Ninguno de ells la ha vista. Qu\u00e9 dir\u00e1n?\" (None of them has seen it. What will they say?). At Jaen, and at Guadalupe, finished at much the same time, Picardo established a style of architecture and interior design which found favour with his clients and their guests and which he was to pursue in most of his further work for Paradores, refining it where required and elsewhere repeating it faithfully. Parador de Arcos de la Frontera: Casa del Corregidor. The Parador at Arcos de la Frontera in the province of C\u00e1diz in Andaluc\u00eda is located in the centre of the old town, at the top of the cliffs that overhang the Rio Guadalete. Picardo first visited the triangular site in February 1964. He decided immediately that the fa\u00e7ades of the buildings facing the Plaza de Espa\u00f1a and the castle should be preserved, while the rest of the site \u2014 the old municipal slaughterhouse and other public utility premises and houses \u2014 should be demolished, though seven 2.35 metre columns from a patio within one of the buildings should be preserved to be used in the new building.In the twelve months from February 1964 all the demolition work was carried out. Picardo started work in October that year. He encountered a problem with a 15 centimetres wide crack across the top of the cliff which had been caused by the 1755 Lisbon earthquake.  He surmounted it by constructing a patio rather than building on the fractured zone next to the cliff edge. This single deck was built as an independent structure separated from the main building, so that any future movement of the terrain would not effect the Parador itself.. Picardo's design of the Parador was a copy of a typical Andaluc\u00edan residence with an entrance hallway leading to a typical patio, open to the sky, with terracing supported by the seven reused columns (though one further column had to be made to copy the others so as to achieve the same number of columns on all four sides). There were further small secondary patios. The dining room and sitting room were positioned to take advantage of the widespread views to the south and southwest over and beyond the river.Throughout the building Picardo copied many Andaluc\u00edan architectural features, most particularly in the ceilings, using exposed pine wood joists, linked by vaulted plasterwork, and the floors which were terracotta throughout. As at Guadalupe and J\u00e1en, Picardo designed much of the interior furniture, fittings, lighting and decoration, copying many of the features, both large and small, he had used in the earlier projects. He also used his typical ceramic tiles throughout the building, both for decoration and for explanatory texts.Picardo planned 18 guest rooms, but initially only 9 were built, some in the building facing the plaza, and the rest fronting the cliff-edge view. The latter benefitted from the same design of open wooden galleries Picardo had utilised at Ja\u00e9n. The Parador opened to guests on 7 November 1966.Picardo returned to Arcos in 1974 to complete his original plan, building another floor on the part of the building overlooking the cliff, using the same design features, and increased the number of guest rooms to 18. The extension entered service in 1979. Hoster\u00eda de Pedraza: Hoster\u00eda Pintor Zuloaga. In 1965 Picardo was commissioned by Paradores to restore and rehabilitate the old Casa de la Inquisici\u00f3n (House of the Inquisition) in the small, historic village of Pedraza, 37 kilometres northeast of Segovia in  Castilla y Le\u00f3n. It was to be a hoster\u00eda - only a restaurant and a bar - without guest rooms.The three-storey property was mostly in ruins when Picardo surveyed it and was consequently not protected by conservation laws. He was therefore free to carry out his renovation as he saw fit, building on the medieval and rural ambience of the village. On the exterior he rearranged and improved the windows, preserved the surviving coat of arms above the front door, and at the rear added what was becoming his signature open wooden gallery on the top floor. Inside, Picardo followed the rustic style of the region's inns, building a spacious lounge behind the entrance hall, with a large and low fireplace, and on the upper floors the bar and the 90-seat dining-room opening onto the balcony-gallery.Once again, Picardo designed his own furniture and other fittings, the lighting and decoration, following the local style.. The hoster\u00eda - named \"Pintor Zuloaga\" - opened to the public on 14 December 1967.At the same time Picardo raised the idea of expanding the property by purchasing neighbouring buildings. He had been concerned that the Hoster\u00eda had restricted views, and felt that an extension could be designed with extensive views of the Sierra de Guadarrama to the south. His plans offered the prospect of 16 guest rooms and in November 1969 the proposal to convert the Hoster\u00eda into a Parador was made public. However, difficulties in purchasing the neighbouring property made the project impossible.The Pedraza Hoster\u00eda continued in operation until 15 December 1992 when economic pressures on the Parador chain caused its closure. Parador de Alca\u00f1iz: La Concordia. In 1966 Picardo began the conversion into a Parador of the Palacio de los Comendadores at Alca\u00f1iz in the province of Teruel in Aragon. The palace - the fa\u00e7ade of which was remodelled in late-Renaissance style in 1728 - stood as the most prominent additional part of the Castillo de los Calatravos (Castle of the Calatravos), a monastery-fortress built in 1179. The oldest parts of the structure, a keep, a church and a cloister, date to the 12th and 13th centuries.The section of the property set aside for Picardo's conversion was the immense south wing, which was flanked by two towers and divided into three floors, the ground floor built of ashlar and the upper two floors of brick. There were balconies on the first floor, and on the uppermost floor a characteristic Aragonese long gallery had been developed, created by a succession of semi-circular arches. The castle had been allowed to fall into disrepair and in some parts into ruin, but in 1925 it was declared a National Monument.When Picardo began work on the design he found that space in the palace was limited and he was unable to provide more than 12 guest rooms. His plan for the public areas included the conversion of two large and long ground floor interiors, with pointed barrel-vaulted ceilings, on each side of the building's entrance. To the left of the entry, in the original guardhouse, he placed the reception area and to the right, where the old stables were situated, he placed the bar and cafeter\u00eda, adding one single window to each space to allow in some daylight. In these rooms Picardo left the exposed masonry of the walls and ceilings. The main dining room, which he placed on the first floor, connected by the main staircase from the ground floor, was based on the great hall of a palace. In it he featured a large fireplace and chimney at one end, and used a multitude of large timber beams to shape a coffered ceiling, with decorative plasterwork strung below.. The twelve guest rooms were arranged on the second floor, but the windows being high in the walls, Picardo arranged for a raised area in front of each window so that guests could see out of the windows with greater ease. The public corridors followed the design pioneered by Picardo at Ja\u00e9n of imitation stone groin vaults at regular intervals.In planning the interior decoration Picardo determined that the ground floor would be medieval in design in keeping with the original military use of the palace, and the upper floors would be more palatial in decor. He designed much of the joinery, the beds, the tables, the chairs and, in particular, the light fittings, making use of the emblem of the Order of Calatrava as a decorative motif. His attention to detail even extended to the design of hinges and handles for doors, and for the heads of nails used in the door faces. He also made considerable use of his characteristic ceramic murals decorating the public parts of the building, including his history of the castle, all produced by his favoured ceramicist, Juan Manuel Arroyo, and signed by Picardo.The Parador opened for service on 18 May 1968 and was inaugurated on 6 July 1968.As early as 1972 Picardo had reported to the Ministry of Information and Tourism on the feasibility of carrying out further work to increase the number of rooms at Alca\u00f1iz. In 1975 he designed a new two-storey wing for the ruined west side of the complex which would double the number of guests rooms. His plans lay in abeyance until 1998 when the architect Carlos Fern\u00e1ndez-Cuenca G\u00f3mez resurrected Picardo's original 1975 designs. They had to be altered somewhat in the light of archeological discoveries made since 1975, but much of Picardo's ideas were incorporated in the expansion of the Parador, bringing the number of guest rooms to 38. Hoster\u00eda de C\u00e1ceres: El Comendador. In 1966 Picardo was commissioned by the Ministry of Information and Tourism to work on the Palacio del Comendador de Alc\u00faescar (Commander's Palace of Alc\u00faescar), also known as the Palacio de los Marqueses de Torre Orgaz, in the historic centre of C\u00e1ceres in the province of the same name in Extremadura. Originally built as a medieval fortified residence on pre-existing Arab buildings in 1488, the palace was modified in later centuries, adding Gothic, Renaissance and Baroque elements. The Ministry proposed the conversion of one part of the palace into a Hoster\u00eda.The part of the building on which Picardo was to work was a jumble of old buildings, some attached to the main palace building and some free-standing, which had mostly formed stables and coach houses. There was also a patio-garden between these buildings and the palace and its tower.. Picardo began by demolishing most of the ramshackle service buildings, other than the square structure at Number 6 Calle Ancha which benefitted from substantial stone walls and four brick, groined vaults. Picardo decided the lower ground floor of this building would form the bar and cafeter\u00eda, with a doorway from the street which would become the main entrance to the Hoster\u00eda. He erected three further floors above the lower-ground floor, reusing many architectural elements from the demolished buildings. Picardo also installed a sgraffito image above the main doorway, featuring the cross of the Orden de Santiago (Order of Santiago).A new one-storey building was erected to the rear of the plot, imitating similar buildings in the city. Ashlar and solid brick formed the interior and exterior facings of the walls, and pantiles were utilised on the roofs. Picardo also excavated large areas beneath the buildings to make service areas. He designed and built a stone and iron enclosure and entrance gateway from the street to the patio garden. Throughout, his intention was to make the Hoster\u00eda appear, through imitation, to be an integral historic part of the old city centre.Internally, Picardo repeated many of his pastiche medievalisms as seen in his previous Parador projects, with much use of heavy timber, such as a dark coffered ceiling in the dining room and classic Castilian designs for windows, doors, furniture, and light fittings. Terracotta tiles were used for the floors in the bar, the dining room and the two lounges.The Hoster\u00eda de C\u00e1ceres opened on 18 May 1971.Further work for Picardo included the complete re-roofing of the palace, which involved renewing the roof structure, because of what he described as \"a degree of imminent ruin due to its terrible wooden structure\", and an extension to the original dining room area by glassing-in the colonnaded portico facing the patio garden.. In 1970 Picardo had suggested to the Ministry that the rest of the palace could be converted into a full Parador, utilising the already converted Hoster\u00eda. This proposal was not taken up at the time, and a Parador was opened elsewhere in the city.The Hoster\u00eda was closed in June 1984 because it was not making a profit. At that point the rest of the palace was, as Picardo had recommended, restored and converted and, with his original Hoster\u00eda, opened as a full Parador with 27 guest rooms on 10 October 1989. Picardo was not involved in this work.. Subsequent expansions into neighbouring buildings have turned the Parador into a much larger establishment. Picardo's original entrance, bar and cafeter\u00eda area now form a sumptuous suite, though the medieval aura of his interior decoration and furnishings for that part of the building has been lost through modernisation. Parador de Carmona: Alcazar del Rey Don Pedro. In 1966, while building the Parador at Arcos de la Frontera, Picardo was commissioned to inspect three ancient sites near the city of Sevilla in the province of the same name in Andaluc\u00eda with a view to constructing another Parador. After looking at the castle at Alcal\u00e1 de Guada\u00edra, and the palaces of \u00c9cija, he came across the ruined castle of Carmona the Alc\u00e1zar del Rey Don Pedro (also known as the Alc\u00e1zar de Arriba y Puerta de Marchena). In his subsequent report to the Ministry of Information and Tourism Picardo was enthusiastic about Carmona and provided preliminary sketch designs, which the Ministry accepted, and in 1968 he began his preparatory work.The origin of the castle is probably Muslim and Pedro I restored it in the 14th century into a lavish palace in Mud\u00e9jar style. It was used by the Catholic Monarchs of Spain during their final battles with the Moors in Granada. The castle was abandoned after being severely damaged in a 1504 earthquake whose epicentre was near Carmona and ruined even further in the Lisbon earthquake of 1755. Seven towers remained, but most of the connecting walls of the fortress were in ruins.. Picardo chose the southeast of the vast castle area, a corner known as the Plaza de Armas (parade ground) to build the Parador. Situated at the highest point of the town, the views were judged to be spectacular, looking far over the plains.. Picardo also resolved to position the building on the edge of the cliff overlooking the valley and overlapping the foundations of the original castle walls by such an extent that there would be space for guest rooms within the sloping walls below the Parador's ground floor. The 1504 earthquake and Picardo's location of the building were to set up permanent problems for the Parador. In 1918 a survey of the area had revealed that the earthquake had opened a deep crack more than a metre wide in exactly the position where Picardo intended to locate the Parador's southern wall. The result was that one part of the castle's ancient wall, and the land behind it, had subsided by about 180 centimetres. As the crack and the subsidence had been concealed by rubble to a depth of about half a metre, and Picardo and his engineers were unaware of the results of previous surveys, it was not until work began in 1969 preparing for the new building that the potential instability of the ground was revealed.. The Service Geol\u00f3gico de Obras P\u00fablicas (the Public Works Geological Service) was brought in and located an underground fault of three to four metres. Despite that, the geologists considered the ground to be stable and decided that as long as certain protective measures to protect the foundations were taken the terrain would present sufficient resistant characteristics. Cement was injected to fill all the cavities and a reinforced concrete slab was constructed which, belatedly, allowed work on the Parador to continue.Picardo designed a typical Hispanic-Arabic layout with two central patios, one of which would be the centre of the public area, and the other the centre of the service department. The layout would effectively reproduce that of the original fortress. Even though it was an entirely new building, in keeping with his previous works for Paradores Picardo ensured it would be in vernacular form and would appear to be historic and as if elements of it had been there for centuries. The south and east walls of the building, which descended well below the parade ground level, would have four floors, and be sloping steeply outwards towards the ground below the cliff, allowing for the installation of rooms within them. Conversely, on the parade ground entrance side of the building there would be only two floors.Picardo's first plan was that there would be 23 double guest rooms and 10 singles, together with the hospitality and service areas. The considerable delay in the start of building to allow the ground to be stabilised encouraged the Ministry to decide on a pre-completion expansion of the building, bringing the total guest capacity from 56 to 102. Most of the rooms would be on the southern fa\u00e7ade with some below the Parador's access level and others in what from the outside would appear to be the third and fourth floors, with those on the top floor, just beneath the roof, benefitting from Picardo's now typical timber balconies.The main structure of the building, as was Picardo's style, was formed of concrete, clad with ashlar and brickwork and enhanced by buttresses. The roof was formed of clay pantiles, topped with decorative chimneys of the same style as those Picardo designed for the Parador at Guadalupe, disguising guest bathroom ventilation outlets. Internally, he installed limestone columns and made much use of ceramic tiling, and brick. The floors were marble and terracotta.. As in previous Paradores built by Picardo he had control of the interior decoration down to the smallest detail, in Carmona achieving a Hispanic-Arabic ambience of a palatial Mud\u00e9jar style, with much use of coffered ceilings and star lattice-work in wood and stone and subtle changes of style in the progression from room to room. The public patio was adorned with semi-circular arches on tall, slender pillars, while the dining room was more robustly medieval in a gothic style with exposed wooden beams and pointed arches with finely cut stone hiding the structural ironwork of the roof. Lights and furniture, door fittings and mural tiles were all designed by Picardo.The Carmona Parador was inaugurated on 30 March 1976 by King Juan Carlos I and Queen Sof\u00eda.. In the year of the Parador's inauguration a large crack was detected parallel to the south fa\u00e7ade, affecting the entire building. To deal with this an expansion joint was constructed that divided the building into two zones. In 1977 Picardo reported that the building had moved in the direction of the valley. He calculated the lateral displacement as 4 centimetres at the expansion joint. There was a 45 degree crack in the Parador indicating a similar degree of slippage in the ground beneath the building. Picardo also indicated a number of smaller cracks in the building, but viewed them as of minor importance.The Service Geol\u00f3gico de Obras P\u00fablicas was brought onto the site again to monitor the building for a period. They found that there was continuing movement, and that this was more noticeable in the rainy season. They recommended that the foundations of the south wall be underpinned.Due to new government policy at the Ministry which required only employed personnel to work on Parador buildings, Picardo \u2014 as a freelance \u2014 could not be involved in the building's structural problems after 1978.Despite underpinning in 1980, and in 1987 a tie beam being concreted in the ground at the foot of the south wall with anchors penetrating deep into the sandstone beneath the building, more movement was detected in 1996. In 2013 it was reported that further cracks had been detected in the area where the large cracks had first appeared in 1977. The building is considered to be seriously at risk in the event of a sharp rise in the water table, or another earthquake.Minor improvements and modernisations were carried out in the Parador in 1982 and 1983 under the supervision of the architect Jes\u00fas Valverde Vi\u00f1as. In 1987 an expansion was carried out by the architect Carlos Fern\u00e1ndez-Cuenca G\u00f3mez which included additional guest rooms, and a new pavilion for conventions. He rigidly copied Picardo's style.. The Carmona Parador now has 9 double rooms, 51 twin rooms and 3 single rooms, making a total guest complement of 123. Parador de Sig\u00fcenza: Castillo de Sig\u00fcenza. In 1964 Picardo was involved, with the Ministry of Information and Tourism, in investigating old buildings for conversion into a new Parador in the Province of Guadalajara. Possible locations were the castle at Atienza and the Casa del Cord\u00f3n, an old inn in the same town, the castle at Molina de Arag\u00f3n and the castle at Sig\u00fcenza. He considered the last to be the best proposition despite it being comprehensively ruined. It stands prominently above the town and cathedral of Sig\u00fcenza and dominates the landscape. The Ministry set about acquiring it the same year. The Castillo de los Obispos de Sig\u00fcenza (the Castle of the Bishops of Sig\u00fcenza) was a palace-fortress with Iberian, Roman, Visigothic and Moorish origins. It was enlarged and modified repeatedly between the 14th and 18th centuries, after which it declined and deteriorated, suffering progressive damage during the French invasion, the Carlist Wars, and finally during the Spanish Civil War when it was bombed by artillery and from the air during the Battle of Guadalajara in 1937. It was then left in ruins for over three decades.Starting in October 1969 Picardo analysed the condition of the building. \"The state of the castle could not have been more pitiful\" he wrote years later. \"Its military nature had been spoiled by converting its towers into belfries; huge windows and balconies had been opened for living quarters, particularly in the southern part of the castle which had served as the living area for the bishops; all the walls had been covered with plaster and render which hid the original stone; and an endless number of parasitic features had been patched onto it.\" The structure was without roofs and there were numerous collapses along the entire fortified enclosure walls. In his report to the ministry, Picardo was blunt: \"La cobra de este Parador lava en s\u00ed la reconstrucci\u00f3n de todo el castillo, hoy en ruins.\" (The work on this Parador entails the reconstruction of the entire castle, now in ruins)In making his plans for the castle, Picardo resolved that it would be remodelled as totally medieval, without any concession to what remained of later additions, obliviating almost all of its later history. The castle's real past was to be reinvented. Picardo later stated that \"the reconversion mainly consisted of re-creating the military feeling of the castle with its towers and battlements and of leaving as much wall-facing as possible in naked stone. The most delicate part was disguising or hiding the windows of the guest rooms and of other outside rooms which would have spoiled the massive impact a castle should have.\"   Work on converting the castle began in 1972. In pursuit of requiring the castle to appear entirely medieval, and as a fortress rather than as its later existence as a bishop's palace, Picardo raised most of the outer walls by at least one more storey, causing the roofs to be flat rather than sloping and allowing for the hotel accommodation required. The towers, too, were further raised, including the twin towers of the fortified gateway, the barbican, which over the centuries had been restyled almost as belfries with sloping conical roofs.. In search of a military external image Picardo removed all the large windows, balconies and other wide openings which had been cut in the original outer walls of the castle, reducing what windows had to remain in the exterior (other than those of the dining room) to their minimum in size. The parts of the walls which had been destroyed by bombardment during the Civil War were rebuilt using the remaining stone detritus to match the surviving walls. The plaster and rendering with which the exterior walls were faced (in parts in sgraffito) was removed to reveal the original bare stone. Later buildings attached to the exterior of the building were demolished and any extraneous cladding was removed. All the surrounding walls and towers were crenellated.. Picardo cleared the central courtyard of all the post-medieval accretions. His criterion was what he termed \"unidid de estilo\" (unity of style): clearing the property of all non-medieval additions because he felt they distorted the castle's \"guerrero\" (warrior) intensity. 40,000 tons of debris were removed from the courtyard.In his reconstruction of the interior of the castle Picardo exercised the standard practice of the Paradores network, and of which he was deemed to be the master, of using steel, reinforced concrete, blockwork and cement to erect the basic structure but hiding those modern elements behind a faked historical veneer of walls, beams, arches, and cladding made of stone, brick, timber and iron. Because the ingress of light to the interior of the building had been reduced by the minimising of the size of the exterior windows that remained, daylight had to reach the interior by making many window openings in the courtyard walls.. On the north wall of the courtyard and approached from the outside by the barbican towers, Picardo installed the main reception area and rebuilt a portico area with pillars and intermediate glass. Above were bedrooms with balconied terraces erected in his signature timber style. He repeated the historical rendering of the exterior facades of the castle which had been decorated with sgraffito, and which he had removed, by replicating the decoration on the northern walls of the courtyard.In the northeast corner of the ground floor had been the bishops' throne room, and Picardo here installed the main guest lounge, a lofty room with a timber-beamed ceiling and two large fireplaces and chimneys. On the east side of the ground floor was the dining room, with the building's only large windows, which looked out onto the wooded ravine of the Arroyo Vadillo. The room used Picardo's favoured powerful stone vaulting to hide the steel supporting structure of the floor above. On the courtyard side of the dining room he placed a similarly vaulted bar and caf\u00e9. Wide wooden staircases on this eastern side led to the first and second floor bedrooms, a few of which were in the northeast tower with windows looking over the town, and some towards the south, but most looking into the courtyard with those on the upper floor benefitting from Picardo's typical  balconies. Another lounge with a wooden coffered ceiling was located on the first floor. Picardo took care to preserve one of the oldest rooms of the castle, the original chapel.. A further much smaller, three-storied pastiche monastic courtyard with semi-circular arches was built at the southern end of the castle which had sustained the most damage in the Civil War bombardment, with more guest rooms arranged around it. On the inner face of the west wall the original wine cellars, dungeons, granaries, bakeries and stables were removed and against this wall Picardo installed a 65 metres long banqueting hall with his familiar stone vaulting, and an attached bar room. Below this hall he installed large service areas.. Picardo, as  usual, provided his own interior decor, with special attention to the medieval. He designed classic Castilian-style furniture, flooring, rugs, doors, windows, light fittings, mirrors, heraldic displays, seigneurial crests, banners, explanatory mosaics and so on, everything down to the smallest detail. Picardo built 38 guest rooms and one suite on the first floor, and 42 rooms and one suite on the second floor, providing space for 162 guests. On the wall of the main entrance hall Picardo placed a mural consisting of 45 tiles making up a cartouche recounting, in his own words, the history of the Castillo de los Obispos de Sig\u00fcenza accompanied by a description of the physical work carried out in restoring the building. \"La actual construcci\u00f3n es casi toda nueva ...\" (The present building is almost all new ...) Picardo declaimed. He continued (translated into English): \"... the authentic parts being preserved, though reconstructed, the Romanesque chapel, the entrance and towers as well as the barbican, the two Renaissance doorways of the parade ground and the throne room. \u2026 The perimeter of the castle has been respected, the eastern fa\u00e7ade being completely new and the other three reconstructed and remodelled. Wide gaps have been closed and additions have been demolished, trying to restore the medieval character of the exterior.\" He goes on to say the work was completed in 1976 and that he, Don Jos\u00e9 Luis Picardo, was the architect.The Parador opened to the public on 20 July 1976 and the first stage of building work was finished in November of that year. It was inaugurated by King Juan Carlos and Queen Sof\u00eda in April 1978. Sig\u00fcenza was to be Picardo's last major project for the Paradores.. Remodelling and modernisation of the Parador took place in 1990 under the direction of the architect Carlos Fern\u00e1ndez-Cuenca G\u00f3mez who scrupulously followed Picardo's style. Despite these further works, the Parador has kept its original character as established by Picardo. Most of the improvements have been only to modernise the services and facilities. Other Parador projects. In the 1960s and 1970s Picardo was called upon by the Ministry of Information and Tourism to investigate and report on a number of other old buildings for possible conversion into Paradores. He drew up proposals and plans for a number of these buildings but, despite detailed work on some of them, they did not become Paradores within his working life or were completed by other architects. Picardo was also asked to review proposed works for similar buildings to be restored by other architects, and to develop ideas for improvements to existing Paradores.. Among the most advanced plans Picardo drew up were in 1969 for the renovation and conversion into a Parador of the castle at Puebla de Alcocer, a small municipality 70 miles east of M\u00e9rida in the Province of Badajoz in Extremadura. His draft plans show that a multitude of openings would have to have been made in the outside walls for windows. An access road was built, but ultimately the project did not materialise.Another project, in 1970, was the conversion into a Parador of the 11th century remains of the castle in Monz\u00f3n, in the Province of Huesca in Aragon, but Picardo judged the project to be unviable and the idea was abandoned by 1972.Among other buildings Picardo reported on were three for which he executed preliminary designs and drawings and which later became Paradores, though he was not involved in their completion. They were, in 1963, the old palace at Olite in Navarra, in March 1969 the Castillo de la Zuda at Tortosa in the Province of Tarragona in Catalu\u00f1a and in 1970 the castle at Cardona in the Province of Barcelona in Catalu\u00f1a.Picardo also surveyed several other buildings which were ultimately destined not to become Paradores. Among them were the Castillo de San Ant\u00f3n at A Coru\u00f1a in 1968, the Posada del Cord\u00f3n at Atienza in the province of Guadalajara in 1969, in 1970 the Palacio del De\u00e1n and the Palacio del Dr Trujillo at Plasencia in the Province of C\u00e1ceres in Extremadura, and in 1971 the Castillo de Segunto near Valencia. Also in 1971 Picardo inspected the castle at Molina de Arag\u00f3n in the province of Guadalajara, and possibly also in 1971 the Castillo de Valderrobres in Teruel in Aragon. In 1972 he surveyed the castle at Trujillo in the Province of C\u00e1ceres in Extremadura, the cave houses of Mes\u00f3n Gitano (now known as the yacimiento arqueol\u00f3gico Barrio Almohad\u00ed (archeological site Barrio Almohad\u00ed) and the nearby Alcazaba of Almer\u00eda, and the castle-fortress at Aracena in the Province of Huelva in Andaluc\u00eda. In 1975 he also developed improvements for one of the earliest existing Paradores, opened in 1929, the castle at Ciudad Rodrigo in the Province of Salamanca in Castilla y Le\u00f3n. Controversial legacy of Picardo's Paradores. It was not unusual in Spain in the 1960s and 1970s for the rehabilitation of castles and convents (not all destined to be Paradores) to be carried out without archeological research either before work began, which would have added to expense and delayed the project, or while work was being carried out. Instead, Picardo's rebuilding projects were planned mostly on the basis of his own historical and architectural research. The hotel conversions and the demolition of large parts of monumental buildings without detailed investigation and record-keeping was somewhat frowned upon in the 1960s and 1970s, and over half a century later is seen by archeologists and historians as a matter of significant controversy and regret. Picardo's work at Sig\u00fcenza, in particular, converting a castle-palace into a Parador, has been decried as \"medieval scenery for tourist accommodation\".The leading researcher into the architectural history of the Paradores network and its restoration of architectural heritage, Dr Mar\u00eda Jos\u00e9 Rodr\u00edguez P\u00e9rez, has extensively documented and studied the work of Picardo and his fellow Paradores architects of the 1960s and 1970s in her lengthy and detailed doctoral thesis and subsequent books and publications. She has described the architects' objective as being escenograf\u00eda convincente (convincing set design) to evoke the historical era considered to be of interest to tourists, generally the medieval period. In writing of the new extensions which were designed to be identical to the monuments to which they were attached \u2014 Picardo's Parador at J\u00e4en is a good example \u2014 she has described them as being \"falso hist\u00f3rico\" (false history) ... \"a replica whose documentary value has been masked or even lost\".In Picardo's defence, his early mentor Fernando Choeca Goitia defined him as \"un arquitecto sue entiende la arquitectura como arte\" (an architect who understands architecture as art). Picardo himself maintained: \"El Arte es eterno ...\"(Art is eternal ...), \"...it is always current. The reconstructions of the castles are really false. If they are Art, they are justified and if they are not, they are truly condemnable.\" Picardo had no qualms about his film set concept of restoration, using modern construction techniques and concealing them with traditional materials, as long as the buildings looked old rather than modern. One Spanish academic, an assistant professor of architecture and design, writing of Picardo's artistry, has stated: \"The end ... justified the means, in such a way that in his work we can find an impressive rib vault supported by a hidden metallic substructure, a coffered ceiling suspended from a concrete slab or a stone retaining wall with a reinforced concrete core.\" He goes on to say that faced with the dilemma of adopting a \"mimetic and conservative attitude or a more modern and disruptive approach\", Picardo claimed supremacy for Art. \"En Arte todo es posible\" (In Art everything is possible), wrote Picardo in 1994. \"A good architect will know how to weigh up both solutions and his sensitivity shall dictate his choice.\"Despite the current views of historians, Picardo's Paradores \u2014 particularly those at J\u00e4en, Carmona and Sig\u00fcenza \u2014 though pastiche, remain amongst the most popular of the network's hotels. One United States travel writer enthused about J\u00e4en: \"I love this parador, so dramatic in its setting, so theatrically conceived ... Inside, the deception is masterly, creating an ambience as old and austere as it is surrealistic and extravagant.\" Other historical restorations. Demonstrating his educated and precise knowledge of classical styles, during his career Picardo carried out restoration works on the Catedral de C\u00e1diz, deleteriously affected by salt from being near the sea, the Real Monasterio de Santa Mar\u00eda de Guadalupe, the Catedral de Santa Mar\u00eda de Sig\u00fcenza, damaged during the Civil War, and in the tiny Ermita del Humilladero in the Sierra de Villuercas. He rehabilitated the Antiguo Palacio del Marqu\u00e9s de Montana (also known as Palacio Domecq) in Jerez, rebuilt the Palacio de Gamazo in Madrid which had been partially demolished three years before, restored the Castillo de San Felipe in Puerto de la Cruz de Tenerife and in his last project worked on the Archivo Hist\u00f3rico Provincial de Salamanca in the old centre of the city in 1995. Fundaci\u00f3n Juan March. In 1970 Picardo was invited to compete with fellow notable architects Javier Carvajal Ferrer and Mariano Garc\u00eda Benito for the contract to design and build a new headquarters building in the Salamanca neighbourhood of Madrid for the Fundaci\u00f3n Juan March (Juan March Foundation) which promotes Spanish culture and science. He was asked to take part after Juan March himself was impressed by Picardo's work at the Parador in Ja\u00e9n. In 1971, Picardo, after seeking inspiration in the buildings of Greece and New York which he claimed provided \"two basic architectural references: the classic perfection of the Parthenon and the constructive audacity of the new languages of New York\", Picardo's design won the competition and he was awarded the contract for the building.. Picardo designed a building of \"extreme simplicity and elegance, of great architectural beauty and modernity\".  Located between Calle de Castell\u00f3 and Calle de Padilla, the building, started in 1972, consisted of seven floors at ground level and above, measuring 1,400 square metres in all, and four below ground, measuring 3,000 square metres. Picardo's purpose in burying most of the building below ground was to obtain the maximum amount of free land for the garden. It was conceived as a cube with the same dimensions on each of the four fa\u00e7ades and designed with continuous horizontal banding without break around the corners. The ribbon windows, formed of near-black anodised aluminium frames and dark coloured glass, alternated with bands of white Carrara marble cladding laid in a uniquely patterned bond. Black and white were to be the dominant colours, but Picardo, for reasons of time, was forced to accept an off-white marble mistakenly delivered for the fa\u00e7ades rather than the pure white that was ordered.For the interior of the building Picardo designed several assembly halls, auditoria for concerts, theatre, cinema and conferences, along with numerous exhibition and gallery spaces, libraries, offices, Council rooms, conveniences and two floors of car parking below ground. The predominant materials used inside the building were white marble, bronze and walnut, with much carpeting and a wide staircase with fabric walls. The dominant colours were dark brown and beige.. In detail, Picardo set a large entrance hall and an exhibition space of more than 400 square metres on the ground floor, administration and the archive department on the first floor, a library with reading rooms and book storage on the second floor, and offices, meeting rooms and banqueting areas and reserve space on the remaining upper floors. Two of the basement floors were dedicated to car parking for about 100 cars and for services, while another basement floor housed two venues for events, conferences, concerts and theatre performances, one of them with 300 seats, the other with 100. A large hall connected the two performance spaces.Picardo integrated pictorial and sculptural works into the architecture itself and many pieces were produced by artists and sculptors specifically for the building. Among them were sculptures by Eduardo Chillida and Pablo Serrano and a mural by Joaqu\u00edn Vaquero Turcios. Prominent amongst the artworks Picardo designed for his own building were the large bronze double doors in the south fa\u00e7ade leading to the garden. The garden itself, of 1,700 square metres and also designed by Picardo, was intended from the original concept to be a notable part of the project.The building was inaugurated in January 1975 to acclaim. One observer has noted that in producing the building Picardo had been \"controlling proportions and spaces with complete ease and achieving one of the best buildings in the recent history of Madrid\". Picardo himself described it as his best work. Real Escuela Andaluza del Arte Equestre. In 1978 Picardo was commissioned by the Ministry of Information and Tourism to build a public indoor riding arena for the Real Escuela Andaluza del Arte Equestre (Royal Andaluc\u00edan School of Equestrian Art) in Jerez de la Frontera, his birthplace. The school was established in 1973, dedicated to preserving the heritage of the Pura Raza Espa\u00f1ola (Pure Bred Spanish horse). It had few decent facilities until the interest and involvement in its activities of Prince Juan Carlos (later the King of Spain) and the Ministry's subsequent decision to take charge of the school.. Picardo's commission from the Ministry was to design a sala de equitaci\u00f3n, a huge arena for horse and riding displays, in particular the school's signature performance \"Como Bailan los Caballos Andaluces\" (\"How the Andalusian Horses Dance\") which would seat up to 1,600 spectators. Connected to it were to be stable facilities for 60 horses.Picardo utilised a neo-Renaissance style which in its colouring referred to Andaluc\u00eda. Externally most of the structure was coloured in a deep ochre, representative of the land and soil of the region while the infilling of the fa\u00e7ades copied the stark white of traditional Andaluc\u00edan village homes. Rows of relief pillars were the perceived support for the immense crowning hip roof, with between them 54 large circular windows in a single row around the building. Above them, in the roof, Picardo positioned 36 dormer windows serving as ventilation. At ground level was another row of circular windows each placed within its own semi-circular arch and pseudo-supporting pillars.. Internally, the display area is rectangular with spectator seating on six tiers around the arena. Picardo repeated the external colouring inside the hall, with the ochre of the loose sand on which the horses perform, and bright white walls and pitched ceiling reflecting daylight from the many windows. At one end of the arena is the royal box and at the other the grand entrance, beneath flags, which leads to the stables and a central octagonal two-level tack room. Five stable blocks radiate out from the tack room, each with twelve boxes. Within the stables, Picardo repeated his images from the outside, with rows of semi-circular arches topping simple stone pillars.. The Sal de Equitaci\u00f3n was opened for performances in 1980. Guernica in the Museo Nacional del Prado. When Pablo Picasso's large 1937 anti-war painting Guernica was brought to Spain in 1981 from its then home in the Museum of Modern Art in New York, it was decided to hang it permanently in the Museo Nacional del Prado in Madrid, as Picasso had requested. Picardo and fellow architect Jos\u00e9 Garc\u00eda Mar\u00eda de Paredes, jointly heading a technical team, were commissioned to design a means of displaying the painting securely in the Sal\u00f3n de Luca Giordano in the Museum's annexe, the Cas\u00f3n del Buen Retiro.The painting had to be protected by armoured glass from bombs, bullets, and vandalism. The architects' problem was that, while the painting is 7.76 metres long by 3.49 metres high, the largest sheet of 18mm triple armoured glass available at that time was smaller, at 7.50 metres by 2.45 metres. The decision was therefore made to install the painting some distance away from the main sheet of glass, so that the metal frame of the glass would not infringe on the view of the image. The solution for the display was to build an armoured glass and steel polyhedron case whose bevels, for full security, would meet the floor, the walls and the ceiling around the picture. The main glass itself was set at 10 degrees to the vertical to avoid reflections. The sources of illumination would be within the case. The size of the room in which the picture was displayed \u2014 a large high space originally created as a ballroom \u2014 allowed the whole canvas to be viewed from 25 metres away.Guernica was installed in September 1981 and the room opened to the public on 25 October that year, Picasso's centenary. Within a year, over one million people had seen Guernica in its new Picardo/de Paredes setting. Opinions of the method of display differed. The artist's daughter, Paloma Picasso, applauded the location and the method of display, as did Spanish artist Josep Renau. Catalan architect, Josep Llu\u00eds Sert, described it as \"magnificent\". The British art critic and collector, Douglas Cooper, wrote that the painting was \"admirably lit, there being no shadows, no reflections and no distortions.\" He went on: \"Never in its history has Guernica been displayed so beautifully or so entirely to its advantage.\" Others were not so convinced. It was reported that the fact the installation was built by the technicians of the C\u00edrculo de Bellas Artes rather than by the Prado's own staff brought practical difficulties. And British art critic, David Sylvester, maintained years later that when Guernica was returned to Spain in 1981 \"it was hung in an annexe to the Prado, where by common consent it was not seen to advantage.\"In 1992 Guernica was controversially moved from the Museo Nacional del Prado (where Picasso had wanted the painting to be permanently displayed) to a purpose-built gallery at the Museo Nacional Centro de Arte Reina Sof\u00eda. The Picardo/Garc\u00eda de Paredes display installation is no longer in use. Election to the Real Academia. On 3 February 1997, at the age of 78, Picardo was elected Academician of the Real Academia de Bellas Artes de San Fernando (Royal Academy of Fine Arts of San Fernando), being proposed by Julio Cano Lasso, Fernando Chueca Goitia and Luis Garc\u00eda-Ochoa Ib\u00e1\u00f1ez. He entered the Academy on 22 February 1998 with a speech entitled Hip\u00f3lito, the composition and delivering of an address having been established as one of the requirements after being elected Academician. In it he talked of two of his passions: architecture and the horse. \"The horse is an animal that surpasses the human body in beauty, strength and speed,\" Picardo claimed. \"... and architecture, in turn, is the art that protects this human body and enables and exalts it.\" He confessed that it was impossible for him to decide between architectural beauty and equine beauty because both \"son perfecciones\" (are perfections).In 2000 Picardo gifted the academy his oil painting Guardia civil en el puerto de Alazores, an image of five policemen mounted on five horses in a compact group. The academy observes the complicated juego (game) of the twenty horses' legs of different colours and in different positions seemingly almost entwined.The academy also houses in its collection a portrait of Picardo by Luis Garc\u00eda-Ochoa Ib\u00e1\u00f1ez. Painted in 1953 it portrays Picardo in an informal pose at the age of 34. It was donated to the academy by his sons in 2023. Premio Antonio Camu\u00f1as de Arquitectura. In 2001 Picardo won the prestigious Premio Antonio Camu\u00f1as de Arquitectura (Antonio Camu\u00f1as Prize for Architecture). The prize has been awarded every two years since 1985. Its purpose is to recognise the oeuvre of a Spanish architect who has stood out in his or her work for architectural renovation. The prize jury praised Picardo, the ninth winner, as an architect \"knowledgeable about our culture ... who has quietly exercised his professional activity, reinterpreting and valuing the richness of our historical heritage.\" Personal life. Picardo married Trinidad de Ribera Talavera and they had five children: three boys and two girls.In a rare public description of Picardo's personality a US travel journalist wrote of him in 1972 as \"a package of energy, wit and imagination ... eyes twinkling\".Picardo died on 27 July 2010 in Madrid. ", "title": "Jos\u00e9 Luis Picardo", "qa_pairs": "[{'Q': \"How many people were in Picardo's family when he was twelve?\\n1. seven\\n2. six\\n3. five\\n4. four\", 'A': '3', 'type': 'comprehension_and_reasoning', 'S': [\"His father was Alvaro Picardo de\\nCelis and his mother's family name was Castell\u00f3n. He had four brothers,one of brothers died in infancy.\", 'His father died in 1929 when Picardo was ten years old.']}, {'Q': 'Picardo created a lots of illustrations for a book named \u300aDibujos de Jose Luis Picardo\u300b in 1960, where is this original book kept now?', 'A': 'The book is long out of print and virtually unknown in Spain, and not at all elsewher.', 'type': 'comprehension_and_reasoning', 'S': ['The book is long out of print and\\nvirtually unknown in Spain, and not at all elsewhere, but is available second-hand.']}, {'Q': 'How did Picardo build the Parador at the Castillo de Santa Catalina to get a good view for vistors?', 'A': 'He used the elongated site at the top of the hill, styled his new building on the layout and dimensions of the old castle and on what had been discovered during his research of its surviving interior designs.', 'type': 'multiple_information_retrieval', 'S': ['Using the elongated site at the top of the hill, Picardo planned a dining room, a lounge, service accommodation and guest rooms.', 'He styled his new\\nbuilding on the layout and dimensions of the old castle and on what had been discovered during his research of its surviving interior designs.']}, {'Q': 'How many years did Picardo work for Parador from his first of Parador projects until the bankruptcy on Parador?', 'A': 'Twenty-nine years.', 'type': 'computation', 'S': ['For his first of many Parador projects Picardo was appointed by the Ministry of Information and Tourism in July 1963 to convert into a Parador two ancient neighbouring buildings in the\\nvillage of Guadalupe in the province of C\u00e1ceres in Extremadura.', 'The Pedraza Hoster\u00eda continued in operation until 15 December 1992 when economic pressures on the Parador chain caused its closure.']}, {'Q': 'Picardo dedicated much of his professional life to Paradores, please order these projects by open day:\\n1.Parador de Arcos de la Frontera\\n2.Parador de Guadalupe\\n3.Parador de Carmona', 'A': '2,1,3', 'type': 'timeline_reorder', 'S': ['Restoration at Guadalupe started in November 1963 and the hotel, with twenty double rooms, opened on 11 December 1965.', 'Parador de Arcos de la Frontera opened to guests on 7 November\\n1966.', 'The Carmona Parador was inaugurated on 30 March 1976 by King Juan Carlos I and Queen Sof\u00eda.']}, {'Q': \"All of historians speak highly of Picardo's work, is this true? Why?\", 'A': 'False, because some people believe that Parrado destroyed the part of historical and architectural.', 'type': 'multiple_information_retrieval', 'S': [\"Instead, Picardo's rebuilding projects were planned mostly on the\\nbasis of his own historical and architectural research. The hotel conversions and the demolition of large parts of monumental buildings without detailed investigation and record-keeping\\nwas somewhat frowned upon in the 1960s and 1970s, and over half a century later is seen by archeologists and historians as a matter of significant controversy and regret.\", 'In writing of the new extensions which were designed to be identical to the monuments to which they were attached \u2014 Picardo\\'s Parador at J?en is a good example \u2014 she has\\ndescribed them as being \"falso hist\u00f3rico\" (false history) ... \"a replica whose documentary value has been masked or even lost\".', \"Despite the current views of historians, Picardo's Paradores \u2014 particularly those at J?en, Carmona and Sig\u00fcenza \u2014 though pastiche, remain amongst the most popular of the network's\\nhotels.\"]}]", "output": "None"}
{"input": " Geography and location. Barcelona, capital and largest city of the autonomous community of Catalonia, is located in the Spanish Levant, on the Mediterranean coast. Its geographical location is between 41\u00b016' and 41\u00b030' north latitude and between 1\u00b054' and 2\u00b018' east longitude. With an area of 102.16 km\u00b2, it is situated on a plain about 11 km long and 6 km wide, bounded on its sides by the sea and by the Collserola mountain range \u2014with the summit of Tibidabo (516.2 m) as its highest point\u2014, as well as by the deltas of the Bes\u00f3s and Llobregat rivers. Above the coastline and separating the city from the Llobregat delta is the mountain of Montju\u00efc (184.8 m). Also, from the Collserola mountain range, several hills that follow a line parallel to the coastal range rise up on the plain: the hills of La Peira (133 m), La Rovira (261 m), El Carmel (267 m), Creueta del Coll (249 m), El Putget (181 m) and Monterols (121 m).The plain of Barcelona is not uniform, but has several undulations caused by the many torrents that once crossed the land, and also has a uniform slope from the sea to the Collserola mountain range, with an ascent of about 260 m. It is crossed by several faults, mainly the one that separates the Collserola mountain range from the hills that come forward in the plain, with a northeast-southwest orientation, and the one that separates the mountain of Montjuic from the coast. The terrain is formed by a substrate of slate and granitic formations, as well as clays and limestones. The coast was formerly occupied by tidal marshes and salt-water lagoons, which disappeared as the coastline advanced thanks to the sediments provided by the rivers and streams that flowed into the beach; it is estimated that since the sixth century BC, the coastline has been able to advance about 5 km. The area of the plain was formerly crossed by numerous torrents and streams, which were grouped into three fluvial sectors: Horta stream in the area near the Bes\u00f2s river (or eastern area); the Blanca stream and the Gornal torrent in the Llobregat area (or western area); and, in the central area of the plain, a group of streams coming from the southern slope of Tibidabo, such as the San Gervasi, Vallcarca, Mag\u00f2ria and Collserola streams.The climate is Mediterranean, with mild winters thanks to the protection that the orography of the terrain offers to the plain, which is sheltered from the north winds. The temperature usually ranges between 9.5 \u00b0C and 24.3 \u00b0C, on average. Rainfall is low, about 600 mm per year, and most of the precipitation occurs in spring and autumn. This scarcity meant that in the past numerous works had to be carried out to supply water to the city, including wells, canals and irrigation ditches. The vegetation of the area consists mainly of pines and evergreen oaks, and undergrowth of heather, laurestine, arbutus and climbing plants. In the past, both rainfed and irrigated agriculture was practiced \u2014mainly vineyards and cereals\u2014, although nowadays almost the entire surface area is built up.Barcelona, capital of the Barcelon\u00e8s region and of the province of Barcelona, is the most important urban center in Catalonia in demographic, political, economic and cultural terms. It is the seat of the autonomous government and the Parliament of Catalonia, as well as the provincial deputation, the archbishopric and the IV Military Region, and has a port, an airport and an important network of railroads and roads. With a population of 1,604,555 inhabitants in 2015, it is the second most populous city in Spain after Madrid, and the eleventh most populous in the European Union. Administrative divisions. Barcelona is divided into 10 districts and 73 neighborhoods: Ciutat Vella (4.49 km\u00b2, 100 685 inhabitants): corresponds to the old core of the city, the one derived from the Roman and medieval periods, plus the Barceloneta neighborhood, created in the eighteenth century. This area received much immigration from the rest of Spain during the nineteenth and twentieth centuries, settled mainly in the neighborhoods of Sant Pere and Raval; it has continued to do so during the twenty-first century, although with immigrants from other countries. This district has the oldest and lowest socioeconomic level population in the city, although in the new millennium a slow process of gentrification has begun in parallel to the urban development plans carried out in the district. Being the oldest part of the city, it has numerous monuments and architectural works of interest, making it an important focus of tourist attraction. On the other hand, it houses the most important institutions of the city, such as the City Hall or the Generalitat de Catalunya.. Eixample (7.46 km\u00b2, 263,565 inhabitants): this district arose from the expansion of the old city after the demolition of the walls, thanks to the Cerd\u00e1 Plan drawn up by Ildefons Cerd\u00e0. It is a densely populated district, since in its beginnings it was mainly a residential area where wealthy families stayed after leaving the old part of the city. The social level, however, has stabilized, and today corresponds mainly to the middle class. Even so, it is an important focus of tourist attraction, especially due to the presence of modernist architectural works, which has encouraged trade and the installation in the area of major commercial brands.. Sants-Montju\u00efc (21.35 km\u00b2, 180,824 inhabitants): includes the old town of Sants, annexed to Barcelona in 1897, together with the land of Montju\u00efc mountain, which makes it the largest district of the city; it also includes the Zona Franca. It has a low population density, and its rate of population of foreign origin exceeds the average. It has a high percentage of green area, thanks mainly to the presence of the Montjuic mountain, as well as industrial land.. Les Corts (6.08 km\u00b2, 81,200 inhabitants): it comes from the old town of Les Corts de Sarri\u00e0, added to the city in 1897, with a probable origin in a medieval masia. It was an eminently agricultural area, which in the mid-nineteenth century experienced a significant urban growth with the construction of the area called Corts Noves. The population is mainly autochthonous, and stands out for its high rate of young people. The majority is middle class, although the Pedralbes neighborhood stands out as one of the most exclusive in the city. Its main economic activity is in the tertiary sector, and it is home to numerous financial institutions and office centers.. Sarri\u00e0-Sant Gervasi (20.09 km\u00b2, 145,761 inhabitants): it comes from the union of two former municipalities, Sarri\u00e0 and Sant Gervasi de Cassoles. It is one of the largest districts, especially because it includes a large part of the Collserola mountain range. It is also the district with the lowest population density, mainly because it is a high status residential area, with a predominance of single-family houses. The economy is dominated by quality facilities, as well as private schools and health centers. Its population has the highest rate of higher education and technical and managerial professionals, as well as autochthonous residents, while the foreign population is dominated by the European Union.. Gr\u00e0cia (4.19 km\u00b2, 120,273 inhabitants): has its origins in the old village of Gr\u00e0cia, incorporated into the city in 1897. It was an agricultural area, which in the early nineteenth century began to forge an urban and industrial fabric. It has one of the highest population densities in the city, since its old center is characterized by narrow streets and tightly packed houses. Its population has a high percentage of elderly people and, although the level of education is above average, most are of lower-middle social class.. Horta-Guinard\u00f3 (11.96 km\u00b2, 166,950 inhabitants): comes from the old town of Horta, added in 1904, to which the Guinard\u00f3 district, formerly belonging to Sant Mart\u00ed de Proven\u00e7als, was added administratively. It was an agricultural area and summer residences, which received numerous immigrants, especially in the first two thirds of the twentieth century. Being a peripheral area, it has a low population density, with a predominance of young and lower-middle class population. During the years of massive immigration, it was an area of strong real estate speculation.. Nou Barris (8.04 km\u00b2, 164,516 inhabitants): is the most recently created district, on land segregated from Sant Andreu de Palomar. It is a peripheral area with a majority immigrant population, which also suffered from strong real estate speculation and even suffered from shantyism and self-construction, and which for a long time has suffered from a significant lack of assistance, infrastructure and basic services, which have been mitigated in recent times. The majority of the population is working class and has low purchasing power.. Sant Andreu (6.56 km\u00b2, 145,983 inhabitants): corresponds to the former municipality of Sant Andreu de Palomar, annexed in 1897. It was an agricultural and milling area until the mid-nineteenth century, when numerous industries began to settle. On the other hand, in the mid-twentieth century it received a strong wave of immigration, which was received in neighborhoods of cheap houses and residential estates, such as the Bon Pastor and Bar\u00f3 de Viver. In recent times it has experienced a certain revitalization thanks to commercial activities such as the location of the La Maquinista center or the urbanization of the surroundings of La Sagrera Station to accommodate the arrival of the AVE high-speed train.. Sant Mart\u00ed (10.80 km\u00b2, 232,629 inhabitants): it comes from the old town of Sant Mart\u00ed de Proven\u00e7als, added in 1897. Like the previous one, it was an agricultural and milling area, until the arrival of the Industrial Revolution when numerous factories were installed in the area; however, in recent decades it has suffered a process of deindustrialization, replaced by economic activities more based on new technologies, especially after the location of the so-called 22@ district. This district also welcomed a large immigrant population. Thanks to the 1992 Olympic Games, it underwent a process of renovation of the entire waterfront, where the Olympic Village was located. Historical evolution. The administrative division has varied over time. The first delimitation was established in 1389, when the city was divided into four quarters: Framenors, Pi, Mar and Sant Pere. This division was made by establishing a grid with the Pla\u00e7a del Blat as the geometric center, with the separation of the northern and southern quarters set in the ancient Roman cardo maximus. This separation already showed the social difference between the different parts of the city: Framenors was an aristocratic neighborhood, Pi was residential and civil service, Sant Pere was industrial and commercial, and Mar was popular and religious, since it housed most of the convents and monasteries. In the 15th century, another quarter, Raval, was added, establishing a division that lasted until the 18th century.In 1769 a reform was made by which five quarters were created, each subdivided into eight neighborhoods: I-Palacio included the port and the new neighborhood of Barceloneta; II-San Pedro was an eminently industrial area; III-Audiencia corresponded to the center of the city; IV-Casa de la Ciudad was a mostly residential area; and V-Raval included the land west of La Rambla.Numerous divisions were made in the 19th century, most of them for political reasons, since the districts also marked the electoral districts. The most notable were those of 1837, in which the city was divided into four districts (Lonja, San Pedro, Universidad and San Pablo); and that of 1878, after the demolition of the walls, in which 10 districts were established: I-La Barceloneta, II-Borne, III-Lonja, IV-Atarazanas, V-Hospital, VI-Audiencia, VII-Instituto, VIII-Universidad, IX-Hostafranchs and X-Concepci\u00f3n.Between the late nineteenth and early twentieth centuries, several neighboring municipalities were added to the city (Sants, Les Corts, Sant Gervasi de Cassoles, Gr\u00e0cia, Sant Andreu de Palomar, Sant Mart\u00ed de Proven\u00e7als, Sant Joan d'Horta, Sarri\u00e0); a new administrative reorganization was then carried out, again with 10 districts: I-Barceloneta and Pueblo Nuevo, II-San Pedro, III-Lonja and Audiencia, IV-Concepci\u00f3n, V-Atarazanas and Hospital, VI-Universidad, VII-Sans, Las Corts and Hostafranchs, VIII-Gracia and San Gervasio, IX-Horta and Sant Andreu de Palomar, X-Sant Mart\u00ed de Proven\u00e7als.In 1933 a new reformulation was made, also with ten districts: I-Barceloneta, II-Poble Sec and Montju\u00efc, III-Sarri\u00e0, Vallvidrera and Sant Gervasi, IV- Sant Pere and Dreta de l'Eixample, V-Raval, VI-Esquerra de l'Eixample, VII-Sants, Les Corts and Hostafrancs, VIII-Gr\u00e0cia, IX-Horta, Sant Andreu del Palomar, Sagrera and Camp de l'Arpa, X-Sant Mart\u00ed de Proven\u00e7als, Clot and Poblenou. These districts were expanded in 1949 with two more: XI-Les Corts and XII-Sagrada Fam\u00edlia.In 1984 the current division into ten districts was approved, established with the aim of decentralizing the City Council, transferring competencies to the new consistories. The new districts were established with maximum respect for their historical and morphological identity, but also seeking a practical and functional delimitation that would guarantee the residents a wide range of services. In general, an attempt was made to respect the old demarcations coming from the old city, its expansion and the aggregated municipalities, although some areas varied with respect to their historical belonging: Pedralbes, previously belonging to Sarri\u00e0, passed to Les Corts; Vallcarca, before Horta, was incorporated to Gr\u00e0cia; El Guinard\u00f3, originally from Sant Mart\u00ed, was added to Horta; and the new district of Nou Barris was segregated from Sant Andreu.The last reform was carried out in 2006, this time aimed at establishing the neighborhoods that make up each district, with the objective of improving the distribution of facilities and proximity services. Seventy-three neighborhoods were established, stipulated according to historical, cultural and social criteria, although the decision was not without controversy, mainly due to the fragmentation of some historical neighborhoods defended as units by the neighborhood associations: thus, for example, from the neighborhood of El Clot was segregated El Camp de l'Arpa; from Sants was segregated the neighborhood of Badal; Esquerra de l'Eixample was divided between La Nova and L'Antiga Esquerra de l'Eixample; and Poblenou was fragmented into five neighborhoods. Similarly, some neighborhood units were not satisfied with their aspirations to become neighborhoods, such as Can Caralleu, Penitents, Torre Melina or El Polvor\u00ed. The ancient city. Barcelona was founded by Roman colonizers in the first century BC with the name of Barcino. Originally, it was a small walled city which took the urban form of castrum initially, and later oppidum, seated on the Mons Taber (16.9 meters above sea level), a small hill located on the site of the current Pla\u00e7a de Sant Jaume. The maximum splendor of the Roman period took place during the second century, with a population that must have ranged between 3500 and 5000 inhabitants.The main reason for the choice of a small promontory near the coast to build the city was its natural harbor, although the alluvium of the torrents and the sedimentation of sand from the coastal currents would make the port's draught difficult. The center of the city was the forum, the central square dedicated to public life and business. It was located at the confluence of the cardus maximus (Llibreteria and Call streets) and the decumanus maximus (Bisbe, Ciutat and Regomir streets), approximately in the center of the walled enclosure. From this center, the city followed an orthogonal layout, with square or rectangular blocks, following a grid layout based on two main axes: a horizontal axial order (northwest-southwest) and a vertical one (southeast-northeast), which would mark the future layout of the city, and would be collected by Ildefonso Cerd\u00e1 in his Plan de Eixample of 1859.The Romans were great experts in architecture and civil engineering, and provided the territory with roads, bridges, aqueducts and an urban design with a rational layout and basic services, such as sewerage. The enclosure of Barcino was walled, with a perimeter of 1.5 km, which protected a space of 10.4 ha. The first wall of the city, of simple construction, began to be built in the first century B.C. It had few towers, only in the corners and at the gates of the walled perimeter. However, the first incursions by Franks and Alemanni from the 250s onwards made it necessary to reinforce the walls, which were enlarged in the 4th century. The new wall was built on the foundations of the first, and consisted of a double wall of 2 meters, with a space in the middle filled with stone and mortar. The wall consisted of 74 towers about 18 meters high, most of which were rectangular in base.Of the rest of the urban elements preserved from the Roman period, it is worth mentioning the necropolis, a group of tombs located outside the walled area, in the current Pla\u00e7a de la Vila de Madrid: it has more than 70 tombs from the second and third centuries, discovered by chance in 1954. There are also remains of two aqueducts that carried water to the city, one of them from the Collserola mountain range, to the northwest, and another from the north, taking water from the Bes\u00f3s river; both joined in front of the decuman gate of the city \u2014currently the Pla\u00e7a Nova\u2014.After the fall of the Roman Empire and until the formation of the Catalan counties, there were several conquests and the passage of successive civilizations, from the Visigoths and Arabs to a period of integration into the Carolingian Empire. This period was marked by the reuse of the Roman city and the use of its urban structure, which did not undergo significant changes. A noteworthy aspect of this period is its consideration as a military stronghold, which will lead it to acquire hegemony over other surrounding cities and become the capital of its territory. The colonization of the surrounding countryside also began at this time, within a system of feudal structure, as well as a certain suburbanization began, with the appearance of the first suburbs. Middle Ages. At this time Barcelona was constituted as a county and later became part of the Crown of Aragon and the political and economic center of the Principality of Catalonia, becoming an important maritime and commercial axis of the Mediterranean Sea. The city grew from the primitive urban core \u2014what is now the Gothic Quarter\u2014 and, in the 14th century, the Raval district emerged. Barcelona had about 25,000 inhabitants at that time.Medieval Barcelona arose from the reconstruction of the city after its near destruction by Almanzor in 985, starting again as the main nucleus of the structure and the wall from Roman times. The city underwent numerous changes as a center of political and religious power, a center of trade and craft production, and as the nexus of a new and complex network of social and institutional relations. Thus, the city acquired an autonomy of its own, a singularity within the surrounding territory, becoming the center of a hinterland that would mark the organization of the modern city.The progressive increase in the size of the city, and its increasing urban, social and economic complexity, led to the creation of a specific system of government for the administration of the city, the Council of One Hundred (1265). This entity operated in a field of action that went from Montcada to Molins de Rei, and from Castelldefels to Montgat. Among other things, it was responsible for the supply of food and water, the maintenance of roads, the census of the population and territorial demarcation. It also established the first urban building patterns, known as Consuetuds de Santacilia and promulgated by James I.. During medieval times Barcelona had a Jewish quarter, the Call, located between the current streets of Ferran, Banys Nous, Palla and Bisbe. Founded in 692, it survived until its destruction in 1391 in a xenophobic assault. It was separated from the rest of the city by a wall, and had two synagogues (Mayor, now a museum, and Menor, now the parish church of Sant Jaume), baths, schools and hospitals.Outside the city walls, the plain of Barcelona was devoted to agriculture, especially dedicated to supplying the city: it was known as the hort i vinyet de Barcelona (\"orchard and vineyard\"), which produced fruit, vegetables and wine, in an area between the streams of Horta and Sants, and between the Collserola mountain range, Puig Aguilar and Coll de Codines to the sea. This agricultural development was consolidated with the construction, in the middle of the 10th century \u2014and probably by Count Mir\u00f3\u2014 of two canals that directed the waters of the Llobregat and Bes\u00f2s rivers to the vicinity of the city: the Bes\u00f2s canal was known as Rec Comtal or Regomir, and was parallel to the Strata Francisca, a road that was a variant of the ancient Roman Via Augusta, and was built by the Franks to better bring the city closer to the center of the Carolingian Empire.Once the danger of Muslim incursions was over, the first settlements outside the city walls were established. Various population centers (vila nova) were created, generally around churches and monasteries: this was the case around the church of Santa Maria del Mar, where a neighborhood of port character was created; likewise around the church of Sant Cugat del Rec , of an agrarian character; the neighborhood of Sant Pere around Sant Pere de les Puelles; the neighborhood of El Pi arose around the church of Santa Maria del Pi; that of Santa Anna next to the church of the same name; the neighborhood of Arcs settled around the Portal del Bisbe; and the Mercadal, around the market of Portal Major. The Raval neighborhood (Catalan for \"suburb\"), initially a suburb populated by orchards and some religious buildings, such as the monastery of Sant Pau del Camp (914), the church of Sant Antoni Abat (1157), the convent of the Carmelites Cal\u00e7ats (1292), the priory of Nazareth (1342) or the monastery of Montalegre (1362), was also formed little by little.. The creation of these new neighborhoods made it necessary to extend the walled perimeter, so in 1260 a new wall was built from Sant Pere de les Puelles to the Drassanes, facing the sea. The new section was 5100 m long and covered an area of 1.5 km\u00b2. The enclosure had eighty towers and eight new gates, among which were several enclaves of relevance today, such as the Portal de l'\u00c0ngel, the Portaferrissa or La Boqueria. A network of fortifications was also built in the urban periphery for the defense of the city, such as the castle of the Port, in Montju\u00efc; those of Martorell and Castellv\u00ed de Rosanes, at the entrance of the Llobregat river; those of Erampruny\u00e0 (Gav\u00e0) and Castelldefels in the delta of the same river; and that of Montcada at the entrance of the Bes\u00f2s river.The medieval urban fabric was marked by different areas of influence, from the aristocracy and institutional power, through the bishopric and religious orders, to the guilds and the various trade associations. The network of streets was irregular, and the squares were mere widenings of the streets, or plots of land derived from the demolition of a house, which were usually used to store wheat, wool or coal. The houses were usually of the \"artisan type\", with a first floor for the workshop and one or two floors for living, generally measuring 4 m wide and 10\u201312 m deep, sometimes with a small vegetable garden at the back. The larger buildings were either churches or palaces, along with some institutional buildings, such as the Casa de la Ciutat, seat of the Consell de Cent \u2014later City Hall\u2014 or the Palau de la Generalitat de Catalunya, seat of the homonymous political institution of the Principality, as well as a hospital \u2014such as the Santa Creu\u2014 or buildings such as the Llotja or the Drassanes.. In 1209, one of the first private urban planning operations in the city took place, the opening of Montcada street, thanks to the concession made by Peter II to Guillem Ramon de Montcada; a wide, straight street was laid out, running from the B\u00f2ria to the sea, and was occupied by large stately residences. Another of the few urban planning processes of this period was the opening of the Pla\u00e7a Nova, next to the Episcopal Palace and near the cathedral of Barcelona, carried out in 1355 thanks to the demolition of several houses and the reuse of the Bishop's orchard.Between the 14th and 15th centuries, the continuous urban growth led to a new extension of the walled enclosure, with the construction of the Raval wall, in the western part of the city, which covered an area of 218 ha, with a perimeter of 6 km. The new urban enclosure started at the Drassanes, following the current ring roads of Sant Pau, Sant Antoni, Universitat and Sant Pere, going down the current Passeig de Llu\u00eds Companys to the monastery of Santa Clara \u2014in the current Citadel Park\u2014, and to the sea, along the current Avinguda Marqu\u00e8s del l'Argentera. Currently only the Portal de Santa Madrona, in the Drassanes, is still preserved.With the extension of the wall, a long avenue known as La Rambla, occupied mainly by religious institutions, was left within the city walls. It was then proceeded to its urbanization, which was completed in 1444. In its day it was the widest space in the city, dedicated to strolling, leisure or the installation of occasional markets. Deeply reformed between the eighteenth and nineteenth centuries, today it is one of the most emblematic places of the city.Finally, it is worth noting that during the Middle Ages an extensive network of roads emerged in the plain of Barcelona that connected the city with the various suburbs and villages in the vicinity, as well as other points of interest: farmhouses (Melina tower road), mills (Verneda road), quarries (Creu dels Molers road), bleaching meadows (Teulat road), churches or chapels (Sant Ll\u00e0tzer road), fountains (Font dels Ocellets road), etc. Early Modern Age. In this period Barcelona and Catalonia became part of the Hispanic Monarchy, which arose from the dynastic union of the crowns of Castile and Aragon. It was a time of alternation between periods of prosperity and economic crisis, especially due to plague epidemics in the sixteenth century and social and military conflicts such as the Reapers' War and the War of Succession between the seventeenth and eighteenth centuries, although in the latter century the economy rebounded thanks to the opening of trade with America and the beginning of the textile industry. The city was still confined within its walls \u2014the only expansion was on the beach, in the neighborhood of La Barceloneta\u2014 despite the fact that by the end of the period it had almost 100,000 inhabitants.This period was not one of excessive urban reforms, since the loss of Barcelona's capital status meant that large-scale projects were not carried out. In the first half of the 16th century, the sea wall was built, where the bastions of Llevant, Torre Nova, Sant Ramon and Migdia were placed. Otherwise, the main urban reform was in the area around the cathedral, where the Pla\u00e7a de la Seu was opened, in front of the main portal of the cathedral (1546), as well as the Pla\u00e7a de San Iu, with a space cut out of the Grand Royal Palace.. During the 15th and 16th centuries, an artificial port was built to finally meet the needs of the important mercantile center that was Barcelona: paradoxically, during the period of splendor of Catalan trade in the Mediterranean, Barcelona did not have a port prepared for the port volume that was common in the city. The old port at the foot of Montju\u00efc had been abandoned, and the city had only the beach to receive passengers and goods. Deep-draught ships had to unload by means of boats and rope lads (bastaixos). Finally, in 1438, royal permission was obtained to build a port: first, a ship loaded with stones was sunk to serve as a base for the wall that connected the beach to the island of Maians; the wall was reinforced in 1477 and lengthened in the form of a breakwater in 1484. In the mid-16th century, the port was enlarged in response to the campaign launched by Charles I against Tunisia. At the end of the century, the quay had a length of 180 m by 12 m wide.With the construction of the port, the seafront between Pla de Palau and La Rambla was embanked, thus urbanizing the Passeig del Mar, now Passeig de Colom. At this time the water supply and sewage system was also improved, and for its maintenance the figure of the mestre de les fonts (\"master of the fountains\") was instituted, in charge of the care of mines, fountains and gutters.In the 17th century, the city wall was extended again with the construction of five new gates (Sant Sever, Tallers, Sant Antoni, Sant Pau and Santa Madrona, the latter a reconstruction of the 14th century one). Streets were also paved, sewers were installed, drinking water fountains were built and improvement works were carried out in the port.. In the eighteenth century the Principality of Catalonia and Barcelona itself saw much of its autonomy truncated with the victory of Philip V in the War of Succession: the Nueva Planta Decree (1716) eliminated the Generalitat, the Corts and the Consell de Cent, which were replaced by a military government, and the municipal jurisdiction was reduced to the city, losing the area of influence that the Consell de Cent had in the metropolitan area. In this period there was a notable demographic increase, and the economy was progressively industrialized, until it led to the so-called Industrial Revolution.. The arrival of the Bourbons generated a series of military engineering works, such as the castle of Montju\u00efc and the fortress of the Citadel. For the construction of the Citadel (1715-1751), 1200 houses in the Ribera neighborhood were demolished, leaving 4500 people homeless and without compensation, and the Rec Comtal was diverted. The work of Jorge Pr\u00f3spero de Verboom, it was a pentagonal walled bastion, with a protective moat and an esplanade of 120 m between the walls and the surrounding buildings. Demolished in the Revolution of 1868, on its perimeter was installed the park of the Citadel.There were also two new military roads that crossed the plain of Barcelona: the Matar\u00f3 road \u2014coincident with the current Pere IV street\u2014 and the Creu Coberta road, which connected with the Madrid road \u2014current streets of Hostafrancs and Sants\u2014.In 1753, the construction of the neighborhood of La Barceloneta began at the initiative of the Marquis of La Mina. Located on a small peninsula of land reclaimed from the sea, its layout was designed by the engineer Pedro Mart\u00edn Cerme\u00f1o, with a grid of orthogonal streets and blocks of houses of elongated plan, which is a clear example of academic baroque urbanism. In this neighborhood was located in 1772 the Clock Tower, the first lighthouse of the city; it was followed by the Llobregat in 1845 and Montju\u00efc in 1925.In 1771, the Edicto de obreria was approved, a municipal ordinance aimed at controlling private works in the city, which involved the regulation of the alignment of houses according to the layout of the streets, as well as the supervision of aspects such as the paving of the streets, the sewage system, the numbering of houses, etc. This edict established for the first time the obligation to request a building permit, accompanied by a report and the payment of the respective fees. Likewise, in 1797 a height limit was established for all buildings. During this century there was a change in the typology of private buildings, which went from the \"artisan house\" of the medieval type to the \"multi-family house\" with a collective staircase, which definitively separated work from residence.. Between 1776 and 1778 the redevelopment of La Rambla was carried out, an ancient torrent that during the Middle Ages marked the western boundary of the city, which had been populated since the 16th century, mainly by theaters and convents. At this time the inner wall was demolished, the buildings were realigned and a new landscaped promenade, in the style of the French boulevard, was designed. The paseos of Sant Joan and Gr\u00e0cia were also planned, although they were not built until the turn of the century for the former and 1820-1827 for the latter. Likewise, the street of the Count of the Assault \u2014currently New Street of La Rambla\u2014 (1778-1789) was laid out, named after Francisco Gonz\u00e1lez de Bassecourt, captain general of Catalonia, who had the initiative to create the street. In 1797 the Paseo Nuevo or Paseo de la Explanada was also created, located next to the military Citadel, a wide avenue lined with poplars and elms and decorated with ornamental fountains, which for a time was the main green space of the city, but disappeared in the urbanization works of the park of the Citadel.During the eighteenth century, the Born and Boqueria markets were established as the only two general supply markets, and in 1752 aspects such as weights and measures for the marketing of food products, in addition to coal, were regulated. 19th Century. In this period there was a great economic revitalization, linked primarily to the textile industry, which in turn led to a Catalan cultural renaissance. Between 1854 and 1859, the city walls were demolished, allowing the city to expand, under a project called the Eixample, drawn up by Ildefons Cerd\u00e0 in 1859. After the revolution of 1868, the Citadel was also demolished and the land transformed into a public park. The population grew, especially thanks to immigration from the rest of Spain, reaching 400,000 inhabitants by the end of the century.Although chintz printing was well established in Barcelona since the 18th century, the industrial era proper began with the founding in 1832 of the Bonaplata Factory, founded by Josep Bonaplata. In 1849 the complex La Espa\u00f1a Industrial, owned by the Muntadas brothers, was opened in Sants. The textile industry grew steadily until a crisis in 1861, caused by the shortage of cotton due to the American Civil War. The metallurgical industry was also gaining importance, boosted by the creation of the railroad and steam navigation. In 1836 the Nueva Vulcano foundry opened in La Barceloneta and, in 1841, La Barcelonesa began, one of the predecessors of La Maquinista Terrestre y Mar\u00edtima (1855), one of the most important factories in the history of Barcelona.Industrialization brought about important changes in the urban planning of the city, due to the new needs of the economic sectors of the capitalist system, which required a strong concentration of labor and auxiliary services. Barcelona thus underwent an important leap to modernity, characterized by three factors: the population migration from the countryside to the city, the link between industrial and urban developments, and a better articulation of the territory through a wide network of roads and railroads, which will lead Barcelona to become a colonizing metropolis of its territorial environment.. During this century, the municipal ordinances that began with the Edicto de obrer\u00eda (Workmen's Edict) were consolidated: in 1814, the Preg\u00f3n de polic\u00eda urbana (Proclamation of Urban Police) established in 84 articles all the provisions on civil building, maintenance of public spaces and various regulations on security and public order. In 1839, the Bando general de buen gobierno (General Good Governance Charter) renewed and expanded these provisions and, among other things, regulated the relationship between the width of streets and the height of buildings. On the other hand, the law of January 8, 1845 established the City Council's own attributions in various aspects such as urban planning, regulating the sanitary conditions of public spaces, as well as the conditioning of streets, squares and markets. In 1856 the first Ordenanzas Municipales (Municipal Ordinances) were approved, which brought together and expanded previous provisions, within an urban code that contemplated for the first time all aspects of civic and institutional relations in the city. For the first time, building permits were required to include an interior layout plan. These ordinances soon became obsolete due to the new Eixample plan, until in 1891 new ones were drawn up that took into account the new specificities of the expansion and new links in the city. Among other things, the area of occupation of the plots was increased from 50% \u2014established in the Cerd\u00e0 Plan of 1859\u2014 to 70%.Among the main urban planning actions of these years were the opening of Calle de Fernando (Ferran) in 1827, between La Rambla and the Plaza de San Jaime (Sant Jaume), with a later continuation towards the Borne with the streets of Jaime I (Jaume I) (1849\u201353) and Princesa (1853). In 1833 the expansion of the Pla de Palau began, which was then the nerve center of the city, with the presence of the Royal Palace, the Llotja and the Aduana. The square was enlarged and the Portal de Mar was built (1844-1848), a monumental gateway to Barceloneta from the old quarter, the work of Josep Massan\u00e8s, which was demolished in 1859 along with the city walls. Massan\u00e8s was also the author of a widening plan in 1838 that was never completed, which included the triangle between Canaletes, Pla\u00e7a de la Universitat and Pla\u00e7a Urquinaona, and which already sketched what would become Pla\u00e7a de Catalunya, located in the center of the triangle.. Another factor that favored the urban planning of these years was the confiscation of 1836, which left numerous plots of land that were built on or converted into public spaces, such as La Boqueria and Santa Catalina markets, the Gran Teatro del Liceo (Liceu) and two squares designed by Francesc Daniel Molina: the Pla\u00e7a Reial and the Pla\u00e7a del Duc de Medinaceli.Similarly, the new sanitary provisions enacted at this time led to the disappearance of numerous parish cemeteries, whose plots were developed as new public squares: thus, squares such as Santa Maria, del Pi, Sant Josep Oriol, Sant Felip Neri, Sant Just, Sant Pere and San Jaime (Sant Jaume) came into being. The latter became the political heart of the city, since the Barcelona City Council and the Generalitat de Catalunya were located there. On the other hand, the disappearance of the parish cemeteries led to the creation of a new cemetery located outside the city, the cemetery of the East or Pueblo Nuevo (Poblenou), based on a project of 1773 but which was built mainly between 1813 and 1819. It was followed in 1883 by the Southwest or Montjuic cemetery, while already in the 20th century, the North or Collserola cemetery was built (1969).In 1842, one of the clearest factors of modernity derived from new scientific advances, the gas lighting, began. The first illuminated streets were La Rambla, Fernando Street and the Plaza de San Jaime, specifically with gas produced by dry distillation of black coal (town gas). That year the Sociedad Catalana para el Alumbrado por Gas (Catalan Society for Gas Lighting) was created, renamed in 1912 as Catalana de Gas y Electricidad. In 1856, gas was successfully applied to domestic stoves and heaters.. One of the major factors in the dynamization of the city as the capital of a large metropolitan area was the arrival of the railroad: in 1848, the first railroad line in peninsular Spain left from Barcelona, connecting Barcelona with the town of Matar\u00f3. The stations of Francia (1854), Sants (1854) and Norte (1862) were then created. The Catalan capital became the center of a railway network in the shape of an 8 \u2014the so-called \"Catalan eight\"\u2014 formed by two rings that intersected in the city. In the 1880s there were already links with France, Madrid, Zaragoza and Valencia, in addition to the rest of the Catalan provincial capitals. Two companies operated at that time: Ferrocarril del Norte and MZA (Madrid-Zaragoza-Alicante), integrated in 1941 in RENFE.The city's first fire and police services also appeared at this time. In 1843 the Guardia Urbana de Barcelona was created, in charge of the defense of public safety; in 1938 they also assumed control of traffic and urban circulation. On the other hand, in 1849 the Sociedad de Socorro Mutuo contra Incendios (Mutual Fire Aid Society) emerged, a private company that in 1865 was replaced by the Sociedad de Extinci\u00f3n de Incendios y Salvamento de Barcelona (Barcelona 's Fire Extinguishing and Rescue Companyy), he first public fire department managed by the City Council. Its first chief was the architect Antoni Rovira i Trias, and its first firehouse was the Casa de Comunes Dep\u00f3sitos (House of Common Warehousess) which was followed by multiple firehouses throughout the city. In 1908, animal-drawn vehicles were replaced by motor vehicles, and in 1913 the figure of the firefighter, until then casual, was professionalized.. In the middle of the century, the Diputation of Barcelona took charge of establishing new road layouts in the Barcelona plain: the Sarri\u00e0 road (now Sarri\u00e0 Avenue), designed by Ildefons Cerd\u00e0 and built between 1850 and 1853; the road from Sants to Les Corts (1865-1867); and the road from Sagrera to Horta (1871), now Garcilaso Street. In these years, the port, increasingly important as a source of raw materials \u2014especially cotton and coal\u2014, was improved with the construction of a new wharf and the dredging of the port by the engineer Jos\u00e9 Rafo, who presented his project in 1859.On the other hand, in 1855 the telegraph service began, with a network of radial character centered in Madrid, which from 1920 was extended peripherally with Valencia, Seville and A Coru\u00f1a. Controlled by the State, the service was incorporated into the postal service, creating the Direcci\u00f3n General de Correos y Tel\u00e9grafos (General Directorate of Posts and Telegraphs).It should also be noted that the first public parks appeared in the nineteenth century, as the increase in urban environments due to the phenomenon of the Industrial Revolution, often in conditions of environmental degradation, made it advisable to create large urban parks and gardens, which were paid for by the public authorities, thus giving rise to public gardening \u2014until then preferably private\u2014 and landscape architecture. The first public garden in Barcelona was created in 1816: the General's Garden, an initiative of Captain General Francisco Javier Casta\u00f1os; it was located between the present Marqu\u00e9s de la Argentera avenue and the Citadel, in front of where today is the station of Francia, and had an area of 0.4 ha, until it disappeared in 1877 during the development of the park of the Citadel. At this time several gardens were installed on Passeig de Gr\u00e0cia: in 1848 the T\u00edvoli Gardens were created, between Valencia and Consell de Cent streets; and in 1853 the so-called Champs Elys\u00e9es, with a garden, a lake with boats, a theater and an amusement park with roller coasters, were located between Aragon and Roussillon streets. These gardens disappeared a few years later with the urbanization of Passeig de Gr\u00e0cia. Expansion of Barcelona (Eixample). In the middle of the century a transcendental event took place that completely changed the physiognomy of the city; the demolition of the walls. During the eighteenth and nineteenth centuries, the population grew steadily (from 34,000 inhabitants at the beginning of the eighteenth century to 160,000 in the mid-nineteenth century), which led to an alarming increase in population density (850 inhabitants per hectare), endangering the health of the citizens. However, due to its status as a stronghold, the central government opposed the demolition of the walls. A strong popular outcry began, led by Pedro Felipe Monlau, who in 1841 published the memoir \u00a1Abajo las murallas! (Down with the walls!) in which he defended their destruction to prevent diseases and epidemics. Finally, in 1854, permission was granted for their demolition, which gave the way out for the territorial expansion of the city.In 1859 the City Council appointed a commission to promote a competition for urban expansion projects, which was won by Antoni Rovira i Trias; however, the Ministry of Development intervened and imposed the project of Ildefons Cerd\u00e0, author of a topographic plan of the Barcelona plain and a demographic and urbanistic study of the city (1855). The Cerd\u00e0 Plan (Plan de los alrededores de la ciudad de Barcelona y del proyecto para su mejora y ampliaci\u00f3n, 1859) instituted an orthogonal layout between Montjuic and the Bes\u00f2s, with a system of straight northwest-southeast oriented streets, 20 meters wide, cut by other southwest-northeast oriented streets parallel to the coast and the Collserola mountain range. Cerd\u00e0 had planned to build on only two sides and leave the other spaces for gardens, although this point was not fulfilled and finally practically all the buildable land was used; the buildings were designed with an octagonal floor plan characteristic of the Eixample, with chamfers that favored circulation. The plan called for the construction of several main avenues: Diagonal, Meridiana, Paral\u00b7lel, Gran Via and Passeig de Sant Joan, as well as several large squares at their intersections: Tetuan, Gl\u00f2ries, Espanya, Verdaguer, Letamendi and Universitat. It also foresaw the opening of three large avenues in the old part of the city: two that would connect the Eixample with the coast (Muntaner and Pau Claris) and another perpendicular one that would connect the Citadel with Montjuic (avenida de la Catedral). It also contemplated a series of new ring roads that would circumvent the old city, in the place left by the walls: the ring roads of San Pablo, San Antonio, Universitat and Sant Pere.. Cerd\u00e1's project was quite innovative for the time, especially with regard to the delimitation of green spaces and service areas, taking into account both functional, recreational and welfare aspects. The buildings were to have a height of 16 meters (first floor and four floors), and a depth of 10 to 20 meters. The distribution of the Eixample was to be in sectors of 20 x 20 blocks, divided into districts of 10 x 10 and neighborhoods of 5 x 5. Each neighborhood was to have a church, a civic center, a school, a day care center, a nursing home and other welfare centers, while each district was to have a market and each sector a park. It also had industrial and administrative facilities, and in the suburbs there was a slaughterhouse, a cemetery and three hospitals. However, most of these provisions did not come to fruition, due to the opposition of the City Council, annoyed by the imposition of Cerd\u00e0's plan as opposed to Rovira's, which had been approved in the competition, and also due to real estate speculation, which led to building the blocks on all sides and not only on the two sides planned by Cerd\u00e1.Cerd\u00e1 accompanied his project with several memoirs and statistical studies in which he showed his urbanistic theory, developed in three main points: hygienism, based on his Monograf\u00eda estad\u00edstica de la clase obrera (Statistical monograph of the working class), where he criticizes the living conditions within the walled city in force until then \u2014life expectancy was 38.3 years for the rich and 19.7 for the poor\u2014, against which he proposes improvements in urban orientation according to factors such as climatology, as well as in the constructive elements; circulation, with a view to making public roads compatible between pedestrians and vehicular traffic, which led him to regulate the distribution of streets and to establish chamfers on all sides of the blocks to facilitate crossings; and the multipurpose design, with an urban layout that would be extrapolated both to spaces to be built and to those already existing, integrating the notions of \"widening\" and \"reform\", and that would give a hygienic and functional city, although this part of his project would not be carried out.It must be taken into account that in many cases the Cerd\u00e0 plot was superimposed on suburban layouts already existing or under development, in addition to the fact that the towns bordering the city of Barcelona, which would be added in successive phases at the turn of the nineteenth century, had their own urban development projects. Among these layouts we must take into account the highways and rural roads, or the easements imposed by railroads, canals, irrigation ditches, torrents and other land features.. A tangential aspect of the new layout was the question of toponymy, since the new urban grid designed by Cerd\u00e1 included a series of new streets for which there was no tradition when it came to naming them. The naming of the new streets was entrusted to the writer V\u00edctor Balaguer, who was inspired by the history of Catalonia: Thus, many streets are named after territories linked to the Crown of Aragon, such as Valencia, Mallorca, Aragon, Provence, Roussillon, Naples, Corsica, Sicily or Sardinia; with institutions such as the Catalan Courts, the Generalitat or the Consell de Cent; with characters such as Jaime Balmes, Enrique Granados, Buenaventura Carlos Aribau, Ram\u00f3n Muntaner, Rafael Casanova, Pau Claris, Roger de Flor, Antoni de Villarroel, Roger de Lauria, Ausi\u00e0s March or the Count of Urgel; or battles and historical events such as Bail\u00e9n, Lepanto, El Bruch or Caspe.Projects of Expansion (Eixample) Interior renovations. The Cerd\u00e0 Plan was developed mainly outside the city walls, due to real estate speculation, leaving aside the necessary improvements for the development of the old part of Barcelona. The need for a project of \"interior renovations\" was then raised, with the aim of modernizing the old core of the expanding city. One of the first was that of Miquel Garriga i Roca, author of a joint plan of alignments (1862), the first exhaustive plan of the city, at 1/250 scale. Garriga's project foresaw the realignment of streets as the basic method of a broad renovation of the city's interior, but the difficulty of its execution and the absence of expropriation mechanisms paralyzed this first project.. A more elaborate project was carried out by \u00c0ngel Baixeras in 1878, who presented an expropriation bill to the Senate, which was approved in 1879. Baixeras' project envisaged a thorough remodeling of the old city, and its most outstanding aspect was the opening of three major thoroughfares \u2014initially called A, B and C\u2014 to make the old city center more walkable, following Cerd\u00e0's old project. However, the project was not approved until 1895, and it still had to wait until 1908 for its execution, partially realized, since only the A road, renamed V\u00eda Laietana, was built.It is also worth mentioning the introduction of the tramway for urban transport. In 1860 an omnibus line had been opened along La Rambla, but the slowness of the carriages made this means of transport not very viable. In 1872, rails were laid for its traction, which lightened the transport, with imperial model cars \u2014of English origin\u2014, pulled by two or four horses. The line was extended from the port (Drassanes) to the village of Gracia, and later from the Drassanes to La Barceloneta. One of the first lines to operate was the English Barcelona Tramways Company Limited. In 1899 the streetcars were electrified.. During these years, street furniture also grew, especially since the appointment in 1871 of Antoni Rovira i Trias as head of Buildings and Ornamentation of the City Council, as well as his successor, Pere Falqu\u00e9s, who made a special effort to combine aesthetics and functionality for this type of urban adornments. The increase of elements such as lampposts, fountains, benches, kiosks, railings, planters, mailboxes and other public services was favored by the rise of the iron industry, which allowed their mass production and resulted in greater strength and durability.. In the 1880s the installation of electric lighting began, which gradually replaced the gas lighting on public roads. In 1882 the first street lamps were placed in the Pla\u00e7a de Sant Jaume, and between 1887 and 1888 La Rambla and Passeig de Colom were electrified. However, the generalization of electric light did not take place until the beginning of the 20th century, with the invention of the light bulb, and it was not completed until 1929.Another service that emerged at the end of the century was the telephone. The first telephone communication in the whole peninsula took place in Barcelona, in 1877, between the Montjuic castle and the fortress of the Citadel \u2014in the process of dismantling but still housing a garrison\u2014. That same year the first interurban transmission between Barcelona and Girona was carried out by the company Dalmau i Fills, pioneer in the installation of lines in Barcelona. In 1884 the state monopoly of the service was established, but two years later the company Sociedad General de Tel\u00e9fonos de Barcelona (General Telephone Society of Barcelona) was authorized to operate it, which was later absorbed by the Compa\u00f1\u00eda Peninsular de Tel\u00e9fonos (Peninsular Telephone Company). In 1925 the service was nationalized by the dictatorship of Primo de Rivera, and the Compa\u00f1\u00eda Telef\u00f3nica Nacional de Espa\u00f1a (National Telephone Company of Spain) was created. In 1897 there were 2479 telephones in the city, a figure that grew progressively: in 1917 there were about 10 .00, in 1930 26 .00, in 1960 200 .00, in 1985 750 .00 and in 2000 there were 850 .00 telephones.It should also be noted that in the last third of the century numerous supply markets were built, many of them made of iron, a fashionable element in the architecture of the time. The markets of Born (1872-1876), Sant Antoni (1872-1884), Hostafrancs (1881), La Barceloneta (1884), Concepci\u00f3n (1887-1888), Llibertat (1888-1893), Clot (1884-1889), Uni\u00f3 (1889), Gr\u00e0cia (1892) and Sants (1898-1913) were built in this way. 1888 Universal Exposition. At the end of the century, an event was held that had a great economic, social, urban, artistic and cultural impact on the city: the Universal Exposition of 1888. It took place between April 8 and December 9, 1888, and was held in the park of the Citadel, a land formerly belonging to the Army and won for the city in 1868. The incentive of the fair events led to the improvement of the infrastructure of the entire city, which took a huge leap towards modernization and development.The remodeling project of the Citadel Park was commissioned to Josep Fontser\u00e8 in 1872, who designed extensive gardens for the recreation of the citizens, and together with the green area he planned a central square and a ring road, as well as a monumental fountain and various ornamental elements, two lakes and a wooded area, as well as various auxiliary buildings and infrastructures, such as the Born market, a water reservoir \u2014currently the library of the Pompeu Fabra University\u2014, a slaughterhouse, an iron bridge over the railroad lines and several service sheds. He also designed the urbanization of the new sector of the Born, composed of a hundred plots of land, which would present a common stylistic stamp, although it was finally only partially realized.In addition to the Citadel, the Sal\u00f3n de San Juan (now Passeig de Llu\u00eds Companys), a long avenue 50 meters wide that served as the entrance to the Exposition, at the beginning of which was located the Arc de Triomf, designed by Josep Vilaseca, was remodeled. This promenade featured wrought iron balustrades, pavement mosaics and large lampposts, all designed by Pere Falqu\u00e9s. Most of the buildings and pavilions built for the Exposition disappeared after its completion, although the Castle of the Three Dragons and the Martorell Museum (both integral parts of the Museum of Natural Sciences of Barcelona), the Orangery and the Umbraculum survived, while part of the park grounds were later occupied by the Barcelona Zoo.. Numerous works and improvements were carried out throughout the city for the event: the urbanization of the entire seafront of the city was completed, between the Citadel Park and the Rambles, through the remodeling of the Passeig de Colom and a new pier, the Fusta; the urbanization of the Pla\u00e7a de Catalunya began, a process that would culminate in 1929 thanks to another Exposition, the International Exhibition of Electrical Industries; Riera d'en Malla was covered, giving rise to the Rambla de Catalunya; Avenue of Paral\u00b7lel was begun; and Passeig de Sant Joan was extended towards Gr\u00e0cia and Gran Via de les Corts Catalanes towards the west. The Golondrinas, pleasure boats that left in front of the statue of Columbus and offered a promenade to visitors, were also installed and still remain.. From the end of the century it is worth mentioning Pere Garcia F\u00e0ria's project to regulate the city's sewage system (Proyecto de saneamiento del subsuelo de Barcelona: alcantarillado, drenaje, residuos urbanos, 1891). It was a project that placed special emphasis on hygienism, with innovative criteria that are still in force today: it established a visitable sewerage network, 80 cm wide by 170 cm high, maintained by a municipal brigade that still performs its functions. It is a unitary system for rainwater and wastewater, which works mainly by gravity \u2014except for a few small pumping stations\u2014 making it necessary to have large collectors in the lower part of the city. Thanks to this project, the sewerage network was extended in a few years from 31.2 km to 212 km. Around this time, the streets also began to be urbanized with tiled sidewalks and cobblestone roadways, replaced in the 1960s by asphalt.It should also be noted that during the nineteenth century the increase in population and new industrial needs led to an increase in water consumption, which required a larger water collection and distribution network. Thus, at the end of the century a new pipeline was built from Dosrius (Maresme), with a 17 km gallery and a 37 km aqueduct that brought water to the city. The first marketing companies appeared then, the main one of which was the Sociedad General de Aguas de Barcelona (AGBAR), created in 1882.On the other hand, the increase in population between the nineteenth and twentieth centuries led to the creation of new hospitals to serve the population of the new districts of the city: the Hospital Cl\u00ednico y Provincial (1895-1906) and the Hospital de la Santa Creu i Sant Pau (1902-1930), a monumental modernist-style complex designed by Llu\u00eds Dom\u00e8nech i Montaner. Later, the hospitals of Esperan\u00e7a (1924), the Red Cross (1924), the Military (1924) and the Hospital del Mar (1931) were created, while in 1955 the Hospital Universitari Vall d'Hebron, one of the main health referents of Catalonia, was inaugurated.During these years the Eixample was progressively urbanized, first thanks to private initiative and the so-called Sociedades de Fomento (Development societies), and from 1892 with the appearance of the Comisiones Especiales de Ensanche (Special Commissions for the Eixample) arising from the new Eixample Law of 1892. This law was based on the Law of Forced Expropriation of 1879, and developed a management system with public and private participation. The urbanization process used to have several phases: filling the area, parceling the land, installation of services such as sewerage, running water and lighting, and construction of buildings. Most houses used to be rented: the owner reserved the second floor (planta noble) and rented the others. 20th Century. The 20th century was conditioned by the convulsive political situation, with the end of the monarchy in 1931 and the arrival of the Second Republic, which ended with the Civil War and was replaced by Franco's dictatorship, until the reestablishment of the monarchy and the arrival of democracy. Socially, this century saw the massive arrival of immigration to the city, with the consequent increase in population: if in 1900 there were 530 000 inhabitants, in 1930 they had almost doubled (1 009 000 hab), to reach between 1970 and 1980 the maximum peak (1 754 900) and by the end of the century to 1 500 000 inhabitants.With the turn of the century, a new political scenario opened up, marked by the loss of the colonies in America and Asia and the rise of the Regionalist League, led by politicians such as Francesc Camb\u00f3, Enric Prat de la Riba and the architect Josep Puig i Cadafalch, who expressed their desire to place Barcelona on the international front line, at the level of cities such as Paris, New York, Berlin or Vienna. It is the model of the \"Imperial Barcelona\" proposed by Prat de la Riba, or the \"Nova Par\u00eds del Migdia\" (New Paris of the Midday) commented by Puig i Cadafalch. In this sense, projects for the improvement of infrastructures, railroads, transport and equipment, the creation of a free port, the attention to the needs of an increasingly industrialized society, the search for mechanisms to accommodate the increase in population and to satisfy aspects hitherto little attended to, such as education, culture and green spaces, all arise in this sense. Municipal Aggregations and Plan of Connections. The beginning of the century was marked by the geographical expansion of the city: in 1897 Barcelona annexed six neighboring towns, until then independent: Sants, Les Corts, San Gervasio de Cassolas, Gr\u00e0cia, Sant Andreu de Palomar and Sant Mart\u00ed de Proven\u00e7als. Likewise, in 1904, Sant Joan d'Horta was annexed; in 1921, Sarri\u00e0 and Santa Creu d'Olorda (a small piece of land in Collserola segregated from Molins de Rei); in 1924, Collblanc and the Marina de Hospitalet, where the Zona Franca was created; and, in 1943, Bon Pastor and Bar\u00f3 de Viver, segregated from Santa Coloma de Gramenet. The city grew from 15.5 km\u00b2 to 77.8 km\u00b2, and from a population of 383,908 to 559,589.. The annexation of the new municipalities raised the need for a plan to connect the city, which was put out to public tender in 1903 (Concurso Internacional sobre anteproyectos de enlaces de la Zona de Ensanche de Barcelona y los pueblos agregados entre s\u00ed y con el resto del t\u00e9rmino municipal de Sarri\u00e0 y Horta; \"International Competition on preliminary projects to connect to each other the Barcelona Eixample Area and the towns added and with the rest of the municipality of Sarri\u00e0 and Horta\"), in which the French town planner L\u00e9on Jaussely was the winner. The integration of the new aggregated municipalities with Barcelona and between them was sought, with a predominance of the organizational aspects over the expansive ones, in an attempt to reformulate the Cerd\u00e0 Plan, badly seen by the modernist generation. The Jaussely Plan was based on a structural scheme, with a differentiated treatment of the various urban fabrics, which recalls the Beaux-Arts type layouts in vogue in the international environments of the time. His proposal was based mainly on three criteria: a road scheme of main axes (five radial roads and two ring roads), the zoning of activities and the systematization of green spaces. The project envisaged large road infrastructures (boulevards, large squares, promenades, diagonals), parks and gardens, rail links \u2014with underground interior lines\u2014, public and collective buildings at the central points of the road layout, facilities and service areas. The project was only partially realized, and in 1917 it was reformulated with the so-called Romeu-Porcel Plan; however, the innovative nature of its ideas left a deep mark and inspired Barcelona's urban planning for much of the century.. The most important action in these years was the opening of the Via Laietana, which connected the Eixample with the sea, projected with the letter A in the Plan Baixeras of 1878. The works were finally carried out in 1908, with joint financing between the City Council and the Banco Hispano Colonial (Hispanic Colonial Bank), the first concerted operation in Barcelona. The new road was designed with the desire to create an avenue with a uniform appearance, so most of the buildings are of noucentista appearance, with some influence of the Chicago School. Criticism of the works for the opening of this road, which involved numerous demolitions of houses \u2014some buildings of artistic value were moved\u2014, paralyzed the construction of the other two roads planned by Baixeras, although later some punctual interventions were made in these places, according to the projects of Antoni Darder (1918), Joaquim Vilaseca (1932, Plan de Reforma, urbanizaci\u00f3n y enlace entre los puntos singulares del Casco Antiguo; \"Renovation, urbanization and linkage plan between the singular points of the Old Town\") and Soteras-Bordoy (1956, Plan parcial de Ordenaci\u00f3n del Casco Antiguo de Barcelona; \"Partial Plan for the Development of the Old Town of Barcelona\"). . Also in the early years of the century the slopes of Tibidabo were urbanized, with a wide avenue linking the avenue of San Gervasio with the mountain, which was occupied by single-family houses in the style of the English garden cities. For transportation, a tramway was installed on the avenue and a funicular to ascend to the top of the mountain (1901), where the Tibidabo Amusement Park was located. In 1906, the Vallvidrera funicular was also opened.An interesting urbanization project was that of the Can Muntaner estate (1900-1914), at the foot of Mount Carmel, in the neighborhood of La Salut, also designed as a garden city of single-family houses. The promoter was the industrialist Eusebi G\u00fcell, and the architect Antoni Gaud\u00ed was in charge of the layout. The project was unsuccessful, as only two plots were sold, and in 1926 the land was ceded to the City Council and converted into a park, known today as Park G\u00fcell.. During the first years of the century the port was enlarged, with a project elaborated by Julio Vald\u00e9s and carried out between 1905 and 1912: the eastern dock was extended and a counter dock and the inner docks were built. These works gave the port practically its current physiognomy, except for the construction of the south dock and the inner dock in 1965.The turn of the century brought the general electrification of the city, both public and private. In 1911 the company Barcelona Traction Light and Power \u2014better known as La Canadiense\u2014 was founded, which was committed to the use of the hydraulic resources of the Pyrenees, building reservoirs in Tremp (1915) and Camarassa (1920). It also built the F\u00edgols and Sant Adri\u00e0 de Bes\u00f2s thermal power stations. Thanks to electrification, Barcelona began to stand out in sectors such as metallurgy, chemistry and automobiles, consolidating itself as an industrial and commercial center.During the first decade of the century, public urinals called vespasianas were installed, made of metal with a circular body with a capacity for six people, above which rose a hexagonal section for advertising, topped by a little dome. In the 1910s they were removed, and in the future it was established that all urinals had to be underground.[140]. During these years the tramway network was extended, thanks to companies such as Les Tramways de Barcelone Soci\u00e9t\u00e9 Anonyme. The expansion of the city with the aggregation of the adjoining municipalities increasingly required a wide and fast transport network, whose progress was favored by the electrification of the streetcars, a fact that also lowered their cost and allowed the service to become more popular: from seven million passengers in 1900 it went to 17 million in 1914.At the beginning of the century the first buses also appeared: in 1906 the first line was created between Pla\u00e7a de Catalunya and Pla\u00e7a de Trilla, in Gr\u00e0cia, operated by the company La Catalana, with five Brilli\u00e9-Schneider cars. The service was suppressed in 1908 due to protests from the tramway companies, for which it was clear competition, but in 1916 some suburban lines appeared, running between Barcelona and Sant Just Desvern, Santa Coloma de Gramenet, Hospitalet, Badalona, El Prat, Sant Boi de Llobregat, Gav\u00e0 and Sant Climent de Llobregat. In 1922, city buses were reestablished, in charge of the Compa\u00f1\u00eda General de Autobuses de Barcelona (General Bus Company of Barcelona, CGA), which was later absorbed by Tranv\u00edas de Barcelona, (Tramways of Barcelona) which went on to operate both transports.Also at this time the first taxis appeared: in 1910 the first 21 vehicles were licensed; in 1920 there were already a thousand taxis, with 64 stops throughout the city. In 1928 the green light was incorporated as a \"free\" signal, and in 1931 the color black and yellow was established as the city's distinguishing color.. In the 1920s, urban transport was improved with the construction of the Barcelona Metro. Work began in 1920 with the installation of two lines: line 3 (Lesseps-Liceo), inaugurated in 1924, and line 1 (Catalu\u00f1a-Bordeta), put into service in 1926. The network was progressively expanded, and today Barcelona has 12 lines. Initially it was operated by three companies: Gran Metropolitano de Barcelona (L3), Metropolitano Transversal (L1) and Ferrocarril de Sarri\u00e0 a Barcelona (now Ferrocarrils de la Generalitat de Catalunya); the first two merged in 1957 into the company Ferrocarril Metropolitano de Barcelona, which together with the bus company Transportes de Barcelona formed in 1979 the company Transportes Metropolitanos de Barcelona (TMB).It should also be noted that during the first decades of the century, public schooling was greatly boosted, thanks above all to the initiative of the City Council, the Provincial Deputation and the Commonwealth of Catalonia. In 1922, the City Council created the Patronat Escolar, which promoted secular, bilingual education and pedagogical renovation, and promoted an ambitious plan of school buildings, including those built in noucentista style by Josep Goday (Ramon Llull, Collaso i Gil, Llu\u00eds Vives, Mil\u00e0 i Fontanals, Baixeras and Pere Vila schools). After the Civil War, public education was taken over by the central government, until the arrival of democracy, when the competences were transferred to the Generalitat.In these years, increasing importance was also given to the question of green spaces, which was raised in 1926 by Nicolau Maria Rubi\u00f3 i Tudur\u00ed, director of the Parks and Gardens Service of Barcelona: with the text El problema de los espacios libres (The problem of open spaces), presented at the XI Congreso Nacional de Arquitectos (XI National Congress of Architects), he proposed the placement of a series of green spaces in the form of concentric semicircles between the Bes\u00f2s and Llobregat rivers, all along the Collserola mountain range, with small enclaves in the inner part of the city in the style of the London squares. He proposed four levels for the city: interior parks, among which would be the Citadel and Montju\u00efc, as well as three smaller ones (Letamendi, Sagrada Fam\u00edlia and Gl\u00f2ries); suburban parks, among which would be the Hippodrome, Tur\u00f3 Park, Tur\u00f3 Gil, Font del Rac\u00f3, Vallcarca, Guinard\u00f3 and Park G\u00fcell; exterior parks (Llobregat, Pedralbes, Vallvidrera, Tibidabo, Sant Medir, Horta and Bes\u00f2s); and the Collserola nature reserve. Rubi\u00f3's project was not executed, except in small portions, but little by little the city was gaining green land: from 1910 to 1924 it went from 72 ha to 450 ha. 1929 International Exposition. In 1929 the International Exposition was held in Montju\u00efc. For this event the entire area of the Pla\u00e7a dEspanya, the avenue of Queen Maria Christina and the mountain of Montju\u00efc was urbanized, and the pavilions that currently house the Barcelona Fair were built. One of the main architects of the project was Josep Puig i Cadafalch, and it was one of the main test beds of noucentisme, the successor style to modernisme. The Exposition took place from May 19, 1929 to January 15, 1930, over an area of 116 ha, and cost 180 million pesetas.On the occasion of the Exposition, a large part of the Montjuic mountain was landscaped, with a project by Jean-Claude Nicolas Forestier and Nicolau Maria Rubi\u00f3 i Tudur\u00ed, who created an ensemble of marked Mediterranean character and classicist taste: the Laribal, Miramar and Greek Theater gardens were thus created.As in 1888, the 1929 Exposition had a great impact on the city's urban development, not only in the area of Montju\u00efc, but also throughout the city: the squares of Tetuan, Urquinaona and Letamendi were landscaped; the Marina bridge was built; Pla\u00e7a de Catalunya was urbanized; Diagonal was extended to the west and Gran V\u00eda to the southwest, as well as the promenades of Gr\u00e0cia and Sant Joan in the sections around Gr\u00e0cia. Various public works were also carried out: street asphalting and sewerage were improved, public toilets were installed, and the replacement of gas lighting with electric lighting was completed.. Finally, the city's communications were improved, with the construction in the 1920s of the Prat Airport, the renovation of the France Station, the improvement of connections with the suburbs, the elimination of level crossings within the city, the burying of the train tracks in the urban interior \u2014in streets such as Arag\u00f3, Balmes and Via Augusta\u2014 and the electrification of public streetcars. A funicular railway was also built to reach the top of the mountain \u2014with a second section to ascend to the castle which was replaced by a cable car in 1970\u2014, as well as a cable car to access the mountain from the port of Barcelona, a work by Carles Bu\u00efgas that was inaugurated in 1931 due to a delay in the works.All these public works led to a strong demand for employment, causing a large increase in immigration to Barcelona from all parts of Spain. This increase in population led to the construction of several working-class neighborhoods of \"cheap houses\", such as the Eduardo Aun\u00f3s group in Montjuic (now disappeared), the Ramon Alb\u00f3 group in Horta (now Can Peguera) and the Milans del Bosch (now Bon Pastor) and Bar\u00f3 de Viver groups in Bes\u00f3s. However, one of its worst effects was the rise of shantyism, since many of the immigrants who could not have access to housing resorted to self-construction, with precarious buildings made of scrap materials (cane, wood, brass), in single spaces for the family of about 25 m\u00b2. In 1930 there were about 15,000 barracks in Barcelona, mainly in Sant Andreu, Montju\u00efc mountain and the beaches of Barceloneta and Poblenou, where neighborhoods such as Pequ\u00edn, La Perona and Somorrostro are still remembered.In 1929, the first traffic lights were installed to regulate vehicular traffic: the first was located at the intersection of Balmes and Provenza streets, and by the end of the year there were ten operating throughout the city, regulated by agents of the Guardia Urbana. The Civil War meant a halt in the installation of traffic lights, which was reactivated in the 1950s. The first synchronization took place in 1958, in Via Laietana. In 1984 the Traffic Control Center was opened, which in 2004 controlled 1,500 traffic light crossings. Second Republic and the Maci\u00e0 Plan. The arrival of the Second Republic and the grant of self-government to Catalonia favored the creation of various urban development projects in a city that by 1930 had reached one million inhabitants and was deficient in infrastructure, housing, transport and facilities such as schools and hospitals. In 1932 the autonomous government of Catalonia, the Generalitat, commissioned the brothers Nicolau and Santiago Rubi\u00f3 i Tudur\u00ed to develop a zoning project for the Catalan territory (Regional Planning), which would be the first attempt at joint planning of all the lands of the Principality. The project included a region of Barcelona, which included the plain of the city, the Baix Llobregat and the group of towns around the Tibidabo mountain. The Regional Plan included all the considerations about the territory, both urban and natural, as well as in aspects such as agriculture and livestock, mining, industry, tourism, health and culture.Another territorial structuring project was carried out in 1936, the Territorial Division of Catalonia, based on a work commissioned by the Generalitat in 1932 to Pau Vila. The project sought a spatial organization based on administrative public services, which resulted in a division into 9 regions and 38 comarques. Barcelona became the capital of the Barcelon\u00e8s comarca, which included Hospitalet de Llobregat, Badalona, Santa Coloma de Gramenet and Sant Adri\u00e0 de Bes\u00f2s. At that time, Catalonia had an area of 32 049 km\u00b2, 2 920 748 inhabitants and 1070 municipalities.. During these years an interesting urban planning project was generated, the Maci\u00e0 Plan (1932-1935), elaborated by the architects of GATCPAC, with Josep Llu\u00eds Sert at the head, in collaboration with the French rationalist architect Le Corbusier. The project envisaged a functional distribution of the city with a new geometric order, through large vertebral axes and with a new maritime fa\u00e7ade defined by Cartesian skyscrapers, in addition to the improvement of facilities and services, the promotion of public housing and the creation of a large park and leisure center next to the Llobregat delta.. The Plan presented Barcelona as a political and administrative capital, with a working-class and functional character, which would be structured in different areas: a residential zone, a financial and industrial zone, a civic and service zone, and a recreational zone, which included parks and gardens and beaches; connectiobs, communications and transport were also studied in detail. The backbone would be the Gran Via de les Corts Catalanes, a 600 m wide strip that would run from the Llobregat to the Bes\u00f2s. The Meridiana and Paral\u00b7lel avenues were also promoted, which would converge at the port, where a city or business center would be located, moving the port facilities to the Zona Franca. For the residential area, they proposed the creation of 400 x 400 m modules \u2014equivalent to nine blocks of the Eixample\u2014 with large housing complexes and social facilities. The recreational area was conceived through green spaces located in these residential modules and in a large strip of land in the coastal area, between Barceloneta and Poblenou, as well as the creation of a vast complex for leisure called Ciutat de Rep\u00f2s i Vacances (Rest and Vacation City), which would be located on the beaches of Viladecans, Gav\u00e0 and Castelldefels.Although the Maci\u00e0 Plan was not put into practice, its innovative and avant-garde design made it one of the landmarks of Barcelona urban planning, along with the Cerd\u00e0 and Jaussely plans. Some of its aspects inspired the city's urban planning in the democratic period, especially in terms of the recovery of the seafront as a space intended for leisure, as evidenced by the location of the Maremagnum shopping center on the Quai d'Espanya or the creation of the Olympic Village and the various parks that follow one after the other from this to the Diagonal Mar area.Also on the initiative of GATCPAC, the Pla de Sanejament del Casc Antic (Old Town Sanitation Plan) (1935-1937), which provided for the demolition of blocks considered unhealthy, a sponging of urban space and the creation of hygienic facilities, all supported by a strong public intervention, a fact that favored the decree in 1937, in the course of the Civil War, the municipalization of urban property.The GATCPAC also developed a workers' housing plan inspired by Le Corbusier's model of building \u00e0 r\u00e9dent, which was embodied in the Bloc house (1932-1936, Josep Llu\u00eds Sert, Josep Torres Clav\u00e9 and Joan Baptista Subirana), an S-shaped housing complex of long, narrow blocks with a two-bay metal structure, with access to the dwellings through covered corridors. The outbreak of the Civil War cut short the dissemination of this project.In the 1930s the first pedestrian road signs appeared: the first ones were vertical, consisting of a white oval plate on a pole with the inscription \"pedestrian crossing\"; later, horizontal signs were placed, in the form of 10 x 30 cm metal plates, with a rough texture, placed on the asphalt in such a way that their protruding bands made cars slow down. Franco's dictatorship and the Comarcal Plan. The years of the Franco dictatorship (1939-1975) were characterized by urban development, which consisted of the unbridled construction of cheap housing, mostly subsidized housing, to absorb immigration from the rest of Spain. In two decades it went from 1,280,179 inhabitants in 1950 to 1,745,142 in 1970. However, although subsidized housing was encouraged, this did not stop speculation. New housing was developed mostly on the periphery of the city \u2014an area of about 2500 ha, twice the size of the Eixample\u2014, with three main models: suburban sprawl neighborhoods, marginal or self-construction urbanization neighborhoods, and mass housing estates. The construction of housing was carried out, in many cases, without prior urban planning, and using cheap materials that, over the years, would cause various problems such as aluminosis. The construction fever caused the creation or expansion of new neighborhoods, such as El Carmel, Nou Barris, El Guinard\u00f3, Vall d'Hebron, La Sagrera, El Clot or El Poblenou. The growth of the suburbs caused the uninterrupted connection with the neighboring municipalities (Santa Coloma de Gramenet, Badalona, Sant Adri\u00e0 de Bes\u00f2s, Hospitalet de Llobregat, Esplugues de Llobregat), which in turn grew enormously, a fact that led Mayor Porcioles to coin the concept of the \"Great Barcelona.\"Real estate speculation was favored by the reform of the Municipal Ordinances carried out in 1942, which increased the height of buildings in relation to the width of the streets: in streets between 20 and 30 m (average width of the Eixample), heights of up to 24.40 m were allowed, equivalent to a first floor and six floors, while in streets over 30 m the height could reach 27.45 m (seven floors). This increase in buildability caused notable differences between buildings constructed at different times, and led to the presence of numerous party walls that disfigured the urban space, a problem that the city still suffers from despite several projects to remedy it, such as the Barcelona posa't guapa (Barcelona, make yourself pretty) campaign.The post-war urban renewal was led by the head of urban planning of the new authorities, Pedro Bidagor, who in 1945 promoted the creation of the Barcelona Provincial Planning Commission, responsible for drawing up a planning project for the city and its surroundings. Thus arose the Regional Plan of 1953, developed by Josep Soteras, an attempt to integrate the city with neighboring municipalities in order to meet the strong demand for housing in the years of massive immigration, while trying to curb real estate speculation and improve the urban environment. The Plan was accompanied by a legislative change, the Land and Urban Planning Law of 1956, which sought to bring rationality to urban development, although it encountered numerous difficulties in its application. The project differentiated between zones of urban expansion, suburban or garden cities, applying a polarized distribution of the territory; thus, in Barcelona it identified three zones as areas of growth: Levante, Poniente and Diagonal Norte. It also reserved large areas for infrastructure, facilities and green spaces; among the latter, it emphasized the enclosure of the Collserola mountain range as a large central metropolitan park.Although it was not carried out in its entirety, various \"partial plans\" emerged from its initial approach, most of which yielded to the pressures of the land owners and tended towards the requalification of land: a 1971 study calculated a 1.8 multiplication of the population density of the partial plans with respect to the Comarcal of 1953. The most relevant were those referring to the two ends of the Diagonal avenue, east and west: in the first the new neighborhoods of La Verneda and Bes\u00f2s were created, while in the second the Zona Universitaria was projected and the neighborhoods of Les Corts and Collblanc were enlarged.. The growth of the population and the appearance of new neighborhoods implied the construction of new markets for the supply of basic products: Sagrada Fam\u00edlia (1944), Carme (1950), Sagrera (1950), Horta (1951), Vallvidrera (1953), Estrella (1954), Guinard\u00f3 (1954), Tres Torres (1958), Bon Pastor (1960), Montserrat (1960), Merc\u00e8 (1961), Corts (1961), Guineueta (1965), Ciutat Meridiana (1966), Felip II (1966), Sant Mart\u00ed (1966), Bes\u00f2s (1968), Sant Gervasi (1968), Carmel (1969), Vall d'Hebr\u00f3n (1969), Port (1973), Proven\u00e7als (1974), Lesseps (1974), Trinitat (1977) and Canyelles (1987).During these years, automobile traffic increased considerably, which led to the improvement of the city's road network: Meridiana Avenue was opened, the First Ring Road (Ronda del Mig) was built and the Second Ring Road was planned, the construction of subway parking lots was started and the freeway network was extended thanks to the 1962 arterial network project, with a set of radial highways starting from Barcelona in several axes (Vall\u00e8s, Llobregat, Maresme). The opening of three tunnels to cross the Collserola mountain range, at Vallvidrera, Tibidabo and Horta, was also proposed, of which only the first one was built, of which only the first phase was built between 1969 and 1976 and the second between 1982 and 1991; the Rovira tunnel was also built between 1983 and 1987, linking El Guinard\u00f3 with El Carmel, which was supposed to link the Horta tunnel with the center of the city.. In transportation, streetcars were replaced by buses, and the metro network was expanded; in 1941 trolleybuses appeared, which disappeared in 1968. The water supply was also improved with the contribution coming from the Ter River, natural gas was introduced, and the electrical and telephone networks were renewed.In 1952 Barcelona hosted the XXXV International Eucharistic Congress, which allowed the development of a new neighborhood known as Congreso (Congr\u00e9s), with a housing complex designed by Josep Soteras, Carles Marqu\u00e8s and Antoni Pineda. The complex, of 16.5 ha, included a complex of 3,000 homes, 300 commercial premises, a church (parish of San P\u00edo X) and various school, sports and cultural services and facilities, with alternating open and closed blocks. In the rest of the city, several renovations were also carried out, such as the opening of the avenues of Pr\u00edncipe de Asturias (now Riera de Cassoles) and Infanta Carlota (now Josep Tarradellas); a monumental fountain was placed at the intersection of Gran Via de les Corts Catalanes and Passeig de Gr\u00e0cia, the work of Josep Soteras; and Calvo Sotelo square \u2014currently Francesc Maci\u00e0\u2014 was landscaped, with a project by Nicolau Maria Rubi\u00f3 i Tudur\u00ed.In 1957 the first section of the Paseo Mar\u00edtimo was opened, an idea that had emerged in the 1920s but had not yet been developed, with a project by Enric Giralt i Ortet. On the other hand, the housing deficit to accommodate the new immigration led to the enactment of the Social Urgency Plan of 1958, which led to the construction of large blocks of social housing in neighborhoods on the periphery, such as La Verneda, Torre Llobeta, La Trinitat and Verdum.. The Zona Franca, an industrial sector located between the mountain of Montjuic, the port and the Llobregat, was also established at that time. The idea arose in 1900, due to the loss of the colonial market in Cuba, promoted by Fomento del Trabajo Nacional (National Labor Development) an entity that commissioned the project to Guillem Graell. However, bureaucratic obstacles, the outline of several projects that did not come to fruition and the Civil War delayed its construction until the 1960s, although then simply as an industrial estate, abandoning the concept of a zona franca. In addition to the industrial area itself, several residential neighborhoods were located in the sector, such as Casa Ant\u00fanez, Can Clos, La Vinya and Polvor\u00edn. In 1967, Mercabarna, a central wholesale food market that supplies the entire city, was established in the area. In 1993 the Zona d'Actividades Log\u00edsticas (Logistics Activities Zone) (ZAL), dedicated to post-production and pre-commercial activities, was also created in the area.Between 1957 and 1973, Josep Maria de Porcioles was mayor, a long term of office known as the \"Porcioles era\", which stood out in urban planning for its speculative rampage, favored by the Municipal Charter of 1960, which granted the City Council broad powers in many areas, including urban planning. Porcioles created the Municipal Housing Board, whose developments included the creation of large housing estates, such as Montbau (1958-1961), Southwest Bes\u00f2s (1959-1960) and Canyelles (1974). Some of the urban development actions of this period were positive, such as the covering of Arag\u00f3n street, the extension of the Gran V\u00eda towards the Maresme, the adaptation of the seafront of Montjuic or the Barceloneta promenade; however, the speculative rampage of large real estate operations generated popular discontent that resulted in the so-called \"urban social movements\", which combined the discomfort generated by the degradation of the urban periphery with political protest against the Franco regime. Examples of this were the opposition to the new layout of Lesseps square caused by the opening of the First Ring Road (Ronda del Mig), or the reaction against the Partial Plan of Vallbona, Torre Bar\u00f3 and Trinitat, organized by a neighborhood association called Nueve Barrios (Nine Neighbourhoods) which later gave rise to the name of that new district of the city.. Despite the rise of developmentalism, there were some attempts at urban reorganization, such as the Master Plan for the Metropolitan Area of Barcelona (1966), which sought to make profitability and urban construction compatible, although its guiding character did not lead to practical realization; and the so-called Plan Barcelona 2000 (1970), a somewhat utopian attempt to establish criteria for the future city, where the importance given to infrastructure predominates, while a realistic commitment was made to the disorderly nature of urban growth. In the same 1970 a project for a Universal Exposition in 1982 emerged, which foresaw the opening of large avenues in the city, among them a vertical axis that would link Plaza de Espa\u00f1a with Vall\u00e8s through the Vallvidrera tunnel, and a Gran V\u00eda Norte formed with Josep Tarradellas street and the Travessera de Gr\u00e0cia extended to Santa Coloma; all this was not finally realized. In 1969 the Vilalta Plan for the construction of treatment plants for the treatment of the city's wastewater was also approved.Between 1964 and 1972 the Plan de la Ribera was developed, aimed at the urbanization of the city's eastern seafront, from Barceloneta to Bes\u00f2s, an area of 225 ha. Prepared by Antoni Bonet i Castellana, it was based on the deindustrialization of the area, and proposed the creation of a megastructure of seven large blocks of 500 x 500 m of luxury housing. The project had a long administrative process, and was not included in the Regional Plan until 1970. However, in 1972 the Town Planning Department of the City Council requested a redrafting of the project, due to opposition from neighbors and professional associations, who denounced the speculation attempts of the companies that financed the project, so it was definitively paralyzed. However, over time the plan was recognized as an attempt to renew Barcelona's urban planning, in line with international trends such as urban renewal or renovation urbaine, and the renovation of the coast remained in the collective imagination, which was finally carried out on the occasion of the Olympic Games.Finally, during the dictatorship the actions in green spaces focused more on the maintenance and restoration of existing areas than on the creation of new spaces. In 1940 Llu\u00eds Riudor, the initiator of landscaping in Catalonia, was put in charge of Parks and Gardens. His actions included the Austria Garden \u2014located in the Park G\u00fcell enclosure\u2014, the Monterols Park, the Cervantes Park, and various interventions in the Montju\u00efc mountain aimed at eliminating shantytowns, a project continued by his successor, Joaquim Casamor, with the creation of several thematic gardens, such as the Moss\u00e8n Costa i Llobera gardens, specialized in cacti and succulents, and the Moss\u00e8n Cinto Verdaguer gardens, dedicated to aquatic, bulbous and rhizomatous plants. His work also included the Mirador del Alcalde and Joan Maragall gardens on Montjuic, located around the Alb\u00e9niz Palacete; and, in the rest of Barcelona, the Putget, Guineueta and Villa Amelia parks. Democracy and the General Metropolitan Plan. The end of the dictatorship and the advent of democracy brought a new era in the architectural and urban planning panorama of the city, which was increasingly immersed in international avant-garde trends. The new socialist councils of Narc\u00eds Serra (1979-1982) and Pasqual Maragall (1982-1997) were committed to urban planning and architecture as the city's hallmarks, and initiated an extensive program of urban reforms that culminated with the 1992 Olympic Games. The new public commitment was reflected in the increase of facilities such as schools, parks and gardens, roads and urban spaces, and civic, cultural and sports centers.A large part of the municipal actions consisted of the acquisition of urban land, a fact favored by the relocation of factories and industrial complexes that moved out of the city. This policy was favored by the new consistory, which appointed Oriol Bohigas as Urban Planning delegate, which began a period of strong public investment in the city that led to a radical change in the urban physiognomy and a new projection of Barcelona at international level, which came to fruition with the Olympic Games.Municipal actions in those years focused on reconstruction versus expansion, on public versus private initiative. Against the vision of the city as a unitary entity, the concept of the sum of realities was opposed, prioritizing attention to local needs. It sought to palliate both quantitative and qualitative deficits, in which each intervention in public space served as an engine of urban regeneration, compensating the peripheries with a \"monumentalization\" of their environment.One of the factors driving urban change was industrial restructuring, promoted by the Plan for the reindustrialization of the center of Barcelona, which resulted in the creation of an Zona d'Urgent Reindustrialitzaci\u00f3 (Urgent Reindustrialization Zone) (ZUR). The new industrial development was based on factors such as R&D, and on the commitment to new technologies.. The new urban planning was embodied in the General Metropolitan Urban Development Plan (1976), drafted by Joan Antoni Solans, an attempt to curb speculation and rehabilitate the most degraded urban spaces, placing special emphasis on social, welfare and cultural facilities. To this end, the Metropolitan Corporation of Barcelona was created, which included the capital and 26 surrounding municipalities. Three general lines of action were outlined: one of small-scale urban rehabilitation, such as the opening of streets and squares, the creation of parks and gardens and the restoration of buildings and artistic monuments; another of urban restructuring, focused on aspects such as road reorganization (ring roads), new central areas and land requalification; and another of morphological reorganization, which took the form of the current administrative division of the city into ten districts (1984), most of which coincided with the former municipalities attached to Barcelona. One of the main tools for these interventions would be the Plans Especials de Reforma Interior (Special Plans of Interior Renovations) (PERI).However, the ambitious nature of the project, which reserved numerous areas for green spaces and intended to requalify others with a high population density, provoked countless lawsuits and claims, both from individuals and landowners, which delayed its execution and eventually left the project practically inoperative, a fact that was materialized with the dissolution of the Metropolitan Corporation in 1985 by the Generalitat de Catalunya. Even so, its general guidelines have marked the urban planning actions of the late twentieth century and early twenty-first century.Between 1983 and 1989 the concept of \"areas of new centrality\" was developed, in search of a more polycentric and better connected city. The aim was to decongest the center by promoting various sectors of the urban periphery, which should regenerate low-quality urban fabrics thanks to their intrinsic morphological qualities. Twelve areas were delimited: RENFE-Meridiana, Diagonal-Sarri\u00e0, Tarragona street, Cerd\u00e0 square, Port Vell, Gl\u00f2ries square, Diagonal-Prim (future F\u00f2rum area), Sant Andreu-Sagrera and four related to the Olympic Games: Montjuic, Diagonal-Zona Universit\u00e0ria, Vall d'Hebron and Carles I-Avinguda Ic\u00e0ria (future Olympic Village).. During this period, numerous stretches of the city's roads were improved, with wide and often landscaped avenues designed mainly for pedestrian traffic. Some examples are: Avinguda de Gaud\u00ed, Avinguda de Josep Tarradellas, Carrer Tarragona, the connection between the old Rambles and the Rambla de Catalunya, Passeig de Llu\u00eds Companys, Avinguda de la Reina Maria Cristina, Via J\u00falia and Rambla de Prim. Numerous squares were also opened and refurbished, in many cases also landscaped, such as those of Salvador Allende, Baixa de Sant Pere, Sant Agust\u00ed Vell, la Merc\u00e8, S\u00f3ller and Robacols.Among the sectoral plans developed during these years it is worth mentioning: those of Ciutat Vella, especially in the Raval, Santa Caterina and Barceloneta; that of Carmel; that of Gr\u00e0cia, where several squares were urbanized (Sol, Virreina, Trilla, Diamant and Raspall, 1982-1985); and those of Sarri\u00e0, Sant Andreu and Poblenou. Policies to promote affordable housing were also carried out, and in Eixample the recovery of the block courtyards as green areas or public services was sought.In 1988 the Pla Especial de Clavegueram de Barcelona (Special Sewerage Plan of Barcelona) (PECB) was approved, which remodeled the network of coastal sewers, eliminating practically half of the city's flood areas, while promoting the construction of breakwaters, which allowed the recovery of the city's beaches. The same purpose was served by the 1997 Pla Especial de Clavegueram de Barcelona (Special Sewerage Plan for Barcelona) (PECLAB), which boosted stormwater regulation reservoirs to prevent flooding.The arrival of democracy favored the creation of new green areas in the city. At this time gardening was closely linked to urban planning, with a concept that combined aesthetics with functionality, as well as recreational aspects, sports facilities and services for certain groups such as children or the elderly, as well as areas for dogs. Numerous parks were converted from former municipal facilities, such as the Joan Mir\u00f3 park, built between 1980 and 1982 on the site of the former central slaughterhouse of Barcelona; or in industrial areas (Espanya Industrial park, 1981-1985; Pegaso park, 1982-1986; Clot park, 1982-1986) or former railway facilities (Sant Mart\u00ed park, 1985; Estaci\u00f3 del Nord park, 1988). The Creueta del Coll park (1981-1987), a work of the Martorell-Bohigas-Mackay team, was also established on the site of an old quarry. 1992 Olympic Games. Another of Barcelona's profound transformations came on the occasion of the 1992 Olympic Games. The event involved the remodeling of part of the mountain of Montju\u00efc, where the so-called Olympic Ring (1985-1992), designed by Carles Buxad\u00e9, Joan Margarit, Federico Correa and Alfons Mil\u00e0, a large enclosure located between the Olympic Stadium Llu\u00eds Companys and the Pla\u00e7a d'Europa, which houses several sports facilities including the Palau Sant Jordi, was located.To accommodate the athletes, a new neighborhood was built, the Poblenou Olympic Village (1985-1992), with a general layout of the Martorell-Bohigas-Mackay-Puigdom\u00e8nech team. The planning of the Olympic Village was complex, and several aspects had to be adapted: the coastal railroad had to be buried; sewage treatment plants had to be built and the wastewater that had previously gone directly into the sea had to be channeled; a new port (Olympic Port) was built; new beaches were established and regenerated; and new road and transport axes were laid out, such as Avinguda d'Ic\u00e0ria. Several facilities were also installed in the area, such as the Telephone Exchange (1989-1992, Jaume Bach and Gabriel Mora) and the Meteorology Center (1990-1992, \u00c1lvaro Siza). On the other hand, the construction of two large skyscrapers (Hotel Arts and Torre Mapfre) changed the physiognomy of Barcelona.. Another area of action was the Vall d'Hebron neighborhood, planned according to a project by Eduard Bru (1989-1991), which combined green areas with sports facilities. This area was the site of the Olympic Press Village (1989-1991), designed by Carlos Ferrater.The Olympic Games also led to the creation of new parks and gardens, such as the parks of Mirador del Migdia, Poblenou, Carles I and three designed by the firm Martorell-Bohigas-Mackay: the park of the Cascades, the Olympic Port and the park of Nova Ic\u00e0ria.On the occasion of the Games, the Old port (Port Vell) was also remodeled, with a project by Jordi Henrich and Olga Tarras\u00f3. The new space was dedicated to leisure, with the creation of the Maremagnum leisure center, connected to land by the Rambla de Mar, a pivoting bridge designed by Helio Pi\u00f1\u00f3n and Albert Viaplana. For the event a Coastal Plan was also instituted with a view to the regeneration of the city's beaches, which had been quite eroded until then, and which were totally renovated and won for the enjoyment of the citizens. Beaches such as Sant Sebasti\u00e0, Barceloneta, Nova Ic\u00e0ria, Bogatell, Mar Bella and Nova Mar Bella were cleaned and filled with sand from the seabed, sewage treatment plants were built on the Bes\u00f2s and Llobregat rivers and underwater reefs were placed to favor flora and fauna. On the other hand, the Llobregat River was diverted in its final stretch 2.5 km to the south, thus allowing the port to be extended in that direction.. Another urban planning action was in the Raval neighborhood, which was remodeled with a project by Jaume Artigues and Pere Cabrera, which consisted of the opening of the Rambla del Raval and the adequacy of the surroundings of the Pla\u00e7a dels \u00c0ngels as a cultural center, where the Center of Contemporary Culture of Barcelona (1990-1993) and the Museum of Contemporary Art of Barcelona (1987-1996) were located.The Games also brought progress in the technological sector, with new infrastructures especially in the telecommunications sector: the Collserola (by Norman Foster) and Montju\u00efc (by Santiago Calatrava) communications towers were built, and 150 km of optical fiber cabling were installed in the city's subsoil.It should also be noted that the road infrastructure of the city was significantly expanded for the Games, especially with the creation of the ring roads, arranged as a ring road around the entire urban perimeter. The general planning was carried out between 1989 and 1992 by Josep Acebillo, technical director of the Municipal Institute for Urban Development, and Alfred Morales, coordinator of transport and circulation of the Barcelona City Council. There are currently three ring roads: the Ronda de Dalt, the Ronda del Mig and the Ronda del Litoral; the first two ring roads circumvent Barcelona, while the Ronda del Mig (of the \"middle\") crosses the city and receives different names depending on the section (Passeig de la Zona Franca, Carrer de Badal, Rambla del Brasil, Gran Via de Carles III, Ronda del General Mitre, Travesera de Dalt and Ronda del Guinard\u00f3).. On the other hand, there was a campaign to restore facades and monuments and to adapt dividing walls, called Barcelona posa't guapa (Barcelona make yourself pretty) (1986-1992), directed by Josep Emili Hern\u00e1ndez-Cros, from the Heritage area of the City Council.The celebration of the Games was a challenge for the urban planning of the city, and was a platform for a determined strategic urban planning action, with a perfect harmony between social and economic agents, which led to a new projection of the city both nationally and internationally, and led to talk of a \"Barcelona model\" as an integrative project of urban reform that was exportable to other cities.The last years of the century were marked by the search for a more sustainable urban planning based on ecological criteria. This new awareness was reflected in the search for public spaces adapted to the environment and designed for the residents, with special emphasis on community facilities and services. These criteria were defined in particular at the Sustainable Barcelona Civic Forum, held in 1998. One of the main achievements during these years in the interests of sustainability has been the commitment to the bicycle as a more environmentally friendly means of transport: in 1993 the first bicycle path was installed on Avinguda Diagonal, on a 3 km stretch; since then the space allocated to bicycles has not stopped increasing, the use of which has also been favored by the creation in 2007 of a municipal bicycle rental company (Bicing), with several stopping points throughout the city.The turn of the century also saw an increase in multi-municipal projects, especially in terms of infrastructure and transport, such as the expansion of the port and the airport, the route of the AVE and the Plan for public transport, or the projects for the rehabilitation of the Llobregat and Bes\u00f3s deltas. The Pla Director d'Infraestructures (Infrastructure Master Plan) (PDI) marked the expansion and improvement of public transport, with a Metro network covering the entire metropolitan area, the reintroduction of the tramway at both ends of the Diagonal (Baix Llobregat and Bes\u00f2s), and the improvement of the bus network. 21st Century. With the turn of the century, the city continued to focus on innovation and design as projects for the future, together with the use of new technologies and a commitment to environmental sustainability. In 2000, the Urban Strategies Advisory Council was created to assist the City Council in urban planning and strategic decision making for the city and its surroundings. Initially it was composed of Oriol Bohigas, Dominique Perrault, Richard Rogers, Ramon Folch, Jordi Nadal and Antoni Mar\u00ed.One of the first urban development projects of the new millennium was the creation of the 22@ district, thanks to a modification of the General Metropolitan Plan in 2000. Its objective is the reformulation of the industrial land in the El Poblenou neighborhood, a traditionally industrial sector that fell into decline at the end of the 20th century due to the relocation of most companies to land outside the city. The preservation of the productive business fabric of the area was then promoted, focusing on companies dedicated to new technologies, in line with the private sector and the day-to-day activities of the area. The area of action is 115 ha, which made it one of the areas of greatest urban renewal in Europe at the beginning of the 21st century.. One of the most outstanding events of the new millennium was the celebration of the 2004 Universal Forum of Cultures, which led to new urban changes in the city: the entire Bes\u00f2s area, until then populated by old disused factories, was recovered, the entire Poblenou neighborhood was regenerated and the new Diagonal Mar neighborhood was built, while the city was provided with new parks and spaces for the leisure of the citizens. The site was designed by El\u00edas Torres and Jos\u00e9 Antonio Mart\u00ednez Lape\u00f1a, with a 16-hectare multipurpose esplanade culminating at one end with a large photovoltaic panel, which became one of the emblems of the event.The urban planning of the new millennium has reinforced the polynuclear grid structure promoted since the 1990s, which has favored the emergence of new urban centers such as the F\u00f2rum, 22@ and La Sagrera. Currently the Pla\u00e7a de les Gl\u00f2ries Catalanes is being remodeled, an important road axis where the undergrounding of automobile traffic is planned and the recovery of the land for public use.. Communications have improved with the arrival of the high-speed train, which links the Catalan capital with Madrid and Paris; the Mediterranean Corridor, a strategic transport line between the pen
Download .txt
gitextract_lwp3pzpi/

├── .gitignore
├── CITATION
├── Evaluation/
│   ├── automatic_eval.py
│   ├── automatic_metrics.py
│   ├── llm_eval.py
│   └── llm_score.py
├── LICENSE
├── LooGLE-testdata/
│   ├── longdep_qa.jsonl
│   ├── longdep_summarization.jsonl
│   ├── shortdep_cloze.jsonl
│   └── shortdep_qa.jsonl
├── Output/
│   ├── longdep_qa_reorder_gpt4-32k.jsonl
│   ├── longdep_summarization_llama-index.jsonl
│   ├── shortdep_qa_chatglm2-6b-32k.jsonl
│   ├── shortdep_qa_gpt-3.5-turbo-16k.jsonl
│   └── shortdep_qa_llama-index.jsonl
├── Prediction/
│   ├── pred_gpt_models.py
│   ├── pred_llamaindex.py
│   └── pred_opensource_models.py
├── README.md
├── Reorder/
│   ├── get_max_deviation.py
│   ├── get_reorder_deviation.py
│   └── reorder_eval.py
├── Retrieval/
│   └── pred_retrieval_based_method.py
├── Tools/
│   ├── Labeling_form_A_annotator.html
│   └── Labeling_form_Q_annotator.html
├── config/
│   ├── task2maxlen.json
│   └── task2prompt.json
├── docs/
│   ├── .gitignore
│   ├── 404.html
│   ├── Gemfile
│   ├── _config.yml
│   ├── _includes/
│   │   └── head-custom.html
│   ├── _layouts/
│   │   └── default.html
│   ├── assets/
│   │   ├── css/
│   │   │   └── style.scss
│   │   └── js/
│   │       └── main.js
│   ├── backup.html
│   └── index.md
└── requirements.txt
Download .txt
SYMBOL INDEX (49 symbols across 12 files)

FILE: Evaluation/automatic_eval.py
  function evaluation (line 20) | def evaluation(data, scores, functions, task):
  function get_semantic_matching (line 39) | def get_semantic_matching(result, functions):
  function get_match_score (line 50) | def get_match_score(result, functions):
  function parse_args (line 59) | def parse_args(args=None):

FILE: Evaluation/automatic_metrics.py
  function get_bleu_score (line 8) | def get_bleu_score(question, reference, hypothesis, task):
  function get_rouge_score (line 19) | def get_rouge_score(question, reference, hypothesis, task, metric="r"):
  function get_meteor_score (line 29) | def get_meteor_score(question, reference, hypothesis, task):
  function get_bertscore (line 38) | def get_bertscore(question, reference, hypothesis, task):
  function get_exact_match (line 45) | def get_exact_match(question, reference, hypothesis, task):
  function get_partial_match (line 60) | def get_partial_match(question, reference, hypothesis, task):

FILE: Evaluation/llm_eval.py
  function evaluation (line 13) | def evaluation(data, scores, functions, task):
  function get_accuracy (line 29) | def get_accuracy(result, functions, task):
  function parse_args (line 41) | def parse_args(args=None):

FILE: Evaluation/llm_score.py
  function get_gpt4_score (line 6) | def get_gpt4_score(question, reference, hypothesis, task):

FILE: Prediction/pred_gpt_models.py
  function get_gpu_info (line 14) | def get_gpu_info():
  function parse_args (line 28) | def parse_args(args=None):
  function num_tokens_from_string (line 40) | def num_tokens_from_string(string: str, encoding_name: str) -> int:
  function get_pred (line 47) | def get_pred(model, data_instance, tokenizer, max_length, max_gen, promp...

FILE: Prediction/pred_llamaindex.py
  function get_gpu_info (line 16) | def get_gpu_info():
  function parse_args (line 30) | def parse_args(args=None):
  function num_tokens_from_string (line 42) | def num_tokens_from_string(string: str, encoding_name: str) -> int:
  function get_pred (line 49) | def get_pred(data_instance, tokenizer, max_length, max_gen, prompt_format):
  function loads (line 107) | def loads(path, task):

FILE: Prediction/pred_opensource_models.py
  function get_gpu_info (line 13) | def get_gpu_info():
  function parse_args (line 27) | def parse_args(args=None):
  function get_pred (line 40) | def get_pred(model, data_instance, tokenizer, max_length, max_gen, promp...

FILE: Reorder/get_max_deviation.py
  function get_max_location_square_deviation (line 12) | def get_max_location_square_deviation(n):
  function get_max_location_mean_deviation (line 25) | def get_max_location_mean_deviation(n):
  function get_max_swap_deviation (line 38) | def get_max_swap_deviation(n):
  function get_max_swap_distance_deviation (line 51) | def get_max_swap_distance_deviation(n):

FILE: Reorder/get_reorder_deviation.py
  function location_square_deviation (line 6) | def location_square_deviation(lst_1, lst_2=None):
  function location_mean_deviation (line 27) | def location_mean_deviation(lst_1, lst_2=None):
  function swap_deviation (line 47) | def swap_deviation(lst_1, lst_2=None):
  function swap_distance_deviation (line 73) | def swap_distance_deviation(lst_1, lst_2=None):

FILE: Reorder/reorder_eval.py
  function roman_numerals (line 20) | def roman_numerals(text):
  function deduplicate (line 25) | def deduplicate(l):
  function parse_args (line 31) | def parse_args(args=None):
  function evaluation (line 52) | def evaluation(data, reorder_score, reorder_function):
  function get_reorder_score (line 73) | def get_reorder_score(result, functions):

FILE: Retrieval/pred_retrieval_based_method.py
  class OpenSourceLLM (line 24) | class OpenSourceLLM(CustomLLM):
    method __init__ (line 31) | def __init__(self, num_output, max_length, model_path, model_name) -> ...
    method metadata (line 45) | def metadata(self) -> LLMMetadata:
    method complete (line 54) | def complete(self, prompt: str, **kwargs: Any) -> CompletionResponse:
    method stream_complete (line 76) | def stream_complete(self, prompt: str, **kwargs: Any) -> CompletionRes...
  function parse_args (line 80) | def parse_args(args=None):
  function num_tokens_from_string (line 113) | def num_tokens_from_string(string: str, encoding_name: str) -> int:
  function get_pred (line 120) | def get_pred(data_instance, service_context):
  function loads (line 141) | def loads(path, task):

FILE: docs/assets/js/main.js
  function copyCode (line 184) | async function copyCode (block) {
Condensed preview — 39 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,878K chars).
[
  {
    "path": ".gitignore",
    "chars": 3078,
    "preview": "# Byte-compiled / optimized / DLL files\n__pycache__/\n*.py[cod]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribution / packagi"
  },
  {
    "path": "CITATION",
    "chars": 232,
    "preview": "@article{li2023loogle,\n  title={Can Long-Context Language Models Understand Long Contexts?},\n  author={ Li, Jiaqi and Wa"
  },
  {
    "path": "Evaluation/automatic_eval.py",
    "chars": 3235,
    "preview": "import json\nimport openai\nfrom nltk.translate.bleu_score import sentence_bleu\nfrom nltk.translate.meteor_score import si"
  },
  {
    "path": "Evaluation/automatic_metrics.py",
    "chars": 2355,
    "preview": "import json\nfrom nltk.translate.bleu_score import sentence_bleu\nfrom nltk.translate.meteor_score import single_meteor_sc"
  },
  {
    "path": "Evaluation/llm_eval.py",
    "chars": 2292,
    "preview": "import json\nfrom nltk.translate.bleu_score import sentence_bleu\nfrom nltk.translate.meteor_score import single_meteor_sc"
  },
  {
    "path": "Evaluation/llm_score.py",
    "chars": 1784,
    "preview": "import json\nimport numpy as np\nimport openai\n\n\ndef get_gpt4_score(question, reference, hypothesis, task):\n    if \"qa\" in"
  },
  {
    "path": "LICENSE",
    "chars": 1105,
    "preview": "MIT License\n\nCopyright (c) 2023 BIGAI Natural Language and Conversational AI Lab\n\nPermission is hereby granted, free of "
  },
  {
    "path": "LooGLE-testdata/longdep_qa.jsonl",
    "chars": 460485,
    "preview": "{\"input\": \" Early life. Picardo was born in Jerez de la Frontera, in the Province of C\\u00e1diz in Andaluc\\u00eda, Spain"
  },
  {
    "path": "LooGLE-testdata/longdep_summarization.jsonl",
    "chars": 522982,
    "preview": "{\"input\": \"Distinction and quadratic base change for regular supercuspidal representations\\n\\n\\nChuijia Wang\\n\\n\\n1 Intr"
  },
  {
    "path": "LooGLE-testdata/shortdep_cloze.jsonl",
    "chars": 650973,
    "preview": "{\"input\": \"IT'S BRITNEY, BITCH\\nWritten by\\nCerina Aragones\\nBased on the hairy life of pop princess Britney Spears\\nHou"
  },
  {
    "path": "LooGLE-testdata/shortdep_qa.jsonl",
    "chars": 471431,
    "preview": "{\"input\": \" Early life. Picardo was born in Jerez de la Frontera, in the Province of C\\u00e1diz in Andaluc\\u00eda, Spain"
  },
  {
    "path": "Output/longdep_qa_reorder_gpt4-32k.jsonl",
    "chars": 259020,
    "preview": "{\"output\": [\"II,I,III\"], \"question\": [{\"Q\": \"Picardo dedicated much of his professional life to Paradores, please order "
  },
  {
    "path": "Output/longdep_summarization_llama-index.jsonl",
    "chars": 238504,
    "preview": "{\"qa_pairs\": \"none\", \"llm_output\": [\"\\nThis paper discusses the distinction and quadratic base change for regular superc"
  },
  {
    "path": "Output/shortdep_qa_chatglm2-6b-32k.jsonl",
    "chars": 9619,
    "preview": "{\"qa_pairs\": [{\"S\": \"Picardo was born in Jerez de la Frontera, in the Province of C\\u00e1diz in Andaluc\\u00eda, Spain on"
  },
  {
    "path": "Output/shortdep_qa_gpt-3.5-turbo-16k.jsonl",
    "chars": 7169,
    "preview": "{\"qa_pairs\": [{\"S\": \"Picardo was born in Jerez de la Frontera, in the Province of C\\u00e1diz in Andaluc\\u00eda, Spain on"
  },
  {
    "path": "Output/shortdep_qa_llama-index.jsonl",
    "chars": 8362,
    "preview": "{\"qa_pairs\": [{\"S\": \"Picardo was born in Jerez de la Frontera, in the Province of C\\u00e1diz in Andaluc\\u00eda, Spain on"
  },
  {
    "path": "Prediction/pred_gpt_models.py",
    "chars": 4677,
    "preview": "import os\nimport torch\nimport json\nimport argparse\nfrom transformers import AutoTokenizer, AutoModelForCausalLM\nimport o"
  },
  {
    "path": "Prediction/pred_llamaindex.py",
    "chars": 5335,
    "preview": "import os\nimport torch\nimport json\nimport argparse\nfrom datasets import load_dataset\nfrom llama_index import GPTVectorSt"
  },
  {
    "path": "Prediction/pred_opensource_models.py",
    "chars": 5016,
    "preview": "import os\nimport torch\nimport json\nimport argparse\nfrom transformers import AutoTokenizer, AutoModelForCausalLM\nfrom dat"
  },
  {
    "path": "README.md",
    "chars": 9865,
    "preview": "<div align=\"center\" id=\"title\"> <img src=\"./assets/LooGle_logo.png\" width=256px /> </div>\n\n<h2 align=\"center\">Long Conte"
  },
  {
    "path": "Reorder/get_max_deviation.py",
    "chars": 1472,
    "preview": "import json\nimport numpy as np\nimport re\nimport itertools\nfrom get_reorder_deviation import (\n    location_square_deviat"
  },
  {
    "path": "Reorder/get_reorder_deviation.py",
    "chars": 2617,
    "preview": "import json\nimport numpy as np\nimport re\nimport itertools\n\ndef location_square_deviation(lst_1, lst_2=None):\n    n = len"
  },
  {
    "path": "Reorder/reorder_eval.py",
    "chars": 2520,
    "preview": "import json\nimport numpy as np\nimport re\nimport itertools\nimport argparse\nfrom get_reorder_deviation import (\n    locati"
  },
  {
    "path": "Retrieval/pred_retrieval_based_method.py",
    "chars": 6110,
    "preview": "import os\nfrom typing import Any\nimport torch\nimport json\nimport argparse\nimport openai\nfrom datasets import load_datase"
  },
  {
    "path": "Tools/Labeling_form_A_annotator.html",
    "chars": 17132,
    "preview": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=e"
  },
  {
    "path": "Tools/Labeling_form_Q_annotator.html",
    "chars": 17205,
    "preview": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=e"
  },
  {
    "path": "config/task2maxlen.json",
    "chars": 110,
    "preview": "{\n    \"shortdep_qa\": 300,\n    \"longdep_qa\": 500,\n    \"longdep_summarization\":500, \n    \"shortdep_cloze\": 50\n}\n"
  },
  {
    "path": "config/task2prompt.json",
    "chars": 768,
    "preview": "{\n    \"shortdep_qa\": \"Please answer the question based on the long texts below. \\n{input}\\nQuestion: {Q}\\nAnswer: \",\n   "
  },
  {
    "path": "docs/.gitignore",
    "chars": 69,
    "preview": "_site\n.sass-cache\n.jekyll-cache\n.jekyll-metadata\nGemfile.lock\nvendor\n"
  },
  {
    "path": "docs/404.html",
    "chars": 419,
    "preview": "---\npermalink: /404.html\nlayout: default\n---\n\n<style type=\"text/css\" media=\"screen\">\n  .container {\n    margin: 10px aut"
  },
  {
    "path": "docs/Gemfile",
    "chars": 305,
    "preview": "source 'https://rubygems.org'\n\ngem 'jekyll'\n\ngroup :jekyll_plugins do\n    gem 'github-pages'\n    gem 'jekyll-email-prote"
  },
  {
    "path": "docs/_config.yml",
    "chars": 1950,
    "preview": "# Site settings\n# These are used to personalize your new site. If you look in the HTML files,\n# you will see them access"
  },
  {
    "path": "docs/_includes/head-custom.html",
    "chars": 1186,
    "preview": "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css\"\n    integrity=\"sha"
  },
  {
    "path": "docs/_layouts/default.html",
    "chars": 4622,
    "preview": "<!DOCTYPE html>\n<html lang=\"{{ site.lang | default: \" en-US\" }}\">\n\n<head>\n    <meta charset=\"UTF-8\">\n\n    {% seo %}\n    "
  },
  {
    "path": "docs/assets/css/style.scss",
    "chars": 7841,
    "preview": "---\n---\n@import 'jekyll-theme-cayman';\n\n.page-header {\n    padding: 10rem 6rem 5rem;\n    background-image: linear-gradie"
  },
  {
    "path": "docs/assets/js/main.js",
    "chars": 7859,
    "preview": "// Dean Attali / Beautiful Jekyll 2023\n\n\n\nlet BeautifulJekyllJS = {\n\n    bigImgEl: null,\n    numImgs: null,\n\n    init: f"
  },
  {
    "path": "docs/backup.html",
    "chars": 55410,
    "preview": "<!DOCTYPE html>\n<html>\n\n<head>\n  <title>LooGLE Benchmark</title>\n  <meta charset=\"utf-8\">\n  <meta name=\"viewport\" conten"
  },
  {
    "path": "docs/index.md",
    "chars": 25369,
    "preview": "---\nlayout: default\n---\n\n![](https://github.com/bigai-nlco/LooGLE/raw/main/assets/overview_page1.png)\n\n**LooGLE** is a c"
  },
  {
    "path": "requirements.txt",
    "chars": 292,
    "preview": "datasets==2.14.4\nflash-attn==2.0.8\nGPUtil==1.4.0\nhuggingface-hub==0.15.1\nlangchain==0.0.300\nllama-index==0.8.29.post1\nnu"
  }
]

About this extraction

This page contains the full source code of the bigai-nlco/LooGLE GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 39 files (2.7 MB), approximately 707.1k tokens, and a symbol index with 49 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!