@prefix chem: <https://ontology.siletto.it/chem-pipeline#> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .

# =============================================================
# Pipelines popolate per filiere metallurgiche:
#   1. Steel BF+BOF (altoforno + convertitore basic oxygen)
#   2. Steel DRI-H2 + EAF (acciaio "verde")
#   3. Pirometallurgia del rame (concentrato -> matte -> blister -> catodi)
#   4. Imperial Smelting Process (Pb + Zn combinati)
#   5. Nickel da solfuri (roasting -> matte -> refining)
#   6. Idrometallurgia dello zinco (roasting -> leaching -> electrowinning)
#   7. Silicio metallurgico (quarzo + carbonio in forno ad arco sommerso)
#
# Le UnitOperation/Substance/Equipment principali sono gia' dichiarate
# in chem-vocabulary.ttl. Qui si aggiungono le relazioni del grafo di
# processo e qualche intermedio/condizione/input energetico mancante.
# =============================================================


# =============================================================
# 1. STEEL BF + BOF  (altoforno + convertitore basic oxygen)
# =============================================================

chem:steelBFBOFPipeline
    chem:contains chem:coalPreparationAndBlending,
                  chem:ironOrePelletizing,
                  chem:sintering,
                  chem:blastFurnace,
                  chem:bofConverter,
                  chem:continuousCasting .

chem:coalPreparationAndBlending
    chem:belongsTo chem:steelBFBOFPipeline ;
    chem:consumes chem:coal ;
    chem:produces chem:coke ;
    chem:producesByproduct chem:cokeOvenGas, chem:coalTar ;
    chem:feedsInto chem:blastFurnace ;
    chem:requiresEquipment chem:cokingBattery ;
    chem:operatesAt chem:cokingConditions ;
    chem:requiresEnergy chem:cokingThermalInput ;
    chem:typicalYield 0.75 ;
    chem:co2Equivalent 0.45 ;
    rdfs:comment "Distillazione del carbone in batterie di forni a coke; il gas e i sottoprodotti sono recuperati."@it .

chem:ironOrePelletizing
    chem:belongsTo chem:steelBFBOFPipeline ;
    chem:consumes chem:hematite, chem:magnetite, chem:limestone ;
    chem:produces chem:ironOrePellet ;
    chem:feedsInto chem:blastFurnace ;
    chem:operatesAt chem:pelletizingConditions ;
    chem:requiresEnergy chem:pelletizingThermalInput ;
    chem:typicalYield 0.95 ;
    chem:co2Equivalent 0.18 .

chem:sintering
    chem:belongsTo chem:steelBFBOFPipeline ;
    chem:consumes chem:hematite, chem:limestone, chem:coke ;
    chem:produces chem:sinter ;
    chem:feedsInto chem:blastFurnace ;
    chem:requiresEquipment chem:dwightLloydSinterStrand ;
    chem:operatesAt chem:sinteringConditions ;
    chem:typicalYield 0.90 ;
    chem:co2Equivalent 0.22 .

chem:blastFurnace
    chem:belongsTo chem:steelBFBOFPipeline ;
    chem:consumes chem:ironOrePellet, chem:sinter, chem:coke, chem:limestone, chem:hotBlastAir ;
    chem:produces chem:pigIron ;
    chem:producesByproduct chem:blastFurnaceSlag, chem:blastFurnaceGas ;
    chem:feedsInto chem:bofConverter ;
    chem:requiresEquipment chem:blastFurnaceApparatus, chem:cowperStove ;
    chem:operatesAt chem:blastFurnaceConditions ;
    chem:requiresEnergy chem:blastFurnaceChemicalInput ;
    chem:typicalYield 0.93 ;
    chem:co2Equivalent 1.45 ;
    rdfs:comment "Riduzione carbo-termica del minerale: il coke fornisce sia il calore sia il CO riducente."@it .

chem:bofConverter
    chem:belongsTo chem:steelBFBOFPipeline ;
    chem:consumes chem:pigIron, chem:scrap, chem:oxygen, chem:lime ;
    chem:produces chem:steel ;
    chem:producesByproduct chem:bofSlag ;
    chem:feedsInto chem:continuousCasting ;
    chem:requiresEquipment chem:convertitoreBOFApparato ;
    chem:operatesAt chem:bofConditions ;
    chem:requiresEnergy chem:bofExothermicInput ;
    chem:typicalYield 0.90 ;
    chem:co2Equivalent 0.25 ;
    rdfs:comment "Decarburazione esotermica: l'ossigeno ossida C, Si, Mn, P della ghisa."@it .

chem:continuousCasting
    chem:belongsTo chem:steelBFBOFPipeline ;
    chem:consumes chem:steel ;
    chem:produces chem:slab, chem:bloom ;
    chem:requiresEquipment chem:continuousCaster ;
    chem:operatesAt chem:continuousCastingConditions ;
    chem:typicalYield 0.97 ;
    chem:co2Equivalent 0.05 .

# --- Conditions / Energy / Intermediates per filiera 1 ---

