Thanks for the report. This indeed is a bug and I created the issue 5790 in our internal issue tracker.
I think right now the only workaround is to declare the starwars namespace as the default namespace for the query (using @prefix(_: "...")
) so fragments use the default namespace (as long as all your fragments use the same namespace).
Best,
Evren