taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Name of Respondent:

first(list([@ferc:RespondentLegalName @period=$currentDuration])) Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").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/F6Header").text Date of Report:

first(list([@ferc:ReportDate @period=$currentDuration])) 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Year/Period of Report:

End of: first(list([@ferc:ReportYear @period=$currentDuration])) 2018 / first(list([@ferc:ReportPeriod @period=$currentDuration])) Q4
// adding a comment $data2 = list(for $i in range(43) list($i,none,none,none,none,none,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:ClassAndSeriesOfStockAxis=*})) > 0 list({covered @ferc:ClassAndSeriesOfStockAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:NameOfAccountAndDescriptionOfCapitalStockItems @unit @period=$currentDuration}) first(list({@ferc:NameOfAccountAndDescriptionOfCapitalStockItems @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockSharesIssuedDate @unit @period=$currentDuration}) first(list({@ferc:CapitalStockSharesIssuedDate @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockSharesIssuedDescription @unit @period=$currentDuration}) first(list({@ferc:CapitalStockSharesIssuedDescription @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockSharesIssued @unit @period=$currentDuration}) first(list({@ferc:CapitalStockSharesIssued @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockIssuedConsiderationReceived @unit @period=$currentDuration}) first(list({@ferc:CapitalStockIssuedConsiderationReceived @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockIssuedOtherPropertyAcquiredOrServicesReceived @unit @period=$currentDuration}) first(list({@ferc:CapitalStockIssuedOtherPropertyAcquiredOrServicesReceived @unit @period=$currentDuration})) else none, if exists({@ferc:NetDiscountPremiumOnCapitalStock @unit @period=$currentDuration}) first(list({@ferc:NetDiscountPremiumOnCapitalStock @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockExpense @unit @period=$currentInstant}) first(list({@ferc:CapitalStockExpense @unit @period=$currentInstant})) else none, if exists({@ferc:CapitalStockSharesReacquired @unit @period=$currentDuration}) first(list({@ferc:CapitalStockSharesReacquired @unit @period=$currentDuration})) else none, if exists({@ferc:CapitalStockReacquiredPurchasePrice @unit @period=$currentDuration}) first(list({@ferc:CapitalStockReacquiredPurchasePrice @unit @period=$currentDuration})) else none, if exists({@ferc:RemarksCapitalStockChanges @unit @period=$currentDuration}) first(list({@ferc:RemarksCapitalStockChanges @unit @period=$currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleCapitalStockChangesDuringTheYearAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6ScheduleTitle").text Capital Stock Changes During the Year
taxonomy().concept(ferc:ScheduleCapitalStockChangesDuringTheYearAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6Instructions").text
  1. Give particulars (detail) of stock actually or nominally issued (either original issues or reissues) and of stocks reacquired or canceled during the year. For nominally issued stock, show returns in columns (a), (b), and (d) only.
  2. In column (c) state whether issued for construction of new properties, for additions and betterments, for purchase of pipeline or other property, for conversion, for acquisition of securities, for reorganization, or for other corporate purposes. If an issue, of securities was authorized for more than one purpose, state in a footnote amount applicable to each purpose. Also give the number and date of the authorization by the public authority under whose control such issue was made, naming such authority.
  3. In column (e) include as cash all money, checks, drafts, bills of exchange, and other commercial paper payable as par on demand.
STOCKS ISS. DUR YR STOCKS REACQ.DUR YR
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleCapitalStockChangesDuringTheYearAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "252 - Schedule - Capital Stock Changes During the Year") $heading = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value, $ref.part-by-name(ferc-part:ElementName).part-value)) $heading_dict = dict(for $row in $heading list("("+$row[1]+")",list($row[2],taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
$heading_dict[$row][2].name.local-name
$heading_dict[$row][1] Nature of Payment
$row (a)
1 $row[2] Common Equity $row[3] 2018-03-28 $row[4] Capital Addition $row[5] 1,000,000 $row[6] $12,231,456 $row[7] $1,666,222 $row[8] $150,000 $row[9] 2,000 $row[10] $1,231,456 $row[11] $1.25 $row[12] No remarks at this time