chem:cokingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "coking conditions"@en, "condizioni cokefazione"@it ;
    chem:temperatureMin 1273.15 ; chem:temperatureMax 1373.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 105000 ;
    chem:atmosphere "inerte" .

chem:cokingThermalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "coking thermal input"@en, "input termico cokefazione"@it ;
    chem:energyForm "termica" ;
    chem:specificEnergy 3.5 .

chem:pelletizingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "pelletizing conditions"@en, "condizioni pellettizzazione"@it ;
    chem:temperatureMin 1473.15 ; chem:temperatureMax 1623.15 ;
    chem:atmosphere "ossidante" .

chem:pelletizingThermalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "pelletizing thermal input"@en, "input termico pellettizzazione"@it ;
    chem:energyForm "termica" ;
    chem:specificEnergy 1.1 .

chem:sinteringConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "iron ore sintering conditions"@en, "condizioni sinterizzazione minerale ferro"@it ;
    chem:temperatureMin 1573.15 ; chem:temperatureMax 1673.15 ;
    chem:atmosphere "ossidante" .

chem:blastFurnaceConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "blast furnace conditions"@en, "condizioni altoforno"@it ;
    chem:temperatureMin 1773.15 ; chem:temperatureMax 2273.15 ;
    chem:pressureMin 300000 ; chem:pressureMax 500000 ;
    chem:atmosphere "riducente" ;
    rdfs:comment "Aria preriscaldata (1200 °C) iniettata alle tuyeres; CO e principale riducente."@it .

chem:blastFurnaceChemicalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "blast furnace chemical energy"@en, "energia chimica altoforno"@it ;
    rdfs:comment "Energia chimica del coke (combustione + reazione di Boudouard)."@it ;
    chem:energyForm "chimica" ;
    chem:specificEnergy 13.5 .

chem:bofConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "BOF converter conditions"@en, "condizioni convertitore BOF"@it ;
    chem:temperatureMin 1873.15 ; chem:temperatureMax 1973.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 1500000 ;
    chem:atmosphere "ossidante" .

chem:bofExothermicInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "BOF exothermic input"@en, "input esotermico BOF"@it ;
    rdfs:comment "Calore liberato dall'ossidazione di C/Si/Mn/P; processo autotermico."@it ;
    chem:energyForm "chimica" ;
    chem:specificEnergy -0.8 .

chem:continuousCastingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "continuous casting conditions"@en, "condizioni colata continua"@it ;
    chem:temperatureMin 1773.15 ; chem:temperatureMax 1853.15 ;
    chem:atmosphere "inerte" .

chem:hotBlastAir a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "hot blast air"@en, "aria calda di soffio"@it ;
    rdfs:comment "Aria preriscaldata nei cowper stoves a ~1200 °C, immessa nell'altoforno."@it ;
    chem:formula "O2+N2" ;
    chem:physicalState "gas" .


# =============================================================
# 2. STEEL DRI-H2 + EAF  (acciaio "verde")
# =============================================================

chem:steelDRIH2EAFPipeline
    chem:contains chem:ironOrePelletizing,
                  chem:driH2Reduction,
                  chem:eafMelting,
                  chem:continuousCasting .

chem:driH2Reduction a owl:NamedIndividual, chem:UnitOperation, chem:PyrometallurgicalProcess ;
    rdfs:label "DRI hydrogen reduction"@en, "riduzione DRI a idrogeno"@it ;
    rdfs:comment "Riduzione diretta del minerale a ferro spugnoso usando H2 verde al posto del syngas; sotto-prodotto e' solo acqua."@it ;
    chem:belongsTo chem:steelDRIH2EAFPipeline ;
    chem:consumes chem:ironOrePellet, chem:greenHydrogen ;
    chem:produces chem:spongeIron ;
    chem:producesByproduct chem:water ;
    chem:feedsInto chem:eafMelting ;
    chem:requiresEquipment chem:driShaftFurnace ;
    chem:operatesAt chem:driH2Conditions ;
    chem:requiresEnergy chem:driH2ThermalInput ;
    chem:typicalYield 0.94 ;
    chem:co2Equivalent 0.05 .

chem:eafMelting
    chem:belongsTo chem:steelDRIH2EAFPipeline ;
    chem:consumes chem:spongeIron, chem:scrap, chem:lime ;
    chem:produces chem:steel ;
    chem:producesByproduct chem:eafSlag ;
    chem:feedsInto chem:continuousCasting ;
    chem:requiresEquipment chem:graphiteElectrodes ;
    chem:operatesAt chem:eafConditions ;
    chem:requiresEnergy chem:eafElectricalInput ;
    chem:typicalYield 0.92 ;
    chem:co2Equivalent 0.40 ;
    rdfs:comment "Fusione con archi elettrici; se elettricita' rinnovabile -> filiera a basse emissioni."@it .

# --- Conditions / Energy ---

