taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Name of Respondent:
[@ferc:RespondentLegalName @period=$currentDuration] Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text This report is:
(1) if missing({covered @concept=ferc:SubmissionType}) ☐ An Original']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "O" ☑ An Original']]> else ☐ An Original']]> An Original
(2) if missing([covered @concept=ferc:SubmissionType @period=$currentDuration]) ☐ A Resubmission']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "R" ☑ A Resubmission']]> else ☐ A Resubmission']]> A Resubmission
taxonomy().concept(ferc:ReportDate).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Date of Report:
[@ferc:ReportDate @period=$currentDuration] 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Year/Period of Report:
End of: [@ferc:ReportYear @period=$currentDuration] 2018 / [@ferc:ReportPeriod @period=$currentDuration] Q4
// adding a comment $data2 = list(for $i in range(13) list($i,none,none,none,none,none,none) ); $data = if list({covered @ferc:CapitalStockByTypesAxis=*}).length > 0 list({covered @ferc:CapitalStockByTypesAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if list({@ferc:CapitalStockDescription @unit @period=$currentDuration}).length > 0 first(list({@ferc:CapitalStockDescription @unit @period=$currentDuration})) else none, if list({@ferc:CapitalStockSharesAuthorized @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockSharesAuthorized @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockParOrStatedValuePerShare @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockParOrStatedValuePerShare @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockStatedValuePerShareOfNonparStock @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockStatedValuePerShareOfNonparStock @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockSharesOutstanding @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockSharesOutstanding @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockValueOutstanding @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockValueOutstanding @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleCapitalStockAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1FScheduleTitle").text PART XIII: CAPITAL STOCK DATA
taxonomy().concept(ferc:ScheduleCapitalStockAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text

(Column f refers to amount outstanding without reduction for amounts held by respondent. Omit cents)

>
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleCapitalStockAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "F1F - 013 - Schedule - Capital Stock Data" and $item.part-by-name(ferc-part:ValueType).part-value == "Column") $headings = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value)) $heading_dict = dict(for $row in $headings list("("+$row[1]+")",$row[2]) ); for $row in $heading_dict.keys.sort
$heading_dict[$row] Title of Account
$row (a)
1 $row[2] Common Stock $row[3] 400 shares $row[4] $500 $row[5] $400 $row[6] 4,000,000 $row[7] $4,000,000