i have a dataframe with a column of resource_ids. I would like to do a query foreach resource_id.
For example:
- resource_id:
'http://dbpedia.org/resource/Alligator_(film)'
- query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX type: <http://dbpedia.org/ontology/film/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT ?title
WHERE {
<http://dbpedia.org/resource/Alligator_(film)> dbp:title ?title.
}
Thanks in advance!