chem:driH2Conditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "DRI-H2 conditions"@en, "condizioni DRI a H2"@it ;
    chem:temperatureMin 1023.15 ; chem:temperatureMax 1223.15 ;
    chem:pressureMin 400000 ; chem:pressureMax 800000 ;
    chem:atmosphere "riducente" .

chem:driH2ThermalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "DRI-H2 thermal input"@en, "input termico DRI a H2"@it ;
    chem:energyForm "termica" ;
    chem:specificEnergy 2.6 .

chem:eafConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "EAF conditions"@en, "condizioni EAF"@it ;
    chem:temperatureMin 1873.15 ; chem:temperatureMax 1973.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 101325 ;
    chem:atmosphere "inerte" .

chem:eafElectricalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "EAF electrical input"@en, "input elettrico EAF"@it ;
    chem:energyForm "elettrica" ;
    chem:specificEnergy 2.0 .


# =============================================================
# 3. COPPER PYROMETALLURGY
# =============================================================

chem:copperPyrometallurgyPipeline
    chem:contains chem:crushingAndScreening,
                  chem:flotation,
                  chem:roasting,
                  chem:cuFlashSmelting,
                  chem:converting,
                  chem:cuFireRefining,
                  chem:electrorefining .

chem:crushingAndScreening
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:chalcopyrite ;
    chem:produces chem:groundCopperOre ;
    chem:feedsInto chem:flotation ;
    chem:requiresEquipment chem:ballMill ;
    chem:requiresEnergy chem:millingElectricalInput ;
    chem:typicalYield 0.99 .

chem:flotation
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:groundCopperOre, chem:water ;
    chem:produces chem:copperConcentrate ;
    chem:producesWaste chem:flotationTailings ;
    chem:feedsInto chem:roasting ;
    chem:requiresEquipment chem:flotationCell ;
    chem:operatesAt chem:flotationConditions ;
    chem:typicalYield 0.88 .

chem:roasting
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:copperConcentrate, chem:oxygen ;
    chem:produces chem:roastedCuCalcine ;
    chem:producesByproduct chem:sulfurDioxide ;
    chem:feedsInto chem:cuFlashSmelting ;
    chem:requiresEquipment chem:fluidBedCalciner ;
    chem:operatesAt chem:cuRoastingConditions ;
    chem:typicalYield 0.95 ;
    chem:co2Equivalent 0.20 ;
    rdfs:comment "Rimuove parte dello zolfo come SO2 (recuperato a H2SO4)."@it .

chem:cuFlashSmelting a owl:NamedIndividual, chem:UnitOperation, chem:PyrometallurgicalProcess ;
    rdfs:label "copper flash smelting"@en, "fusione flash rame"@it ;
    rdfs:comment "Smelting autogeno (Outokumpu-style): il calore di ossidazione dei solfuri sostiene il processo."@it ;
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:roastedCuCalcine, chem:oxygen, chem:silica ;
    chem:produces chem:matte ;
    chem:producesByproduct chem:smeltingSlag, chem:sulfurDioxide ;
    chem:feedsInto chem:converting ;
    chem:requiresEquipment chem:flashSmeltingFurnace ;
    chem:operatesAt chem:cuFlashSmeltingConditions ;
    chem:requiresEnergy chem:cuFlashAutogenousInput ;
    chem:typicalYield 0.96 ;
    chem:co2Equivalent 0.35 .

chem:converting
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:matte, chem:oxygen, chem:silica ;
    chem:produces chem:blisterCopper ;
    chem:producesByproduct chem:converterSlag, chem:sulfurDioxide ;
    chem:feedsInto chem:cuFireRefining ;
    chem:requiresEquipment chem:peirceSmithConverter ;
    chem:operatesAt chem:cuConvertingConditions ;
    chem:typicalYield 0.97 ;
    chem:co2Equivalent 0.30 .

chem:cuFireRefining a owl:NamedIndividual, chem:UnitOperation, chem:PyrometallurgicalProcess ;
    rdfs:label "copper fire refining"@en, "raffinazione termica rame"@it ;
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:blisterCopper ;
    chem:produces chem:anodeCopper ;
    chem:feedsInto chem:electrorefining ;
    chem:operatesAt chem:cuFireRefiningConditions ;
    chem:requiresEnergy chem:cuFireRefiningThermalInput ;
    chem:typicalYield 0.99 ;
    rdfs:comment "Rimozione di O e S residui prima della colata in anodi."@it .

chem:electrorefining
    chem:belongsTo chem:copperPyrometallurgyPipeline ;
    chem:consumes chem:anodeCopper, chem:copperSulfate, chem:sulfuricAcid ;
    chem:produces chem:copper ;
    chem:producesByproduct chem:anodeSlime ;
    chem:requiresEquipment chem:electrolyticCell ;
    chem:operatesAt chem:cuElectrorefiningConditions ;
    chem:requiresEnergy chem:cuElectrorefiningElectricalInput ;
    chem:typicalYield 0.99 ;
    chem:co2Equivalent 0.60 ;
    rdfs:comment "Catodi di rame >99.99%; il fango anodico contiene Ag, Au, PGM, Se."@it .

