Question: Which TV series includes as a character the Julius Caesar that July is the namesake of ?
Choices:
Battlestar Galactica
Roots
Edge of Darkness
Cleopatra
Minority Report
The Stand
Arrested Development
George Washington
The Ten Commandments
The Pacific
Program:
function: Find
inputs: July
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <characters> ?e_1 . ?e_1 <pred:name> "Julius Caesar" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "July" .   }
Answer: Cleopatra