Question: Which superhero has citizenship in the unitary state with demonym griega?
Choices:
Elektra
Batman
Hercules
Wonder Woman
Tommy Lee
Jules Dassin
Superman
Vangelis
Darwin
Yanni
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
griega
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Relate
dependencies: 2
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 3
inputs: superhero
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "superhero" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "unitary state" . ?e_1 <demonym> ?pv . ?pv <pred:value> "griega" .   }
Answer: Hercules