<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.apachecorp.com/role/AssetRetirementObligation" xlink:href="aoip-20151231.xsd#AssetRetirementObligation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/AssetRetirementObligationChangesToPartnershipsAssetRetirementObligationLiabilityDetail" xlink:href="aoip-20151231.xsd#AssetRetirementObligationChangesToPartnershipsAssetRetirementObligationLiabilityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/AssetRetirementObligationTables" xlink:href="aoip-20151231.xsd#AssetRetirementObligationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/CommitmentsAndContingencies" xlink:href="aoip-20151231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/CompensationToAffiliates" xlink:href="aoip-20151231.xsd#CompensationToAffiliates" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/CompensationToAffiliatesCompensationAndReimbursementForCostsAndExpensesDetail" xlink:href="aoip-20151231.xsd#CompensationToAffiliatesCompensationAndReimbursementForCostsAndExpensesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/CompensationToAffiliatesTables" xlink:href="aoip-20151231.xsd#CompensationToAffiliatesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/ConsolidatedBalanceSheet" xlink:href="aoip-20151231.xsd#ConsolidatedBalanceSheet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/ConsolidatedBalanceSheetParenthetical" xlink:href="aoip-20151231.xsd#ConsolidatedBalanceSheetParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/DocumentAndEntityInformation" xlink:href="aoip-20151231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/FairValueMeasurements" xlink:href="aoip-20151231.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/MajorCustomerAndRelatedPartiesInformation" xlink:href="aoip-20151231.xsd#MajorCustomerAndRelatedPartiesInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/MajorCustomerAndRelatedPartiesInformationAdditionalInformationDetail" xlink:href="aoip-20151231.xsd#MajorCustomerAndRelatedPartiesInformationAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OilAndGasProperties" xlink:href="aoip-20151231.xsd#OilAndGasProperties" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OilAndGasPropertiesAdditionalInformationDetail" xlink:href="aoip-20151231.xsd#OilAndGasPropertiesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OilAndGasPropertiesChangesInPartnershipsOilAndGasPropertiesDetail" xlink:href="aoip-20151231.xsd#OilAndGasPropertiesChangesInPartnershipsOilAndGasPropertiesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OilAndGasPropertiesDirectCostInformationDetail" xlink:href="aoip-20151231.xsd#OilAndGasPropertiesDirectCostInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OilAndGasPropertiesTables" xlink:href="aoip-20151231.xsd#OilAndGasPropertiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/Organization" xlink:href="aoip-20151231.xsd#Organization" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OrganizationAdditionalInformationDetail" xlink:href="aoip-20151231.xsd#OrganizationAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OrganizationRepurchasePricePerUnitForAllOutstandingUnitsDetail" xlink:href="aoip-20151231.xsd#OrganizationRepurchasePricePerUnitForAllOutstandingUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OrganizationTables" xlink:href="aoip-20151231.xsd#OrganizationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/OrganizationTotalRepurchasePriceForAllOutstandingUnitsDetail" xlink:href="aoip-20151231.xsd#OrganizationTotalRepurchasePriceForAllOutstandingUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/StatementOfConsolidatedCashFlows" xlink:href="aoip-20151231.xsd#StatementOfConsolidatedCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/StatementOfConsolidatedChangesInPartnersCapital" xlink:href="aoip-20151231.xsd#StatementOfConsolidatedChangesInPartnersCapital" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/StatementOfConsolidatedOperations" xlink:href="aoip-20151231.xsd#StatementOfConsolidatedOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="aoip-20151231.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" xlink:href="aoip-20151231.xsd#SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="aoip-20151231.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresDiscountedFutureNetCashFlowsRelatingToProvedReservesDetail" xlink:href="aoip-20151231.xsd#SupplementalOilAndGasDisclosuresDiscountedFutureNetCashFlowsRelatingToProvedReservesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnaudited" xlink:href="aoip-20151231.xsd#SupplementalOilAndGasDisclosuresUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedAdditionalInformationDetail" xlink:href="aoip-20151231.xsd#SupplementalOilAndGasDisclosuresUnauditedAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedDiscountedFutureNetCashFlowsDetail" xlink:href="aoip-20151231.xsd#SupplementalOilAndGasDisclosuresUnauditedDiscountedFutureNetCashFlowsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedProvedReservesAndProjectingFutureRatesOfProductionAndTimingOfDevelopmentExpendituresDetail" xlink:href="aoip-20151231.xsd#SupplementalOilAndGasDisclosuresUnauditedProvedReservesAndProjectingFutureRatesOfProductionAndTimingOfDevelopmentExpendituresDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedTables" xlink:href="aoip-20151231.xsd#SupplementalOilAndGasDisclosuresUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalQuarterlyFinancialDataUnaudited" xlink:href="aoip-20151231.xsd#SupplementalQuarterlyFinancialDataUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalQuarterlyFinancialDataUnauditedQuarterlyFinancialInformationDetail" xlink:href="aoip-20151231.xsd#SupplementalQuarterlyFinancialDataUnauditedQuarterlyFinancialInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/SupplementalQuarterlyFinancialDataUnauditedTables" xlink:href="aoip-20151231.xsd#SupplementalQuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/TaxBasisFinancialInformation" xlink:href="aoip-20151231.xsd#TaxBasisFinancialInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/TaxBasisFinancialInformationAdditionalInformationDetail" xlink:href="aoip-20151231.xsd#TaxBasisFinancialInformationAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/TaxBasisFinancialInformationReconciliationOfLiabilitiesForFederalIncomeTaxReportingPurposesDetail" xlink:href="aoip-20151231.xsd#TaxBasisFinancialInformationReconciliationOfLiabilitiesForFederalIncomeTaxReportingPurposesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/TaxBasisFinancialInformationReconciliationOfOrdinaryIncomeForFederalIncomeTaxReportingPurposesDetail" xlink:href="aoip-20151231.xsd#TaxBasisFinancialInformationReconciliationOfOrdinaryIncomeForFederalIncomeTaxReportingPurposesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.apachecorp.com/role/TaxBasisFinancialInformationTables" xlink:href="aoip-20151231.xsd#TaxBasisFinancialInformationTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/AssetRetirementObligation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/AssetRetirementObligationChangesToPartnershipsAssetRetirementObligationLiabilityDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/AssetRetirementObligationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/CompensationToAffiliates" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/CompensationToAffiliatesCompensationAndReimbursementForCostsAndExpensesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/CompensationToAffiliatesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/ConsolidatedBalanceSheet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/ConsolidatedBalanceSheetParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/MajorCustomerAndRelatedPartiesInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/MajorCustomerAndRelatedPartiesInformationAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_669E3AA417980E94B9B5483B05F86A3D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_35270C7792A24A018843483B05F80637" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_669E3AA417980E94B9B5483B05F86A3D" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_35270C7792A24A018843483B05F80637" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_BCC3F776D85C9052CBF1483B05F8E454" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_35270C7792A24A018843483B05F80637" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_BCC3F776D85C9052CBF1483B05F8E454" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E1D71C18198866A2873483B05F8D040_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_BCC3F776D85C9052CBF1483B05F8E454" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E1D71C18198866A2873483B05F8D040_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E1D71C18198866A2873483B05F8D040" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_BCC3F776D85C9052CBF1483B05F8E454" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E1D71C18198866A2873483B05F8D040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaap_SalesRevenueNetMember_A93086C939F96A4A104E483B05F8D602" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E1D71C18198866A2873483B05F8D040" xlink:to="loc_us-gaap_SalesRevenueNetMember_A93086C939F96A4A104E483B05F8D602" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_E0DE089414B2BB033B8B483B05F827AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_35270C7792A24A018843483B05F80637" xlink:to="loc_dei_LegalEntityAxis_E0DE089414B2BB033B8B483B05F827AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_6C640868221D8BFA7B38483B05F8C518_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_E0DE089414B2BB033B8B483B05F827AD" xlink:to="loc_dei_EntityDomain_6C640868221D8BFA7B38483B05F8C518_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_6C640868221D8BFA7B38483B05F8C518" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_E0DE089414B2BB033B8B483B05F827AD" xlink:to="loc_dei_EntityDomain_6C640868221D8BFA7B38483B05F8C518" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_FieldwoodEnergyLlcMember" xlink:label="loc_aoip_FieldwoodEnergyLlcMember_627232121E9865274FBD483B05F896A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_6C640868221D8BFA7B38483B05F8C518" xlink:to="loc_aoip_FieldwoodEnergyLlcMember_627232121E9865274FBD483B05F896A5" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_ChevronProductsCompanyMember" xlink:label="loc_aoip_ChevronProductsCompanyMember_75E5E618A584F1862952483D0F3D1ABB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_6C640868221D8BFA7B38483B05F8C518" xlink:to="loc_aoip_ChevronProductsCompanyMember_75E5E618A584F1862952483D0F3D1ABB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_EAC525C626369CCF5F90483B05F8C019" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_35270C7792A24A018843483B05F80637" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_EAC525C626369CCF5F90483B05F8C019" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_34AB49361ED68F67C2EC483B05F8CCC9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_EAC525C626369CCF5F90483B05F8C019" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_34AB49361ED68F67C2EC483B05F8CCC9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_34AB49361ED68F67C2EC483B05F8CCC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_EAC525C626369CCF5F90483B05F8C019" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_34AB49361ED68F67C2EC483B05F8CCC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_87E08160B9B03D728CCA483B05F85D45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_34AB49361ED68F67C2EC483B05F8CCC9" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_87E08160B9B03D728CCA483B05F85D45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_0449596C99691B60B16E483B05F8531D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_669E3AA417980E94B9B5483B05F86A3D" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_0449596C99691B60B16E483B05F8531D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OilAndGasProperties" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OilAndGasPropertiesAdditionalInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OilAndGasPropertiesChangesInPartnershipsOilAndGasPropertiesDetail" xlink:type="extended">
    <link:loc xlink:href="aoip-20151231.xsd#aoip_OilAndGasPropertiesLineItems" xlink:label="loc_aoip_OilAndGasPropertiesLineItems_1752803D3BCB94FB2ED7771725FF56A0" xlink:type="locator" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_OilAndGasPropertiesTable" xlink:label="loc_aoip_OilAndGasPropertiesTable_22EEA940541564F24C08771725FE1ABC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_aoip_OilAndGasPropertiesLineItems_1752803D3BCB94FB2ED7771725FF56A0" xlink:to="loc_aoip_OilAndGasPropertiesTable_22EEA940541564F24C08771725FE1ABC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountAxis" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_A48EAE6ED6553649D259771725FE32A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aoip_OilAndGasPropertiesTable_22EEA940541564F24C08771725FE1ABC" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_A48EAE6ED6553649D259771725FE32A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_89278B7B6E36D7A756D5771725FE49EA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_A48EAE6ED6553649D259771725FE32A7" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_89278B7B6E36D7A756D5771725FE49EA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_89278B7B6E36D7A756D5771725FE49EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_A48EAE6ED6553649D259771725FE32A7" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_89278B7B6E36D7A756D5771725FE49EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralPartnerMember" xlink:label="loc_us-gaap_GeneralPartnerMember_F10D9FF428E154E415D7771725FF9A9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_89278B7B6E36D7A756D5771725FE49EA" xlink:to="loc_us-gaap_GeneralPartnerMember_F10D9FF428E154E415D7771725FF9A9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LimitedPartnerMember" xlink:label="loc_us-gaap_LimitedPartnerMember_566AC5181EC792CF84C9771725FFFA18" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_89278B7B6E36D7A756D5771725FE49EA" xlink:to="loc_us-gaap_LimitedPartnerMember_566AC5181EC792CF84C9771725FFFA18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalizedCostsAccumulatedDepreciationDepletionAmortizationAndValuationAllowanceForRelatingToOilAndGasProducingActivities" xlink:label="loc_us-gaap_CapitalizedCostsAccumulatedDepreciationDepletionAmortizationAndValuationAllowanceForRelatingToOilAndGasProducingActivities_5637639EE098DF4C29D6771725FF91EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_OilAndGasPropertiesLineItems_1752803D3BCB94FB2ED7771725FF56A0" xlink:to="loc_us-gaap_CapitalizedCostsAccumulatedDepreciationDepletionAmortizationAndValuationAllowanceForRelatingToOilAndGasProducingActivities_5637639EE098DF4C29D6771725FF91EB" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_ProvisionForAccumulatedDepreciationDepletionAmortizationAndValuationAllowanceForRelatingToOilAndGasProducingActivities" xlink:label="loc_aoip_ProvisionForAccumulatedDepreciationDepletionAmortizationAndValuationAllowanceForRelatingToOilAndGasProducingActivities_D32652CF9B5688D52431771725FF13D4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_OilAndGasPropertiesLineItems_1752803D3BCB94FB2ED7771725FF56A0" xlink:to="loc_aoip_ProvisionForAccumulatedDepreciationDepletionAmortizationAndValuationAllowanceForRelatingToOilAndGasProducingActivities_D32652CF9B5688D52431771725FF13D4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OilAndGasPropertiesDirectCostInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OilAndGasPropertiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/Organization" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OrganizationAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="aoip-20151231.xsd#aoip_ScheduleOfOrganizationLineItems" xlink:label="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:type="locator" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_ScheduleOfOrganizationTable" xlink:label="loc_aoip_ScheduleOfOrganizationTable_7508676186B61145FF8A771724EF92FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_ScheduleOfOrganizationTable_7508676186B61145FF8A771724EF92FC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_2B51A4780AE9544037E9771724F47F7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aoip_ScheduleOfOrganizationTable_7508676186B61145FF8A771724EF92FC" xlink:to="loc_us-gaap_RangeAxis_2B51A4780AE9544037E9771724F47F7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CBAB6B80E9B47464FBE1771724F466D7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_2B51A4780AE9544037E9771724F47F7D" xlink:to="loc_us-gaap_RangeMember_CBAB6B80E9B47464FBE1771724F466D7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CBAB6B80E9B47464FBE1771724F466D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_2B51A4780AE9544037E9771724F47F7D" xlink:to="loc_us-gaap_RangeMember_CBAB6B80E9B47464FBE1771724F466D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_CCEB3BD8757C698D21AD771724F4729B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_CBAB6B80E9B47464FBE1771724F466D7" xlink:to="loc_us-gaap_MinimumMember_CCEB3BD8757C698D21AD771724F4729B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_2C50112850283F0E2CEF771724F4E52B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_CBAB6B80E9B47464FBE1771724F466D7" xlink:to="loc_us-gaap_MaximumMember_2C50112850283F0E2CEF771724F4E52B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountAxis" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_38C414FD7C1BBE7321AE771724F4918F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aoip_ScheduleOfOrganizationTable_7508676186B61145FF8A771724EF92FC" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_38C414FD7C1BBE7321AE771724F4918F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_632E01AEF642BD7871BC771724F4DFDA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_38C414FD7C1BBE7321AE771724F4918F" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_632E01AEF642BD7871BC771724F4DFDA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_632E01AEF642BD7871BC771724F4DFDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_38C414FD7C1BBE7321AE771724F4918F" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_632E01AEF642BD7871BC771724F4DFDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LimitedPartnerMember" xlink:label="loc_us-gaap_LimitedPartnerMember_E7ABF0C27AF781DE41E7771724F4DF21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_632E01AEF642BD7871BC771724F4DFDA" xlink:to="loc_us-gaap_LimitedPartnerMember_E7ABF0C27AF781DE41E7771724F4DF21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralPartnerMember" xlink:label="loc_us-gaap_GeneralPartnerMember_16BF601F2CF71E104061771724F4EB37" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_632E01AEF642BD7871BC771724F4DFDA" xlink:to="loc_us-gaap_GeneralPartnerMember_16BF601F2CF71E104061771724F4EB37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest_C6FB0AB2DD3070094DD7771724F4912E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest_C6FB0AB2DD3070094DD7771724F4912E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding" xlink:label="loc_us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding_CB8F3017990AF6735B4D771724F540EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding_CB8F3017990AF6735B4D771724F540EA" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfOwnershipInterestsAcquired" xlink:label="loc_aoip_PercentageOfOwnershipInterestsAcquired_271EE06DD55EB6F53E9F771724F5C4B5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfOwnershipInterestsAcquired_271EE06DD55EB6F53E9F771724F5C4B5" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_NumberOfFederalLeaseTracts" xlink:label="loc_aoip_NumberOfFederalLeaseTracts_1ADF38D70EFC0D3164C4771724F5C27A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_NumberOfFederalLeaseTracts_1ADF38D70EFC0D3164C4771724F5C27A" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfRemainingOwnershipInterestAcquired" xlink:label="loc_aoip_PercentageOfRemainingOwnershipInterestAcquired_D89C0CCCADE4E97A4D0D771724F5BBEC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfRemainingOwnershipInterestAcquired_D89C0CCCADE4E97A4D0D771724F5BBEC" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_JointVentureInterestAcquired" xlink:label="loc_aoip_JointVentureInterestAcquired_9F19BC0FA1146FC902D6771724F52BFE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_JointVentureInterestAcquired_9F19BC0FA1146FC902D6771724F52BFE" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_NumberOfRemainingVentureProspects" xlink:label="loc_aoip_NumberOfRemainingVentureProspects_8FD95CF840B0D7CA32E0771724F5A2DB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_NumberOfRemainingVentureProspects_8FD95CF840B0D7CA32E0771724F5A2DB" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfPartnershipInterestInRemainingVentureProspects" xlink:label="loc_aoip_PercentageOfPartnershipInterestInRemainingVentureProspects_E236CAB6FFD7B532EE8A771724F5CE86" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfPartnershipInterestInRemainingVentureProspects_E236CAB6FFD7B532EE8A771724F5CE86" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfRevenuesReceivesByPartnersUnderAgreement" xlink:label="loc_aoip_PercentageOfRevenuesReceivesByPartnersUnderAgreement_B713DD8BEEABF28F4CF6771724F587DD" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfRevenuesReceivesByPartnersUnderAgreement_B713DD8BEEABF28F4CF6771724F587DD" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfInterestIncomeOnInvestmentReceivesByPartnersUnderAgreement" xlink:label="loc_aoip_PercentageOfInterestIncomeOnInvestmentReceivesByPartnersUnderAgreement_B6AD58063B663B728444771724F57281" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfInterestIncomeOnInvestmentReceivesByPartnersUnderAgreement_B6AD58063B663B728444771724F57281" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfExplorationAndDevelopmentCostsIncurredPaysByPartners" xlink:label="loc_aoip_PercentageOfExplorationAndDevelopmentCostsIncurredPaysByPartners_BBFF82AF43B5C33BFDA2771724F58199" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfExplorationAndDevelopmentCostsIncurredPaysByPartners_BBFF82AF43B5C33BFDA2771724F58199" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfExpensesRelatedToLoansIncurredPaysByPartners" xlink:label="loc_aoip_PercentageOfExpensesRelatedToLoansIncurredPaysByPartners_4DFFCC27170B1CAEA8EF771724F5F1B0" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfExpensesRelatedToLoansIncurredPaysByPartners_4DFFCC27170B1CAEA8EF771724F5F1B0" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfAggregateCostsAllocatedPriorToFormationOfPartnership" xlink:label="loc_aoip_PercentageOfAggregateCostsAllocatedPriorToFormationOfPartnership_D953436B91A23DD91BF1771724F56713" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfAggregateCostsAllocatedPriorToFormationOfPartnership_D953436B91A23DD91BF1771724F56713" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PercentageOfUnitPurchasedUnderRightOfPresentment" xlink:label="loc_aoip_PercentageOfUnitPurchasedUnderRightOfPresentment_196B65FB225FB129163E771724F506DC" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PercentageOfUnitPurchasedUnderRightOfPresentment_196B65FB225FB129163E771724F506DC" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_EstimatesOfProvedReservesPercentage" xlink:label="loc_aoip_EstimatesOfProvedReservesPercentage_AEBC5AA590AC15615C6D771724F524C8" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_EstimatesOfProvedReservesPercentage_AEBC5AA590AC15615C6D771724F524C8" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_DiscountRatePercentage" xlink:label="loc_aoip_DiscountRatePercentage_F8FCA9A918D7359AB483771724F6A3AA" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_DiscountRatePercentage_F8FCA9A918D7359AB483771724F6A3AA" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PartnersCapitalAccountContributionsPerUnit" xlink:label="loc_aoip_PartnersCapitalAccountContributionsPerUnit_C70A9969D5442B1C0915771724F69173" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PartnersCapitalAccountContributionsPerUnit_C70A9969D5442B1C0915771724F69173" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PartnersCapitalAccountInitialContributionsPercentage" xlink:label="loc_aoip_PartnersCapitalAccountInitialContributionsPercentage_96047477F9BC1A83FC51771724F628B6" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PartnersCapitalAccountInitialContributionsPercentage_96047477F9BC1A83FC51771724F628B6" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_PartnershipUnitPurchasePricePerUnit" xlink:label="loc_aoip_PartnershipUnitPurchasePricePerUnit_191817B35C869767ACFF771724F612BC" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_PartnershipUnitPurchasePricePerUnit_191817B35C869767ACFF771724F612BC" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_LimitedPartnersCapitalAccountOriginalOfferedUnits" xlink:label="loc_aoip_LimitedPartnersCapitalAccountOriginalOfferedUnits_A321D3E6BB8F4F6B1471771724F64426" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aoip_ScheduleOfOrganizationLineItems_B80EED6E73E750719B97771724F42759" xlink:to="loc_aoip_LimitedPartnersCapitalAccountOriginalOfferedUnits_A321D3E6BB8F4F6B1471771724F64426" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OrganizationRepurchasePricePerUnitForAllOutstandingUnitsDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OrganizationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/OrganizationTotalRepurchasePriceForAllOutstandingUnitsDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/StatementOfConsolidatedCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/StatementOfConsolidatedChangesInPartnersCapital" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_24CFA3651F0E2F42F838F2EFF7D75A94" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_F0C45C3F5E2A714CC042F2EFF7D6FF59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_24CFA3651F0E2F42F838F2EFF7D75A94" xlink:to="loc_us-gaap_StatementTable_F0C45C3F5E2A714CC042F2EFF7D6FF59" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountAxis" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_5B63A61DA952644B8F48F2EFF7D6097B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_F0C45C3F5E2A714CC042F2EFF7D6FF59" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_5B63A61DA952644B8F48F2EFF7D6097B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_88819E5C8C404E4937F0F2EFF7D6A057_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_5B63A61DA952644B8F48F2EFF7D6097B" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_88819E5C8C404E4937F0F2EFF7D6A057_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain" xlink:label="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_88819E5C8C404E4937F0F2EFF7D6A057" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_5B63A61DA952644B8F48F2EFF7D6097B" xlink:to="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_88819E5C8C404E4937F0F2EFF7D6A057" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralPartnerMember" xlink:label="loc_us-gaap_GeneralPartnerMember_CA18C8D28359CC6A7108F2EFF7D7698D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_88819E5C8C404E4937F0F2EFF7D6A057" xlink:to="loc_us-gaap_GeneralPartnerMember_CA18C8D28359CC6A7108F2EFF7D7698D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LimitedPartnerMember" xlink:label="loc_us-gaap_LimitedPartnerMember_2E4EE8FCCE2DFFC61EE5F2EFF7D768BF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain_88819E5C8C404E4937F0F2EFF7D6A057" xlink:to="loc_us-gaap_LimitedPartnerMember_2E4EE8FCCE2DFFC61EE5F2EFF7D768BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnersCapital" xlink:label="loc_us-gaap_PartnersCapital_8697E576A57A2B2D8B47F2EFF7D7DC98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_24CFA3651F0E2F42F838F2EFF7D75A94" xlink:to="loc_us-gaap_PartnersCapital_8697E576A57A2B2D8B47F2EFF7D7DC98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralPartnersCapitalAccountDistributionAmount" xlink:label="loc_us-gaap_GeneralPartnersCapitalAccountDistributionAmount_372F28CF5AA127DB3442F2EFF7D7250F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_24CFA3651F0E2F42F838F2EFF7D75A94" xlink:to="loc_us-gaap_GeneralPartnersCapitalAccountDistributionAmount_372F28CF5AA127DB3442F2EFF7D7250F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnersCapitalAccountContributions" xlink:label="loc_us-gaap_PartnersCapitalAccountContributions_FB127AAA6B1218B1B02FF305155D1A1D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_24CFA3651F0E2F42F838F2EFF7D75A94" xlink:to="loc_us-gaap_PartnersCapitalAccountContributions_FB127AAA6B1218B1B02FF305155D1A1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_9AB1389E6095049FBB3BF2EFF7D79EC4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_24CFA3651F0E2F42F838F2EFF7D75A94" xlink:to="loc_us-gaap_NetIncomeLoss_9AB1389E6095049FBB3BF2EFF7D79EC4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/StatementOfConsolidatedOperations" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_1DB66F8577BF76551681F2EFF81CE3CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_StatementTable_1DB66F8577BF76551681F2EFF81CE3CD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918A937B825CE4701106F2EFF822A725" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_1DB66F8577BF76551681F2EFF81CE3CD" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918A937B825CE4701106F2EFF822A725" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D312E7B2689DFE3DEDD9F2F14BCD3524_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918A937B825CE4701106F2EFF822A725" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D312E7B2689DFE3DEDD9F2F14BCD3524_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D312E7B2689DFE3DEDD9F2F14BCD3524" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918A937B825CE4701106F2EFF822A725" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D312E7B2689DFE3DEDD9F2F14BCD3524" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_OilAndGasPropertyAndEquipmentRecurringMember" xlink:label="loc_aoip_OilAndGasPropertyAndEquipmentRecurringMember_0A29E4950A73DEF58C23F2EFF822053B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D312E7B2689DFE3DEDD9F2F14BCD3524" xlink:to="loc_aoip_OilAndGasPropertyAndEquipmentRecurringMember_0A29E4950A73DEF58C23F2EFF822053B" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_OilAndGasPropertyAndEquipmentAdditionalMember" xlink:label="loc_aoip_OilAndGasPropertyAndEquipmentAdditionalMember_74BF00DAE9F9D6CCDF97F2EFF81C0B0F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D312E7B2689DFE3DEDD9F2F14BCD3524" xlink:to="loc_aoip_OilAndGasPropertyAndEquipmentAdditionalMember_74BF00DAE9F9D6CCDF97F2EFF81C0B0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_98B811A49C3D7F3DF7FBF2EFF82278C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_RevenuesAbstract_98B811A49C3D7F3DF7FBF2EFF82278C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OilAndGasSalesRevenue" xlink:label="loc_us-gaap_OilAndGasSalesRevenue_115A79A91607A47BDC77F2EFF822F176" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_98B811A49C3D7F3DF7FBF2EFF82278C3" xlink:to="loc_us-gaap_OilAndGasSalesRevenue_115A79A91607A47BDC77F2EFF822F176" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_OtherIncomeLoss" xlink:label="loc_aoip_OtherIncomeLoss_D15DC52488B656B2B1B6F2EFF8228E23" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_98B811A49C3D7F3DF7FBF2EFF82278C3" xlink:to="loc_aoip_OtherIncomeLoss_D15DC52488B656B2B1B6F2EFF8228E23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_A3D688254FC5D8ADC52FF2EFF82229F6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_98B811A49C3D7F3DF7FBF2EFF82278C3" xlink:to="loc_us-gaap_InvestmentIncomeInterest_A3D688254FC5D8ADC52FF2EFF82229F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_FF65211D890541214761F2EFF8224F20" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_98B811A49C3D7F3DF7FBF2EFF82278C3" xlink:to="loc_us-gaap_Revenues_FF65211D890541214761F2EFF8224F20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostsAndExpensesAbstract" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_93D8B6E7406613C0CFAFF2EFF8232C1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_93D8B6E7406613C0CFAFF2EFF8232C1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetRetirementObligationAccretionExpense" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_49F3A90C698753E294B3F2EFF8230823" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_49F3A90C698753E294B3F2EFF8230823" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseOperatingExpense" xlink:label="loc_us-gaap_LeaseOperatingExpense_FE3D5FC6927E32C0321BF2EFF823E0FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:to="loc_us-gaap_LeaseOperatingExpense_FE3D5FC6927E32C0321BF2EFF823E0FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GasGatheringTransportationMarketingAndProcessingCosts" xlink:label="loc_us-gaap_GasGatheringTransportationMarketingAndProcessingCosts_56A503CE311E11A9CD0BF2EFF82368BA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:to="loc_us-gaap_GasGatheringTransportationMarketingAndProcessingCosts_56A503CE311E11A9CD0BF2EFF82368BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_5E8A2E3E326BD7C30980F2EFF82392A6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_5E8A2E3E326BD7C30980F2EFF82392A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaap_CostsAndExpenses_2D572BE5CE574B907492F2EFF82321C4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_807558FC1F33E3836066F2EFF8231882" xlink:to="loc_us-gaap_CostsAndExpenses_2D572BE5CE574B907492F2EFF82321C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_6373A239EC0F5665B782F2EFF823E342" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_NetIncomeLoss_6373A239EC0F5665B782F2EFF823E342" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PartnershipIncomeAbstract" xlink:label="loc_us-gaap_PartnershipIncomeAbstract_6874B5BFCD6B78F1B253F2EFF8238539" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_PartnershipIncomeAbstract_6874B5BFCD6B78F1B253F2EFF8238539" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAllocatedToGeneralPartners" xlink:label="loc_us-gaap_NetIncomeLossAllocatedToGeneralPartners_2D15E894B980039FB082F2EFF8238BE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnershipIncomeAbstract_6874B5BFCD6B78F1B253F2EFF8238539" xlink:to="loc_us-gaap_NetIncomeLossAllocatedToGeneralPartners_2D15E894B980039FB082F2EFF8238BE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAllocatedToLimitedPartners" xlink:label="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_D2A524D17F2BCF955099F2EFF823FC56" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnershipIncomeAbstract_6874B5BFCD6B78F1B253F2EFF8238539" xlink:to="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_D2A524D17F2BCF955099F2EFF823FC56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax" xlink:label="loc_us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax_61DA427E7267033FA9E6F2EFF823B602" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax_61DA427E7267033FA9E6F2EFF823B602" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding" xlink:label="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding_267F7F2A6FEF91C0BACCF2EFF824C9E1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_632C883787D2CFC895DCF2EFF81CA89E" xlink:to="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding_267F7F2A6FEF91C0BACCF2EFF824C9E1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresDiscountedFutureNetCashFlowsRelatingToProvedReservesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedAdditionalInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedDiscountedFutureNetCashFlowsDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedProvedReservesAndProjectingFutureRatesOfProductionAndTimingOfDevelopmentExpendituresDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReserveQuantitiesLineItems" xlink:label="loc_us-gaap_ReserveQuantitiesLineItems_D91768B50534CDC432E8483B05DA5F86" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvedDevelopedAndUndevelopedOilAndGasReserveQuantitiesTable" xlink:label="loc_us-gaap_ProvedDevelopedAndUndevelopedOilAndGasReserveQuantitiesTable_6C420DDF676A844ECA66483B05D9DB45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReserveQuantitiesLineItems_D91768B50534CDC432E8483B05DA5F86" xlink:to="loc_us-gaap_ProvedDevelopedAndUndevelopedOilAndGasReserveQuantitiesTable_6C420DDF676A844ECA66483B05D9DB45" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReserveQuantitiesByTypeOfReserveAxis" xlink:label="loc_us-gaap_ReserveQuantitiesByTypeOfReserveAxis_B87CF99F074499BED488483B05D9FCCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ProvedDevelopedAndUndevelopedOilAndGasReserveQuantitiesTable_6C420DDF676A844ECA66483B05D9DB45" xlink:to="loc_us-gaap_ReserveQuantitiesByTypeOfReserveAxis_B87CF99F074499BED488483B05D9FCCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfReserveDomain" xlink:label="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReserveQuantitiesByTypeOfReserveAxis_B87CF99F074499BED488483B05D9FCCD" xlink:to="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfReserveDomain" xlink:label="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReserveQuantitiesByTypeOfReserveAxis_B87CF99F074499BED488483B05D9FCCD" xlink:to="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OilReservesMember" xlink:label="loc_us-gaap_OilReservesMember_4BB042608F4519068BEC483B05D949C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB" xlink:to="loc_us-gaap_OilReservesMember_4BB042608F4519068BEC483B05D949C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NaturalGasLiquidsReservesMember" xlink:label="loc_us-gaap_NaturalGasLiquidsReservesMember_4317207FE319FFBEF3A048448001C0CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB" xlink:to="loc_us-gaap_NaturalGasLiquidsReservesMember_4317207FE319FFBEF3A048448001C0CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NaturalGasReservesMember" xlink:label="loc_us-gaap_NaturalGasReservesMember_BE5CCB4AB84AFBDD5476483B05DAC4ED" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfReserveDomain_151F991E277F178299AC483B05D90FFB" xlink:to="loc_us-gaap_NaturalGasReservesMember_BE5CCB4AB84AFBDD5476483B05DAC4ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OilAndGasDeliveryCommitmentsAndContractsAxis" xlink:label="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsAxis_1CCA4A125519740F5118483B05DA5351" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ProvedDevelopedAndUndevelopedOilAndGasReserveQuantitiesTable_6C420DDF676A844ECA66483B05D9DB45" xlink:to="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsAxis_1CCA4A125519740F5118483B05DA5351" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain" xlink:label="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain_477C2A019ADB004F8520483B05DA84AC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsAxis_1CCA4A125519740F5118483B05DA5351" xlink:to="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain_477C2A019ADB004F8520483B05DA84AC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain" xlink:label="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain_477C2A019ADB004F8520483B05DA84AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsAxis_1CCA4A125519740F5118483B05DA5351" xlink:to="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain_477C2A019ADB004F8520483B05DA84AC" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_ProvedReservesMember" xlink:label="loc_aoip_ProvedReservesMember_8B47AD8F272727D2D90F483B05DAA801" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain_477C2A019ADB004F8520483B05DA84AC" xlink:to="loc_aoip_ProvedReservesMember_8B47AD8F272727D2D90F483B05DAA801" xlink:type="arc" />
    <link:loc xlink:href="aoip-20151231.xsd#aoip_ProvedDevelopedReservesMember" xlink:label="loc_aoip_ProvedDevelopedReservesMember_3725D02E2B39A6ED0D45483B05DAA777" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OilAndGasDeliveryCommitmentsAndContractsOilProducingPropertyDomain_477C2A019ADB004F8520483B05DA84AC" xlink:to="loc_aoip_ProvedDevelopedReservesMember_3725D02E2B39A6ED0D45483B05DAA777" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvedDevelopedAndUndevelopedReservesNet" xlink:label="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesNet_14BAAB479EF59041D6A3483B05DA5B5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReserveQuantitiesLineItems_D91768B50534CDC432E8483B05DA5F86" xlink:to="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesNet_14BAAB479EF59041D6A3483B05DA5B5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvedDevelopedAndUndevelopedReservesExtensionsDiscoveriesAndAdditions" xlink:label="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesExtensionsDiscoveriesAndAdditions_52ADC9C3BD80E0CB566D483B05DAFB9C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReserveQuantitiesLineItems_D91768B50534CDC432E8483B05DA5F86" xlink:to="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesExtensionsDiscoveriesAndAdditions_52ADC9C3BD80E0CB566D483B05DAFB9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvedDevelopedAndUndevelopedReservesRevisionsOfPreviousEstimatesIncreaseDecrease" xlink:label="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesRevisionsOfPreviousEstimatesIncreaseDecrease_515E1DABC2C004C97012483B05DAD048" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReserveQuantitiesLineItems_D91768B50534CDC432E8483B05DA5F86" xlink:to="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesRevisionsOfPreviousEstimatesIncreaseDecrease_515E1DABC2C004C97012483B05DAD048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvedDevelopedAndUndevelopedReservesProduction" xlink:label="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesProduction_0DDF33CB88F7FF55A453483B05DA9337" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReserveQuantitiesLineItems_D91768B50534CDC432E8483B05DA5F86" xlink:to="loc_us-gaap_ProvedDevelopedAndUndevelopedReservesProduction_0DDF33CB88F7FF55A453483B05DA9337" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalOilAndGasDisclosuresUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalQuarterlyFinancialDataUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalQuarterlyFinancialDataUnauditedQuarterlyFinancialInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/SupplementalQuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/TaxBasisFinancialInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/TaxBasisFinancialInformationAdditionalInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/TaxBasisFinancialInformationReconciliationOfLiabilitiesForFederalIncomeTaxReportingPurposesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/TaxBasisFinancialInformationReconciliationOfOrdinaryIncomeForFederalIncomeTaxReportingPurposesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.apachecorp.com/role/TaxBasisFinancialInformationTables" xlink:type="extended" />
</link:linkbase>
