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
$data = navigate parent-child descendants from ferc:GasStorageProjectsLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/GasStorageProjectsByCapacities" returns list (target-name, preferred-label); $data-labels = list(for $row in $data $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 == "513 - Schedule - Gas Storage Projects by Capacities" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $current = if list([covered @concept = $row[1] @period = $currentDuration]).length > 0 first(list([covered @concept = $row[1] @period = $currentDuration])) else none list($concept, $concept.label($row[2].role.uri).text, //Item if ($row_num.part-by-name(ferc-part:Row)).length == 0 "" else ($row_num.part-by-name(ferc-part:Row))[1].part-value, $current )); for $rowl in $data-labels
taxonomy().concept(ferc:ScheduleGasStorageProjectsByCapacitiesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Gas Storage Projects
taxonomy().concept(ferc:ScheduleGasStorageProjectsByCapacitiesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. On line 4, enter the total storage capacity certificated by FERC.
  2. Report total amount in Dth or other unit, as applicable on lines 2, 3, 4, 7. If quantity is converted from Mcf to Dth, provide conversion factor in a footnote.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleGasStorageProjectsByCapacitiesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "513 - Schedule - Gas Storage Projects by Capacities") $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] Nature of Payment
$row (a)
$rowl[3] 1
$rowl[1].name.local-name
$rowl[2] if $rowl[1].is-abstract "sch-title" else "" STORAGE OPERATIONS
$rowl[4] if $rowl[1].is-abstract "gray-out" else "" if $rowl[1].is-numeric "numeric_items" else "date_items" if $rowl[1].is-numeric "ixt4:num-dot-decimal" else "ixt4:date-month-day-year"