# --- Conditions / Energy / Intermediates per filiera 3 ---

chem:millingElectricalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "milling electrical input"@en, "input elettrico macinazione"@it ;
    chem:energyForm "elettrica" ;
    chem:specificEnergy 0.08 .

chem:flotationConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "flotation conditions"@en, "condizioni flottazione"@it ;
    chem:temperatureMin 288.15 ; chem:temperatureMax 308.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 101325 ;
    chem:pHMin 9.0 ; chem:pHMax 11.5 .

chem:cuRoastingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "copper roasting conditions"@en, "condizioni roasting rame"@it ;
    chem:temperatureMin 873.15 ; chem:temperatureMax 1073.15 ;
    chem:atmosphere "ossidante" .

chem:cuFlashSmeltingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Cu flash smelting conditions"@en, "condizioni flash smelting rame"@it ;
    chem:temperatureMin 1473.15 ; chem:temperatureMax 1623.15 ;
    chem:atmosphere "ossidante" .

chem:cuFlashAutogenousInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "Cu flash autogenous heat"@en, "calore autogeno flash Cu"@it ;
    rdfs:comment "Energia chimica liberata dall'ossidazione di FeS/Cu2S."@it ;
    chem:energyForm "chimica" ;
    chem:specificEnergy -1.5 .

chem:cuConvertingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Cu converting conditions"@en, "condizioni converting rame"@it ;
    chem:temperatureMin 1473.15 ; chem:temperatureMax 1573.15 ;
    chem:atmosphere "ossidante" .

chem:cuFireRefiningConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Cu fire refining conditions"@en, "condizioni raffinazione termica Cu"@it ;
    chem:temperatureMin 1373.15 ; chem:temperatureMax 1473.15 .

chem:cuFireRefiningThermalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "Cu fire refining thermal input"@en, "input termico raffinazione Cu"@it ;
    chem:energyForm "termica" ;
    chem:specificEnergy 0.6 .

chem:cuElectrorefiningConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Cu electrorefining conditions"@en, "condizioni elettroraffinazione Cu"@it ;
    chem:temperatureMin 333.15 ; chem:temperatureMax 338.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 101325 ;
    chem:pHMin 0.5 ; chem:pHMax 1.5 .

chem:cuElectrorefiningElectricalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "Cu electrorefining electrical input"@en, "input elettrico elettroraffinazione Cu"@it ;
    chem:energyForm "elettrica" ;
    chem:specificEnergy 0.33 .

chem:groundCopperOre a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "ground copper ore"@en, "minerale rame macinato"@it ;
    chem:physicalState "solid" .

chem:flotationTailings a owl:NamedIndividual, chem:Waste ;
    rdfs:label "flotation tailings"@en, "sterili di flottazione"@it ;
    chem:physicalState "solid" .

chem:roastedCuCalcine a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "roasted copper calcine"@en, "calcina di rame tostata"@it ;
    rdfs:comment "Miscela di CuS/Cu2S/FeS parzialmente ossidata."@it ;
    chem:physicalState "solid" .

chem:smeltingSlag a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "smelting slag"@en, "scoria di fusione"@it ;
    rdfs:comment "Slag fayalitica (FeO-SiO2)."@it ;
    chem:formula "2FeO*SiO2" ;
    chem:physicalState "solid" .

chem:converterSlag a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "converter slag"@en, "scoria di convertimento"@it ;
    chem:physicalState "solid" .

chem:anodeCopper a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "anode copper"@en, "rame anodico"@it ;
    rdfs:comment "Rame ~99.5% colato in piastre per elettroraffinazione."@it ;
    chem:formula "Cu" ;
    chem:physicalState "solid" .


# =============================================================
# 4. IMPERIAL SMELTING PROCESS (Pb + Zn combinato)
# =============================================================

chem:leadImperialSmeltingPipeline
    chem:contains chem:ispSintering,
                  chem:imperialSmeltingBlastFurnace,
                  chem:splashZincCondenser,
                  chem:leadRefining .

chem:ispSintering
    chem:belongsTo chem:leadImperialSmeltingPipeline ;
    chem:consumes chem:galena, chem:sphalerite, chem:limestone, chem:oxygen ;
    chem:produces chem:ispSinter ;
    chem:producesByproduct chem:sulfurDioxide ;
    chem:feedsInto chem:imperialSmeltingBlastFurnace ;
    chem:requiresEquipment chem:dwightLloydSinterStrand ;
    chem:operatesAt chem:ispSinteringConditions ;
    chem:typicalYield 0.93 ;
    chem:co2Equivalent 0.35 ;
    rdfs:comment "Tosta-agglomera la miscela Pb/Zn solfurica eliminando lo zolfo come SO2."@it .

