Sources
Using the DBpedia endpoint, list all movies produced by Ridley Scott and encode there sparql query in a clickable link.
Sure, here's a SPARQL query that retrieves all movies produced by Ridley Scott from the DBpedia endpoint:
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> SELECT DISTINCT ?movie WHERE { ?movie a dbo:Film ; dct:creator ?creator . ?creator rdfs:label "Ridley Scott"@en . }
Please note that this query retrieves movies where Ridley Scott is listed as a creator, which could include roles other than producer. DBpedia does not have specific data for movie producers.
To encode this query into a clickable link, you can use the DBpedia SPARQL endpoint's URL like this:
https://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=PREFIX+dbo%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2F%3E+PREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+SELECT+DISTINCT+%3Fmovie+WHERE+%7B+%3Fmovie+a+dbo%3AFilm+%3B+dct%3Acreator+%3Fcreator+.+%3Fcreator+rdfs%3Alabel+%22Ridley+Scott%22%40en+.+%7D&format=text%2Fhtml&timeout=0&debug=on
Here's the same link, but formatted for better readability:
This Chat is read-only. Login to resume chatting.