verify dbpedia uris
links to wikipedia articles are not necessarily expressed with the same uri that dbpedia uses. that doesn't matter when querying wikipedia with a browser (where the server will, for example, serve the page about "A" when queried with %41), and even dbpedia will return triples, but the uris won't match because no iri normalization may be done in rdf.
dbpedia's/wikipedia's canonical form should be determined before adding the foaf:isPrimaryTopicOf statements to the movie_links.nt file.