chem:imperialSmeltingBlastFurnace
    chem:belongsTo chem:leadImperialSmeltingPipeline ;
    chem:consumes chem:ispSinter, chem:coke, chem:hotBlastAir ;
    chem:produces chem:leadBullion, chem:zincVapor ;
    chem:producesByproduct chem:ispSlag, chem:blastFurnaceGas ;
    chem:feedsInto chem:splashZincCondenser ;
    chem:operatesAt chem:ispBlastFurnaceConditions ;
    chem:requiresEnergy chem:ispChemicalInput ;
    chem:typicalYield 0.90 ;
    chem:co2Equivalent 2.1 ;
    rdfs:comment "Riduzione simultanea: Pb cola sul fondo come bullion; Zn esce come vapore in cima."@it .

chem:splashZincCondenser
    chem:belongsTo chem:leadImperialSmeltingPipeline ;
    chem:consumes chem:zincVapor ;
    chem:produces chem:zinc ;
    chem:operatesAt chem:splashCondenserConditions ;
    chem:typicalYield 0.93 ;
    rdfs:comment "Condensatore a pioggia di Pb fuso: cattura il vapore di Zn evitando la ri-ossidazione."@it .

chem:leadRefining
    chem:belongsTo chem:leadImperialSmeltingPipeline ;
    chem:consumes chem:leadBullion ;
    chem:produces chem:lead ;
    chem:producesByproduct chem:leadDrosses ;
    chem:operatesAt chem:leadRefiningConditions ;
    chem:requiresEnergy chem:leadRefiningThermalInput ;
    chem:typicalYield 0.98 ;
    chem:co2Equivalent 0.25 ;
    rdfs:comment "Sequenza Parkes/Betterton-Kroll per rimozione Cu/As/Sb/Ag."@it .

# --- Conditions / Energy / Intermediates per filiera 4 ---

chem:ispSinteringConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "ISP sintering conditions"@en, "condizioni sinterizzazione ISP"@it ;
    chem:temperatureMin 1373.15 ; chem:temperatureMax 1473.15 ;
    chem:atmosphere "ossidante" .

chem:ispBlastFurnaceConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "ISP blast furnace conditions"@en, "condizioni altoforno ISP"@it ;
    chem:temperatureMin 1273.15 ; chem:temperatureMax 1573.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 200000 ;
    chem:atmosphere "riducente" .

chem:ispChemicalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "ISP chemical input (coke)"@en, "input chimico ISP (coke)"@it ;
    chem:energyForm "chimica" ;
    chem:specificEnergy 10.5 .

chem:splashCondenserConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "splash zinc condenser conditions"@en, "condizioni condensatore Zn"@it ;
    chem:temperatureMin 773.15 ; chem:temperatureMax 823.15 ;
    chem:atmosphere "riducente" .

chem:leadRefiningConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "lead refining conditions"@en, "condizioni raffinazione Pb"@it ;
    chem:temperatureMin 623.15 ; chem:temperatureMax 873.15 .

chem:leadRefiningThermalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "lead refining thermal input"@en, "input termico raffinazione Pb"@it ;
    chem:energyForm "termica" ;
    chem:specificEnergy 0.7 .

chem:ispSinter a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "ISP sinter (Pb-Zn)"@en, "sinter ISP (Pb-Zn)"@it ;
    chem:physicalState "solid" .

chem:leadBullion a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "lead bullion"@en, "piombo d'opera"@it ;
    rdfs:comment "Pb grezzo ~98% contenente Cu, Ag, Sb, As da raffinare."@it ;
    chem:formula "Pb" ;
    chem:physicalState "liquid" .

chem:zincVapor a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "zinc vapor"@en, "vapore di zinco"@it ;
    chem:formula "Zn" ;
    chem:physicalState "gas" .

chem:ispSlag a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "ISP slag"@en, "scoria ISP"@it ;
    chem:physicalState "solid" .

chem:leadDrosses a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "lead refining drosses"@en, "schiumature raffinazione Pb"@it ;
    rdfs:comment "Drosses Cu, Ag-Zn (Parkes), Sb (Harris) recuperate per il loro valore metallico."@it ;
    chem:physicalState "solid" .


# =============================================================
# 5. NICKEL DA SOLFURI
# =============================================================

chem:nickelSulfidePipeline
    chem:contains chem:niFlotation,
                  chem:niRoasting,
                  chem:niMatteSmelting,
                  chem:niMatteConversion,
                  chem:niCuSeparation,
                  chem:niElectrorefining .

chem:niFlotation
    chem:belongsTo chem:nickelSulfidePipeline ;
    chem:consumes chem:pentlandite, chem:water ;
    chem:produces chem:niConcentrate ;
    chem:producesWaste chem:flotationTailings ;
    chem:feedsInto chem:niRoasting ;
    chem:requiresEquipment chem:flotationCell ;
    chem:operatesAt chem:flotationConditions ;
    chem:typicalYield 0.86 .

chem:niRoasting
    chem:belongsTo chem:nickelSulfidePipeline ;
    chem:consumes chem:niConcentrate, chem:oxygen ;
    chem:produces chem:niCalcine ;
    chem:producesByproduct chem:sulfurDioxide ;
    chem:feedsInto chem:niMatteSmelting ;
    chem:requiresEquipment chem:fluidBedCalciner ;
    chem:operatesAt chem:niRoastingConditions ;
    chem:typicalYield 0.95 ;
    chem:co2Equivalent 0.25 .

