Why does DBpedia use multiple dictionaries for the same attributes?
I need to get data on all possible films. For each film, I noticed that it has the words dbpedia-owl and dbpprop for producers, directors, etc. I retrieve the attribute with the following query:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?star_name WHERE { <http://dbpedia.org/resource/Goal_III:_Taking_on_the_World> dbpedia-owl:starring ?star. ?star foaf:name ?star_name }
I will have the page id of each movie, and then I will get stars and producers. For some, I think dbpedia-owl works for some dbpprop works.
I am puzzled by this. I need to write code in Python to run this query for each movie. So every time I need to check that the result is zero, then run the code for another dictionary.
source share