// Example 3 // document // namespaces prefix prov prefix voprov prefix obs prefix std prefix cta // ---------------------------------------------------------------------------------------------------------- // Agent for all activities and entities agent(cta:cta, [prov:type="prov:Organization", prov:name="CTA consortium"]) // ---------------------------------------------------------------------------------------------------------- // Region Of Interest = Crab entity(cta:crab, [ prov:type = "voprov:databaseTable", voprov:target_name="crab", voprov:target_RA="05h 34m 31,97s", voprov:target_DEC="+22° 00′ 52,1" ] ) entity(cta:targets, [prov:type = "voprov:databaseTable"]) hadMember(cta:targets, cta:crab) // Final products entity(cta:crab_region_spectrum, [prov:label = "spectrum file", voprov:type = "File"]) entity(cta:crab_region_image, [prov:label = "image file", prov:type = "File" ]) // ---------------------------------------------------------------------------------------------------------- // SlowControl activity(cta:slowcontrol_20150728, 2015-07-28T12:00:00, 2015-07-29T12:10:00, [ prov:label = "CTA DAQ SlowControl", prov:description = "CTA DAQ SlowControl", voprov:method_name="DAQ", voprov:method_version="1.0" ] ) // Entities Description entity(cta:TECH0_20150728, [prov:type = "Collection"]) entity(cta:Lidar_20150728_1, [prov:type = "Collection"]) hadMember(cta:TECH0_20150728, cta:Lidar_20150728_1) entity(cta:Radiometer_20150728_1, [prov:type = "Collection"]) hadMember(cta:TECH0_20150728, cta:Radiometer_20150728_1) wasGeneratedBy(cta:TECH0_20150728,cta:slowcontrol_20150728,-) // ---------------------------------------------------------------------------------------------------------- // Calibration runs //entity(cta:run13000_Pedestals_CAL0, [prov:type = "File" ]) //activity(cta:acquisition_run9000, 2015-07-2T09:45:00, 2015-07-2T10:15:00, // [ voprov:method_name="DAQ", voprov:method_version="1.0", cta:runNumber=9000, cta:runType="Flatfield" ]) //entity(cta:run9000_FlatField_CAL0_MST21, // [prov:label = "CAL0 Flatfield file", prov:type = "File", cta:runNumber=9000, cta:telescope="MST21" ]) //activity(cta:acquisition_run9100, 2015-07-2T09:45:00, 2015-07-2T10:15:00, // [ voprov:method_name="DAQ", voprov:method_version="1.0", cta:runNumber=9100, cta:runType="SPE" ]) //entity(cta:run9100_SPE_CAL0_MST21, // [prov:label = "CAL0 SPE file", prov:type = "File", cta:telescope="MST21" ]) //activity(cta:acquisition_run9200, 2015-07-2T09:45:00, 2015-07-2T10:15:00, // [ voprov:method_name="DAQ", voprov:method_version="1.0", cta:runNumber=9200, cta:runType="Flatfield" ]) //entity(cta:run9200_Pointing_CAL0_MST21, // [prov:label = "CAL0 Pointing file", prov:type = "File", cta:telescope="MST21" ]) entity(cta:runsXXXX_FlatField_CAL0, [prov:type = "File" ]) entity(cta:runsYYYY_SPE_CAL0, [prov:label = "SPE file", prov:type = "File" ]) entity(cta:runsZZZZ_Pointing_CAL0, [prov:type = "File" ]) // ---------------------------------------------------------------------------------------------------------- // First acquisition run // ---------------------------------------------------------------------------------------------------------- // Stage 0 : Acquisition activity(cta:acquisition_run11000, 2015-07-28T09:45:00, 2015-07-28T10:15:00, [ prov:label = "CTA Observation", prov:type = "obs:observation", prov:description = "CTA observation", voprov:method_name="DAQ", voprov:method_version="1.0", cta:runNumber=11000, cta:runType="Observation" ] ) // Entities Description entity(cta:ObsConfig10, [prov:type = "voprov:databaseTable"]) entity(cta:ObsConfig10_SubArray15, [prov:type = "voprov:databaseTable"]) hadMember(cta:ObsConfig10, cta:ObsConfig10_SubArray15) entity(cta:ObsConfig10_SubArray15_telescopes_list, - ) hadMember(cta:ObsConfig10_SubArray15, cta:ObsConfig10_SubArray15_telescopes_list) entity(cta:run11000_EVT0_files, [prov:label = "EVT0 files", prov:type = "Collection", cta:runNumber=11000 ]) entity(cta:run11000_EVT0_MST21, [prov:label = "EVT0 file", prov:type = "File", cta:runNumber=11000, cta:telescope="MST21" ]) hadMember(cta:run11000_EVT0_files, cta:run11000_EVT0_MST21) entity(cta:run11000_EVT0_MST22, [prov:label = "EVT0 file", prov:type = "File", cta:runNumber=11000, cta:telescope="MST22" ]) hadMember(cta:run11000_EVT0_files, cta:run11000_EVT0_MST22) entity(cta:run11000_TECH0, [prov:label = "TECH0 file", prov:type = "File", cta:runNumber=11000, cta:telescope="MST21" ]) entity(cta:run11000_CAL0, [prov:label = "CAL0 file", prov:type = "File", cta:runNumber=11000, cta:telescope="MST21" ]) // Relations wasGeneratedBy(cta:run11000_EVT0_files,cta:acquisition_run11000,-) wasGeneratedBy(cta:run11000_TECH0,cta:acquisition_run11000,-) wasGeneratedBy(cta:run11000_CAL0,cta:acquisition_run11000,-) used(cta:acquisition_run11000, cta:ObsConfig10,-) used(cta:acquisition_run11000, cta:crab,-) //wasAttributedTo(cta:run11000_EVT0, cta:cta) //wasAttributedTo(cta:ObsConfig10_SubArray15, cta:cta) //wasAttributedTo(cta:ObsConfig10, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 1 : Teslescope Stage (Calibration) activity(cta:telescope_stage_6250, 2015-07-29T09:45:00, 2015-07-29T10:00:00, [voprov:method_name="Telescope_Stage", voprov:method_version="1.0"]) // Entities Description entity(cta:Stage1Config_6250, [prov:type = "File" ]) //entity(cta:run11000_Pedestals_CAL0, [prov:type = "File" ]) entity(cta:run11000_EVT1_MST21, [prov:label = "EVT1 file", prov:type = "File", cta:runNumber=11000, cta:telescope="MST21" ]) entity(cta:run11000_TECH1, [prov:label = "TECH1 file", prov:type = "Collection", cta:runNumber=11000, cta:telescope="MST21" ]) entity(cta:run11000_CAL1, [prov:label = "CAL1 file", prov:type = "File", cta:runNumber=11000, cta:telescope="MST21" ]) // Relations wasGeneratedBy(cta:run11000_EVT1_MST21,cta:telescope_stage_6250,-) wasGeneratedBy(cta:run11000_TECH1,cta:telescope_stage_6250,-) wasGeneratedBy(cta:run11000_CAL1,cta:telescope_stage_6250,-) used(cta:telescope_stage_6250, cta:run11000_CAL1,-) used(cta:telescope_stage_6250, cta:run11000_TECH0,-) used(cta:telescope_stage_6250, cta:TECH0_20150728,-) used(cta:telescope_stage_6250, cta:run11000_EVT0_MST21,-) //wasGeneratedBy(cta:run11000_Pedestals_CAL0,cta:telescope_stage_6250,-) //used(cta:telescope_stage_6250, cta:run11000_Pedestals_CAL0,-) used(cta:telescope_stage_6250, cta:runsXXXX_FlatField_CAL0,-) used(cta:telescope_stage_6250, cta:runsYYYY_SPE_CAL0,-) used(cta:telescope_stage_6250, cta:runsZZZZ_Pointing_CAL0,-) used(cta:telescope_stage_6250, cta:Stage1Config_6250,-) //wasAttributedTo(cta:run11000_EVT1_MST21, cta:cta) //wasAttributedTo(cta:run11000_Pedestals_CAL0, cta:cta) //wasAttributedTo(cta:run14000_FlatField_CAL0, cta:cta) //wasAttributedTo(cta:run15000_SPE_CAL0, cta:cta) //wasAttributedTo(cta:run11000_Pointing_CAL0, cta:cta) //wasAttributedTo(cta:Stage1Config_6250, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 2 : Shower Stage (Reconstruction) activity(cta:shower_stage_6260, 2015-07-29T10:45:00, 2015-07-29T11:00:00, [voprov:method_name="Shower_Stage", voprov:method_version="1.0"]) // Entities Description entity(cta:run11000_CAL2, [prov:type = "File" ]) entity(cta:Stage2Config_6260, [prov:type = "File" ]) entity(cta:run11000_EVT2, [prov:label = "EVT2 file", prov:type = "File", cta:runNumber=11000 ]) entity(cta:run11000_TECH2, [prov:label = "TECH2 file", prov:type = "File", cta:runNumber=11000 ]) // Relations wasGeneratedBy(cta:run11000_EVT2,cta:shower_stage_6260,-) wasGeneratedBy(cta:run11000_TECH2,cta:shower_stage_6260,-) used(cta:shower_stage_6260, cta:run11000_EVT1_MST21,-) used(cta:shower_stage_6260, cta:run11000_TECH1,-) wasGeneratedBy(cta:run11000_CAL2,cta:shower_stage_6260,-) used(cta:shower_stage_6260, cta:run11000_CAL2,-) used(cta:shower_stage_6260, cta:Stage2Config_6260,-) //wasAttributedTo(cta:run11000_EVT2, cta:cta) //wasAttributedTo(cta:run11000_CAL2, cta:cta) //wasAttributedTo(cta:Stage2Config_6260, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 3 : Science Preparation Stage (Reduction) activity(cta:science_preparation_stage_6270, 2015-07-29T11:45:00, 2015-07-29T12:00:00, [voprov:method_name="Science_Preparation_Stage", voprov:method_version="1.0"]) // Entities Description entity(cta:Stage3Config_6270, [prov:type = "File" ]) entity(cta:run11000_EVT3, [prov:label = "EVT3 file", prov:type = "File", cta:runNumber=11000 ]) entity(cta:run11000_TECH3, [prov:label = "TECH3 file", prov:type = "File", cta:runNumber=1&000 ]) // Relations wasGeneratedBy(cta:run11000_EVT3,cta:science_preparation_stage_6270,-) wasGeneratedBy(cta:run11000_TECH3,cta:science_preparation_stage_6270,-) used(cta:science_preparation_stage_6270, cta:run11000_EVT2,-) used(cta:science_preparation_stage_6270, cta:run11000_TECH2,-) used(cta:science_preparation_stage_6270, cta:Stage3Config_6270,-) //wasAttributedTo(cta:run11000_EVT3, cta:cta) //wasAttributedTo(cta:run11000_TECH3, cta:cta) //wasAttributedTo(cta:Stage3Config_6270, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Second run // ---------------------------------------------------------------------------------------------------------- // Stage 0 : Acquisition activity(cta:acquisition_run13000, 2015-07-29T09:45:00, 2015-07-29T10:15:00, [ prov:label = "CTA Observation", prov:type = "obs:observation", prov:description = "CTA observation", voprov:method_name="Acquisition", voprov:method_version="1.0", cta:runNumber=13000, cta:runType="Observation" ] ) // Entities Description entity(cta:ObsConfig11, [prov:type = "prov:Collection"]) entity(cta:ObsConfig11_SubArray14, [prov:type = "voprov:databaseTable"]) hadMember(cta:ObsConfig11, cta:ObsConfig11_SubArray14) entity(cta:ObsConfig11_SubArray14_telescopes_list, [prov:type = "voprov:databaseTable"]) hadMember(cta:ObsConfig11_SubArray14, cta:ObsConfig11_SubArray14_telescopes_list) entity(cta:run13000_EVT0, [prov:label = "EVT0 file", prov:type = "File", cta:runNumber=13000, cta:telescope="MST21" ]) entity(cta:run13000_TECH0, [prov:label = "TECH0 file", prov:type = "File", cta:runNumber=13000, cta:telescope="MST21" ]) // Relations wasGeneratedBy(cta:run13000_EVT0,cta:acquisition_run13000,-) wasGeneratedBy(cta:run13000_TECH0,cta:acquisition_run13000,-) used(cta:acquisition_run13000, cta:ObsConfig11,-) used(cta:acquisition_run13000, cta:crab,-) //wasAttributedTo(cta:run13000_EVT0, cta:cta) //wasAttributedTo(cta:ObsConfig11_SubArray14, cta:cta) //wasAttributedTo(cta:ObsConfig11, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 1 : Teslescope Stage (Calibration) activity(cta:telescope_stage_5250, 2015-07-30T09:45:00, 2015-07-30T10:00:00, [ voprov:method_name="Telescope_Stage", voprov:method_version="1.0" ] ) // Entities Description entity(cta:Stage1Config_5250, [prov:type = "File" ]) entity(cta:run13000_EVT1, [prov:label = "EVT1 file", prov:type = "File", cta:runNumber=13000, cta:telescope="MST21" ]) entity(cta:run13000_TECH1, [prov:label = "TECH1 file", prov:type = "File", cta:runNumber=13000, cta:telescope="MST21" ]) entity(cta:run13000_CAL1, [prov:label = "CAL1 file", prov:type = "File", cta:runNumber=13000, cta:telescope="MST21" ]) // Relations wasGeneratedBy(cta:run13000_EVT1,cta:telescope_stage_5250,-) wasGeneratedBy(cta:run13000_TECH1,cta:telescope_stage_5250,-) wasGeneratedBy(cta:run13000_CAL1,cta:telescope_stage_5250,-) used(cta:telescope_stage_5250, cta:run13000_TECH0,-) used(cta:telescope_stage_5250, cta:run13000_EVT0,-) used(cta:telescope_stage_5250, cta:run13000_CAL1,-) //wasGeneratedBy(cta:run13000_Pedestals_CAL0,cta:telescope_stage_5250,-) //used(cta:telescope_stage_5250, cta:run13000_Pedestals_CAL0,-) used(cta:telescope_stage_5250, cta:runsXXXX_FlatField_CAL0,-) used(cta:telescope_stage_5250, cta:runsYYYY_SPE_CAL0,-) used(cta:telescope_stage_5250, cta:runsZZZZ_Pointing_CAL0,-) used(cta:telescope_stage_5250, cta:Stage1Config_5250,-) //wasAttributedTo(cta:run13000_EVT1, cta:cta) //wasAttributedTo(cta:run13000_Pedestals_CAL0, cta:cta) //wasAttributedTo(cta:run14000_FlatField_CAL0, cta:cta) //wasAttributedTo(cta:run15000_SPE_CAL0, cta:cta) //wasAttributedTo(cta:run13000_Pointing_CAL0, cta:cta) //wasAttributedTo(cta:Stage1Config_5250, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 2 : Shower Stage (Reconstruction) activity(cta:shower_stage_5260, 2015-07-30T10:45:00, 2015-07-30T11:00:00, [voprov:method_name="Shower_Stage", voprov:method_version="1.0"]) // Entities Description entity(cta:run13000_CAL2, [prov:type = "File" ]) entity(cta:Stage2Config_5260, [prov:type = "File" ]) entity(cta:run13000_EVT2, [prov:label = "EVT2 file", prov:type = "File", cta:runNumber=13000 ]) entity(cta:run13000_TECH2, [prov:label = "TECH2 file", prov:type = "File", cta:runNumber=13000 ]) // Relations wasGeneratedBy(cta:run13000_EVT2,cta:shower_stage_5260,-) wasGeneratedBy(cta:run13000_TECH2,cta:shower_stage_5260,-) used(cta:shower_stage_5260, cta:run13000_EVT1,-) used(cta:shower_stage_5260, cta:run13000_TECH1,-) wasGeneratedBy(cta:run13000_CAL2,cta:shower_stage_5260,-) used(cta:shower_stage_5260, cta:run13000_CAL2,-) used(cta:shower_stage_5260, cta:Stage2Config_5260,-) //wasAttributedTo(cta:run13000_EVT2, cta:cta) //wasAttributedTo(cta:run13000_CAL2, cta:cta) //wasAttributedTo(cta:Stage2Config_5260, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 3 : Science Preparation Stage (Reduction) activity(cta:science_preparation_stage_5270, 2015-07-30T11:45:00, 2015-07-30T12:00:00, [voprov:method_name="Science_Preparation_Stage", voprov:method_version="1.0"]) // Entities Description entity(cta:Stage3Config_5270, [prov:type = "File" ]) entity(cta:run13000_EVT3, [prov:label = "EVT3 file", prov:type = "File", cta:runNumber=13000 ]) entity(cta:run13000_TECH3, [prov:label = "TECH3 file", prov:type = "File", cta:runNumber=13000 ]) // Relations wasGeneratedBy(cta:run13000_EVT3,cta:science_preparation_stage_5270,-) wasGeneratedBy(cta:run13000_TECH3,cta:science_preparation_stage_5270,-) used(cta:science_preparation_stage_5270, cta:run13000_EVT2,-) used(cta:science_preparation_stage_5270, cta:run13000_TECH2,-) used(cta:science_preparation_stage_5270, cta:Stage3Config_5270,-) //wasAttributedTo(cta:run13000_EVT3, cta:cta) //wasAttributedTo(cta:run13000_TECH3, cta:cta) //wasAttributedTo(cta:Stage3Config_5270, cta:cta) // ---------------------------------------------------------------------------------------------------------- // Stage 4 : Science Analysis Stage (Analysis) activity(cta:science_analysis_stage_5300, 2015-08-30T11:45:00, 2015-08-30T12:00:00, [voprov:method_name="Science_Analysis_Stage", voprov:method_version="1.0"]) // Entities Description entity(cta:Stage4Config_5300, [prov:type = "File" ]) // Relations wasGeneratedBy(cta:crab_region_spectrum,cta:science_analysis_stage_5300,-) wasGeneratedBy(cta:crab_region_image,cta:science_analysis_stage_5300,-) used(cta:science_analysis_stage_5300, cta:run13000_EVT3,-) used(cta:science_analysis_stage_5300, cta:run11000_EVT3,-) used(cta:science_analysis_stage_5300, cta:Stage4Config_5300,-) //wasAttributedTo(cta:crab_region_spectrum, cta:cta) //wasAttributedTo(cta:crab_region_image, cta:cta) //wasAttributedTo(cta:Stage4Config_5300, cta:cta) endDocument