chem:niMatteSmelting
    chem:belongsTo chem:nickelSulfidePipeline ;
    chem:consumes chem:niCalcine, chem:silica, chem:oxygen ;
    chem:produces chem:nickelMatte ;
    chem:producesByproduct chem:smeltingSlag, chem:sulfurDioxide ;
    chem:feedsInto chem:niMatteConversion ;
    chem:requiresEquipment chem:flashSmeltingFurnace ;
    chem:operatesAt chem:niSmeltingConditions ;
    chem:typicalYield 0.94 ;
    chem:co2Equivalent 0.45 .

chem:niMatteConversion
    chem:belongsTo chem:nickelSulfidePipeline ;
    chem:consumes chem:nickelMatte, chem:oxygen ;
    chem:produces chem:whiteMatte ;
    chem:producesByproduct chem:converterSlag, chem:sulfurDioxide ;
    chem:feedsInto chem:niCuSeparation ;
    chem:requiresEquipment chem:peirceSmithConverter ;
    chem:operatesAt chem:niConvertingConditions ;
    chem:typicalYield 0.96 ;
    chem:co2Equivalent 0.30 ;
    rdfs:comment "Eliminazione del Fe residuo; ottiene una matte Ni-Cu-S detta 'white matte'."@it .

chem:niCuSeparation
    chem:belongsTo chem:nickelSulfidePipeline ;
    chem:consumes chem:whiteMatte ;
    chem:produces chem:niAnode, chem:cuSulfideStream ;
    chem:feedsInto chem:niElectrorefining ;
    chem:operatesAt chem:niCuSeparationConditions ;
    chem:typicalYield 0.95 ;
    rdfs:comment "Lenta solidificazione + flottazione/separazione magnetica per dividere Ni3S2 e Cu2S."@it .

chem:niElectrorefining
    chem:belongsTo chem:nickelSulfidePipeline ;
    chem:consumes chem:niAnode, chem:sulfuricAcid ;
    chem:produces chem:nickel ;
    chem:producesByproduct chem:anodeSlime ;
    chem:requiresEquipment chem:electrolyticCell ;
    chem:operatesAt chem:niElectrorefiningConditions ;
    chem:requiresEnergy chem:niElectrorefiningElectricalInput ;
    chem:typicalYield 0.99 ;
    chem:co2Equivalent 1.2 .

# --- Conditions / Energy / Intermediates per filiera 5 ---

chem:niRoastingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Ni roasting conditions"@en, "condizioni roasting Ni"@it ;
    chem:temperatureMin 923.15 ; chem:temperatureMax 1073.15 ;
    chem:atmosphere "ossidante" .

chem:niSmeltingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Ni matte smelting conditions"@en, "condizioni fusione matte Ni"@it ;
    chem:temperatureMin 1473.15 ; chem:temperatureMax 1623.15 ;
    chem:atmosphere "ossidante" .

chem:niConvertingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Ni converting conditions"@en, "condizioni converting Ni"@it ;
    chem:temperatureMin 1473.15 ; chem:temperatureMax 1573.15 ;
    chem:atmosphere "ossidante" .

chem:niCuSeparationConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Ni-Cu separation conditions"@en, "condizioni separazione Ni-Cu"@it ;
    chem:temperatureMin 873.15 ; chem:temperatureMax 1173.15 .

chem:niElectrorefiningConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Ni electrorefining conditions"@en, "condizioni elettroraffinazione Ni"@it ;
    chem:temperatureMin 333.15 ; chem:temperatureMax 343.15 ;
    chem:pHMin 3.0 ; chem:pHMax 5.0 .

chem:niElectrorefiningElectricalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "Ni electrorefining electrical input"@en, "input elettrico elettroraffinazione Ni"@it ;
    chem:energyForm "elettrica" ;
    chem:specificEnergy 3.6 .

chem:niConcentrate a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "nickel sulfide concentrate"@en, "concentrato solforico di nickel"@it ;
    rdfs:comment "Concentrato pentlandite/calcopirite/pyrrhotite ~10-20% Ni."@it ;
    chem:physicalState "solid" .

chem:niCalcine a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "nickel calcine"@en, "calcina di nickel"@it ;
    chem:physicalState "solid" .

chem:niAnode a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "nickel anode"@en, "anodo di nickel"@it ;
    chem:formula "Ni3S2" ;
    chem:physicalState "solid" .

chem:cuSulfideStream a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "Cu sulfide by-stream"@en, "flusso solforico di Cu"@it ;
    rdfs:comment "Frazione Cu2S inviata alla filiera del rame."@it ;
    chem:formula "Cu2S" ;
    chem:physicalState "solid" .


# =============================================================
# 6. ZINCO IDROMETALLURGICO
# =============================================================

