pub fn copy_pattern(
    triples: Vec<Statement<'_>>
) -> Result<Vec<Statement<'_>>, Box<dyn Error>>