From statistical relational to neurosymbolic artificial intelligence