Positive First-order Logic on Words and Graphs (Logical Methods in Computer Science, 2023)