Needed in 8 hours or less
Instructions:
- Before conducting this practical, do install the RDFLIB library in your anaconda using the command: pip install rdflib
- You are expected to access a link of your choice for a movie/film and return the following:
- The name of the movie director
- All the movies directed by the identified director
- All the actors for each movie
- Each file name created should be saved with the name of each movie.
N.B: for each returned output, you are expected to also show the URI to their pages.
The results of your queries should be written to text files.
N.B: You should know and be able to write the output to a text file in python.
example
|
All the data printed on the txt file must show it’s URI next to it
You must respect the interface of an agent. Your test file should access your agent file and write your output to a file


0 comments