chem:zincHydrometallurgyPipeline
    chem:contains chem:zincRoasting,
                  chem:acidLeaching,
                  chem:znPowderCementation,
                  chem:zincElectrowinning .

chem:zincRoasting
    chem:belongsTo chem:zincHydrometallurgyPipeline ;
    chem:consumes chem:sphalerite, chem:oxygen ;
    chem:produces chem:zincCalcine ;
    chem:producesByproduct chem:sulfurDioxide ;
    chem:feedsInto chem:acidLeaching ;
    chem:requiresEquipment chem:fluidBedCalciner ;
    chem:operatesAt chem:znRoastingConditions ;
    chem:typicalYield 0.97 ;
    chem:co2Equivalent 0.30 ;
    rdfs:comment "Trasforma ZnS in ZnO; SO2 inviato a impianto H2SO4."@it .

chem:acidLeaching
    chem:belongsTo chem:zincHydrometallurgyPipeline ;
    chem:consumes chem:zincCalcine, chem:sulfuricAcid ;
    chem:produces chem:znLeachLiquor ;
    chem:producesWaste chem:jarosite ;
    chem:feedsInto chem:znPowderCementation ;
    chem:operatesAt chem:znLeachingConditions ;
    chem:typicalYield 0.93 ;
    rdfs:comment "Leaching neutro+acido; il ferro precipita come jarosite/goethite portando con se' alcune impurita'."@it .

chem:znPowderCementation
    chem:belongsTo chem:zincHydrometallurgyPipeline ;
    chem:consumes chem:znLeachLiquor, chem:zinc ;
    chem:produces chem:purifiedZnSO4 ;
    chem:producesByproduct chem:cuCdCoCementate ;
    chem:feedsInto chem:zincElectrowinning ;
    chem:operatesAt chem:cementationConditions ;
    chem:typicalYield 0.99 ;
    rdfs:comment "Lo zinco metallico cementa Cu, Cd, Co, Ni come fanghi recuperabili."@it .

chem:zincElectrowinning
    chem:belongsTo chem:zincHydrometallurgyPipeline ;
    chem:consumes chem:purifiedZnSO4 ;
    chem:produces chem:zinc ;
    chem:producesByproduct chem:sulfuricAcid, chem:oxygen ;
    chem:requiresEquipment chem:electrolyticCell ;
    chem:operatesAt chem:znElectrowinningConditions ;
    chem:requiresEnergy chem:znElectrowinningElectricalInput ;
    chem:recycles chem:sulfuricAcid ;
    chem:typicalYield 0.92 ;
    chem:co2Equivalent 3.2 ;
    rdfs:comment "Elettrolisi su catodi di Al; H2SO4 rigenerato e riciclato al leaching."@it .

# --- Conditions / Energy / Intermediates per filiera 6 ---

chem:znRoastingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Zn roasting conditions"@en, "condizioni roasting Zn"@it ;
    chem:temperatureMin 1173.15 ; chem:temperatureMax 1273.15 ;
    chem:atmosphere "ossidante" .

chem:znLeachingConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Zn leaching conditions"@en, "condizioni leaching Zn"@it ;
    chem:temperatureMin 333.15 ; chem:temperatureMax 363.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 101325 ;
    chem:pHMin 1.5 ; chem:pHMax 5.0 .

chem:cementationConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Zn cementation conditions"@en, "condizioni cementazione Zn"@it ;
    chem:temperatureMin 343.15 ; chem:temperatureMax 363.15 ;
    chem:pHMin 4.0 ; chem:pHMax 5.0 .

chem:znElectrowinningConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Zn electrowinning conditions"@en, "condizioni elettrowinning Zn"@it ;
    chem:temperatureMin 308.15 ; chem:temperatureMax 313.15 ;
    chem:pHMin 0.5 ; chem:pHMax 1.5 .

chem:znElectrowinningElectricalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "Zn electrowinning electrical input"@en, "input elettrico elettrowinning Zn"@it ;
    chem:energyForm "elettrica" ;
    chem:specificEnergy 3.3 .

chem:znLeachLiquor a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "Zn leach liquor"@en, "soluzione di leaching Zn"@it ;
    rdfs:comment "ZnSO4 in soluzione acida (~150 g/L Zn)."@it ;
    chem:formula "ZnSO4(aq)" ;
    chem:physicalState "liquid" .

chem:purifiedZnSO4 a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "purified Zn sulfate solution"@en, "soluzione ZnSO4 purificata"@it ;
    chem:formula "ZnSO4(aq)" ;
    chem:physicalState "liquid" .

chem:cuCdCoCementate a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "Cu-Cd-Co cementate"@en, "cementato Cu-Cd-Co"@it ;
    rdfs:comment "Fanghi metallici cementati dalla polvere di Zn, inviati a recupero."@it ;
    chem:physicalState "solid" .


# =============================================================
# 7. SILICIO METALLURGICO (Si-met) da quarzo + C in SAF
# =============================================================

