taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F60Header").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/F60Header").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/F60Header").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/F60Header").text Year/Period of Report:

End of: [@ferc:ReportYear @period=$currentDuration] 2018 / [@ferc:ReportPeriod @period=$currentDuration] Q4
$dataHead = navigate parent-child descendants from ferc:AnalysisOfChargesForServiceLineItems stop when $relationship.preferred-label == "http://ferc.gov/form/2020-01-01/roles/label/F60RollforwardHeader" role "http://ferc.gov/form/2020-01-01/roles/Schedule/F60/AnalysisOfChargesForServiceAssociateAndNonAssociateCompanies" returns list (target-name, preferred-label, order); $rollforwardSection = list(for $x in $dataHead $abstractConcept = taxonomy().concept($x[1]); $is-heading = if ($x[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleAnalysisofChargesforServiceAssociateandNonAssociateCompanies") true else false; $row_num = (filter $abstractConcept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "016 - Schedule - Analysis of Charges for Service- Associate and Non-Associate Companies" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $row_number = if ($row_num.part-by-name(ferc-part:Row)).length > 0 ($row_num.part-by-name(ferc-part:Row))[1].part-value else "" /** Represents the first 3 columns (Line Number, row_num, Account Number, Description) **/ $abstractLabel = list($is-heading, $row_number, $abstractConcept.label("http://ferc.gov/form/2020-01-01/roles/label/F60Account").text, $abstractConcept.label($x[2].role.uri).text); $data = navigate parent-child children from $x[1] role "http://ferc.gov/form/2020-01-01/roles/Schedule/F60/AnalysisOfChargesForServiceAssociateAndNonAssociateCompanies" returns list(target, preferred-label, order); $dataRow1 = list(for $y in $data if exists(first(list([covered @concept = $y[1] @period = $currentDuration]))) first(list([covered @concept = $y[1] @period = $currentDuration])) else none); $abstractLabel + $dataRow1 ) for $rowl in $rollforwardSection
taxonomy().concept(ferc:ScheduleAnalysisOfChargesForServiceAssociateAndNonAssociateCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleTitle").text Charges for Outside Professional and Other Consultative Services
taxonomy().concept(ferc:ScheduleAnalysisOfChargesForServiceAssociateAndNonAssociateCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60Instructions").text
  1. Total cost of service will equal for associate and nonassociate companies the total amount billed under their separate analysis of billing schedules.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleAnalysisOfChargesForServiceAssociateAndNonAssociateCompaniesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "016 - Schedule - Analysis of Charges for Service- Associate and Non-Associate Companies") $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 $row[3] else 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 (b)
$rowl[2] $rowl[4] $rowl[5] $rowl[6] $rowl[7] $rowl[8] $rowl[9] $rowl[10] $rowl[11] $rowl[12] $rowl[13] if $rowl[13].name in list(ferc:AllowanceForOtherFundsUsedDuringConstruction,ferc:AllowanceForBorrowedFundsUsedDuringConstructionCredit) "-" else none