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

End of: [@ferc:ReportYear @period=$currentDuration] 2018 / [@ferc:ReportPeriod @period=$currentDuration] Q4
// adding a comment $members = navigate parent-child descendants from ferc:FunctionalClassificationDomain role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2Q/DepreciationDepletionandAmortizationofGasPlant" returns list (target-name, preferred-label, order); $output = list(for $row in $members $concept=taxonomy().concept($row[1]); $row_num = (filter $concept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "F2Q - 339 - Schedule - Depreciation, Depletion and Amortization of Gas Plant" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $rowID = if ($row_num.part-by-name(ferc-part:Row)).length > 0 ($row_num.part-by-name(ferc-part:Row))[1].part-value else ""; $abstractLabel = list($rowID.number, $concept.label($row[2].role.uri).text); $data = navigate parent-child descendants from ferc:DepreciationDepletionAndAmortizationChargesLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2Q/DepreciationDepletionandAmortizationofGasPlant" returns list (target, preferred-label, order); $dataRow2 = list(none, none, none, none, none); $dataRow1 = list(for $y in $data if exists([covered @concept = $y[1] @ferc:UtilityTypeAxis=ferc:GasUtilityMember @ferc:FunctionalClassificationAxis = $row[1] @period = $currentDuration]) first(list([covered @concept = $y[1] @ferc:UtilityTypeAxis=ferc:GasUtilityMember @ferc:FunctionalClassificationAxis = $row[1] @period = $currentDuration])) else none ); $abstractLabel + $dataRow1 ); for $rowl in $output.sort
taxonomy().concept(ferc:ScheduleDepreciationDepletionAndAmortization2QAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2QScheduleTitle").text Depreciation, Depletion And Amortization Of Gas Plant
taxonomy().concept(ferc:ScheduleDepreciationDepletionAndAmortization2QAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report the year to date amounts of depreciation expense, asset retirement cost depreciation, depletion and amortization, except amortization of acquisition adjustments for the accounts indicated and classified according to the plant functional groups described.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleDepreciationDepletionAndAmortization2QAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "F2Q - 339 - Schedule - Depreciation, Depletion and Amortization of Gas Plant") $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] Functional Classification
$row (a)
$rowl[1] 1 $rowl[2] Intangile Plant $rowl[3] $300,000 $rowl[4] $300,000 $rowl[5] $300,000 $rowl[6] $300,000 $rowl[7] $300,000
13 taxonomy().concept(ferc:FunctionalClassificationDomain).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
max(list([covered @concept=ferc:DepreciationExpenseExcludingAmortizationOfAcquisitionAdjustments @ferc:UtilityTypeAxis=ferc:GasUtilityMember @period = $currentDuration])) $4,080,200 max(list([covered @concept=ferc:DepreciationExpenseForAssetRetirementCostsExcludingAmortizationgOfAcquisitionAdjustments @ferc:UtilityTypeAxis=ferc:GasUtilityMember @period = $currentDuration])) $4,080,200 max(list([covered @concept=ferc:AmortizationAndDepletionOfOtherGasPlant @ferc:UtilityTypeAxis=ferc:GasUtilityMember @period = $currentDuration])) $4,080,200 max(list([covered @concept=ferc:AmortizationOfOtherGasPlant @ferc:UtilityTypeAxis=ferc:GasUtilityMember @period = $currentDuration])) $4,080,200 max(list([covered @concept=ferc:DepreciationDepletionAndAmortizationCharges @ferc:UtilityTypeAxis=ferc:GasUtilityMember @period = $currentDuration])) $4,080,200