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(32) list($i,none,none,none)); $data = if count(list({covered @ferc:OfficerAxis=*})) > 0 list( {covered @ferc:OfficerAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:OfficerTitle @unit @period = $currentDuration}) first(list({@ferc:OfficerTitle @unit @period = $currentDuration })) else none, if exists(@ferc:OfficerName @unit @period = $currentDuration ) first(list({@ferc:OfficerName @unit @period = $currentDuration})) else none, if exists({@ferc:AddressOfPrincipalGeneralOfficers @unit @period = $currentDuration}) first(list({@ferc:AddressOfPrincipalGeneralOfficers @unit @period = $currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleOfficersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6ScheduleTitle").text Officers
taxonomy().concept(ferc:ScheduleOfficersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6Instructions").text
  1. Give the title, name, and address of the principal general officers as follows: Executive, Legal, Fiscal and Accounting, Purchasing, Operating, Construction, Maintenance, Engineering, Commercial, and Traffic. If there are receivers, trustees, or committees, who are recognized as in the controlling management of the company or of some department of it, also give their names and titles, and the location of their offices. If the duties of an officer extend to more than one department, or if his duties are not in accordance with the customary acceptance of his given title, briefly state the facts under Explanatory Remarks below.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleOfficersAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "104 - Schedule - Principal General Officers") $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],if $row[3] == none "" else taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
if $heading_dict[$row][2] != "" $heading_dict[$row][2].name.local-name else ""
$heading_dict[$row][1] Zone of Delivery, Rate Schedule
$row (a)
1 $row[2] Executive Vice President, Administration and Chief Human Resources Officer $row[3] Melissa H. Anderson $row[4] NA