Observed numerous Artichoke Flies on an Artichoke Thistle (Cynara cardunculus). The second photo indicates a possible female as the ovipositor was significantly longer.
" ... females exploiting the artichoke flower heads need a longer and wider ovipositor to penetrate and lay their eggs between the bracts."