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
$dataHead = navigate parent-child descendants from ferc:GasStoredLineItems stop when $relationship.preferred-label == "http://ferc.gov/form/2020-01-01/roles/label/F2RollforwardHeader" role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/GasStored" returns list (target-name, preferred-label, order); $rollforwardSection = list(for $x in $dataHead $data = navigate parent-child children from $x[1] role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/GasStored" returns list(target, preferred-label, order); $dataRow1 = list(for $y in $data $conceptPeriod = $y[1].period-type if $conceptPeriod == "instant" if $y[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F2BeginningBalance" if exists([covered @concept = $y[1].name @period = $priorInstant]) first(list([covered @concept = $y[1].name @period = $priorInstant])) else none else if exists([covered @concept = $y[1].name @period = $currentInstant]) first(list([covered @concept = $y[1].name @period = $currentInstant])) else none else if exists([covered @concept = $y[1].name @period = $currentDuration]) first(list([covered @concept = $y[1].name @period = $currentDuration])) else none); $dataRow1 ); $headings = navigate parent-child descendants from ferc:GasStoredBaseGasAbstract role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/GasStored" returns list (target, preferred-label, order); $description_list = list(for $h in $headings $h[1].label($h[2].role.uri).text ); for $rowl in transpose(list($description_list) + $rollforwardSection)
taxonomy().concept(ferc:ScheduleGasStoredAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Gas Stored (Accounts 117.1, 117.2, 117.3, 117.4, 164.1, 164.2 and 164.3)
taxonomy().concept(ferc:ScheduleGasStoredAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. If during the year adjustments were made to the stored gas inventory reported in columns (d), (f), (g), and (h) (such as to correct cumulative inaccuracies of gas measurements), explain in a footnote the reason for the adjustments, the Dth and dollar amount of adjustment, and account charged or credited.
  2. Report in (e) all encroachments during the year upon the volumes designated as base gas, column (b), and system balancing gas, column (c), and gas property recordable in the plant accounts.
  3. State in a footnote the basis of segregation of inventory between current and noncurrent portions. Also, state in a footnote the method used to report storage (i.e., fixed asset method or inventory method).
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleGasStoredAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "220 - Schedule - Gas Stored") $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] Description
$row (a)
1 1 $rowl[1] $rowl[2] $rowl[3] $rowl[4] $rowl[5] $rowl[6] $rowl[7] $rowl[8] $rowl[9]