What does the "clauses are not together in the source-file" error mean?
Generally, Prolog programs are easier to read when all of the clauses with the same head are grouped together. Note, this is not required, which is why it is only a warning and not an error.
Aquí está cómo se pasan los parámetros extra a la gramática
np(X) --> pro(X).
Here we've used the extra argument to state which pronouns can occur in subject position, and which occur in object position. Thus these rules are the most fundamental, for they give us the basic facts about how these pronouns can be used.