Question: What person's family has the dynasty of Germany?
Choices:
Robert Smith
Victoria
Frederick II of Prussia
George III of Great Britain
Patrick O'Neal
Alexander
Chulalongkorn
James Newton Howard
Charles, Prince of Wales
George V
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: dynasty
function: Relate
dependencies: 2
inputs: family
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <family> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "dynasty" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Germany" .   }
Answer: Frederick II of Prussia