Values, produced by variables (activity, activity2 and date), are employed to generate a SPARQL query, able to retrieve surname of such persons which perform a specific activity/job/profession in a determinate interval.
the previous automaton may process a query as the following one: (1) Tutti gli archeologi che sono stati anche scrittori nati nel '900 (All the archaeologists who have been also writers and were born in 19th century) 3 .