chem:metallurgicalSiliconPipeline
    chem:contains chem:siChargePreparation,
                  chem:carbothermicReduction,
                  chem:siRefining .

chem:siChargePreparation a owl:NamedIndividual, chem:UnitOperation, chem:PhysicalSeparation ;
    rdfs:label "Si charge preparation"@en, "preparazione carica Si"@it ;
    rdfs:comment "Dosaggio quarzo + riducenti carboniosi (coke, carbone, woodchips)."@it ;
    chem:belongsTo chem:metallurgicalSiliconPipeline ;
    chem:consumes chem:quartz, chem:coke, chem:coal, chem:woodChips ;
    chem:produces chem:siFurnaceCharge ;
    chem:feedsInto chem:carbothermicReduction ;
    chem:typicalYield 0.99 .

chem:carbothermicReduction
    chem:belongsTo chem:metallurgicalSiliconPipeline ;
    chem:consumes chem:siFurnaceCharge ;
    chem:produces chem:siliconCrude ;
    chem:producesByproduct chem:silicaFume, chem:carbonMonoxide ;
    chem:feedsInto chem:siRefining ;
    chem:requiresEquipment chem:submergedArcFurnace, chem:graphiteElectrodes ;
    chem:operatesAt chem:safConditions ;
    chem:requiresEnergy chem:safElectricalInput ;
    chem:typicalYield 0.85 ;
    chem:co2Equivalent 4.7 ;
    rdfs:comment "Reazione globale: SiO2 + 2C -> Si + 2CO a ~2000 °C in forno ad arco sommerso."@it .

chem:siRefining a owl:NamedIndividual, chem:UnitOperation, chem:PyrometallurgicalProcess ;
    rdfs:label "Si oxidative refining"@en, "raffinazione ossidativa Si"@it ;
    chem:belongsTo chem:metallurgicalSiliconPipeline ;
    chem:consumes chem:siliconCrude, chem:oxygen, chem:air ;
    chem:produces chem:silicon ;
    chem:producesByproduct chem:siRefiningSlag ;
    chem:operatesAt chem:siRefiningConditions ;
    chem:typicalYield 0.97 ;
    chem:co2Equivalent 0.15 ;
    rdfs:comment "Soffio di aria/O2 sulla siviera per rimuovere Al, Ca, Fe come ossidi in scoria."@it .

# --- Conditions / Energy / Intermediates per filiera 7 ---

chem:safConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "submerged arc furnace conditions"@en, "condizioni forno ad arco sommerso"@it ;
    chem:temperatureMin 2073.15 ; chem:temperatureMax 2273.15 ;
    chem:pressureMin 101325 ; chem:pressureMax 105000 ;
    chem:atmosphere "riducente" .

chem:safElectricalInput a owl:NamedIndividual, chem:EnergyInput ;
    rdfs:label "SAF electrical input"@en, "input elettrico SAF"@it ;
    chem:energyForm "elettrica" ;
    chem:specificEnergy 11.0 .

chem:siRefiningConditions a owl:NamedIndividual, chem:OperatingCondition ;
    rdfs:label "Si refining conditions"@en, "condizioni raffinazione Si"@it ;
    chem:temperatureMin 1773.15 ; chem:temperatureMax 1873.15 ;
    chem:atmosphere "ossidante" .

chem:quartz a owl:NamedIndividual, chem:RawMaterial ;
    rdfs:label "quartz"@en, "quarzo"@it ;
    rdfs:comment "SiO2 cristallino in lump (>99%) usato come materia prima del Si-met."@it ;
    chem:formula "SiO2" ;
    chem:physicalState "solid" ;
    chem:molarMass 60.08 .

chem:woodChips a owl:NamedIndividual, chem:RawMaterial ;
    rdfs:label "wood chips"@en, "scaglie di legno"@it ;
    rdfs:comment "Riducente carbonio biogenico per ridurre il footprint di CO2."@it ;
    chem:physicalState "solid" .

chem:air a owl:NamedIndividual, chem:RawMaterial ;
    rdfs:label "air"@en, "aria"@it ;
    chem:formula "O2+N2" ;
    chem:physicalState "gas" .

chem:siFurnaceCharge a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "Si furnace charge"@en, "carica forno Si"@it ;
    chem:physicalState "solid" .

chem:siliconCrude a owl:NamedIndividual, chem:Intermediate ;
    rdfs:label "crude silicon"@en, "silicio grezzo"@it ;
    rdfs:comment "Si liquido ~98% con Al/Ca/Fe da raffinare."@it ;
    chem:formula "Si" ;
    chem:physicalState "liquid" .

chem:silicaFume a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "silica fume"@en, "fumi di silice"@it ;
    rdfs:comment "Microsilica recuperata dai filtri, venduta come additivo per calcestruzzo."@it ;
    chem:formula "SiO2" ;
    chem:physicalState "solid" .

chem:siRefiningSlag a owl:NamedIndividual, chem:Byproduct ;
    rdfs:label "Si refining slag"@en, "scoria raffinazione Si"@it ;
    chem:physicalState "solid" .
