Table: papal_elector_1378
Columns: elector
nationality
cardinalatial_order_and_title
elevated
elevator

Question: When was Cardinal-Deacon of S. Giorgio in Velabro elevated?
SQL: SELECT "elevated" FROM papal_elector_1378 WHERE "cardinalatial_order_and_title" = 'cardinal-deacon of s. giorgio in velabro'

Question: What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?
SQL: SELECT "cardinalatial_order_and_title" FROM papal_elector_1378 WHERE "elector" = 'pedro martínez de luna y gotor'

Question: What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
SQL: SELECT "nationality" FROM papal_elector_1378 WHERE "cardinalatial_order_and_title" = 'cardinal-priest of ss. xii apostoli'