@Grok (v2) just passed my #SPARQL query generation test on the #DBpedia #KnowledgeGraph! It can now generate a link resolving to all movies directed by Spike Lee from my test prompt.

https://x.com/i/grok/share/mnGYuedRFavNWaQk4XxjUPVm1

Links are shareable too—this is HUGE for #GenAI & #SocialMedia posts!

* Using the DBpedia endpoint, list all movies by Spike Lee and encode the sparql query in a clickable link.

To list all movies by Spike Lee using the DBpedia endpoint, you can use the following SPARQL query. Here's how to construct it: 1. **Identify the Spike Lee Resource**: Spike Lee's resource on DBpedia is `<http://dbpedia.org/resource/Spike_Lee>`. 2. **Query Structure**: - Use the `dbo:director` property to find movies where Spike Lee is the director. - Use `rdfs:label` to get the titles of the movies. Here is the SPARQL query: ```sparql PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?movie ?title WHERE { ?movie dbo:director <http://dbpedia.org/resource/Spike_Lee> ; rdfs:label ?title . FILTER (lang(?title) =

X (formerly Twitter)
Here's the #screencast demo of Grok generating a #SPARQL query results page for a #DBpedia #KnowledgeGraph query.