Question: What is the relation between Richard Rodgers (born in 1992) and Worcester (an administrative division of Worcester County)?
Choices:
designated as terrorist by
relative
platform
had as last meal
parent astronomical body
replaces
after a work by
record label
place of birth
publisher
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Rodgers" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1992 . ?e_2 <pred:name> "Worcester" . ?e_3 <contains_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Worcester County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Richard Rodgers
function: FilterYear
dependencies: 0
inputs: date of birth
1992
=
function: Find
inputs: Worcester County
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Worcester
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5