Question: Where was the location of the primary school in which Robert Byrd was educated?
Choices:
Wayne County
Detroit
Essex County
West Virginia
Villanueva building
beginning
Earth
St James's Church, Piccadilly
Main building of Moscow State University
Grand Rapids
Answer: West Virginia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robert Byrd" . ?e_2 <pred:name> "primary school" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <location> ?qpv .  }
Program:
function: Find
inputs: Robert Byrd
function: Find
inputs: primary school
function: QueryRelationQualifier
dependencies: 0
1
inputs: educated at
location