Question: What is the relationship between Mike Scully and Springfield (the one that is the capital of Hampden County)?
Choices:
composer
place of birth
country of citizenship
terminus
musical conductor
performer
genre
connects with
office held by head of government
source of material
Program:
function: Find
inputs: Mike Scully
function: Find
inputs: Hampden County
function: Relate
dependencies: 1
inputs: capital of
backward
function: Find
inputs: Springfield
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mike Scully" . ?e_2 <pred:name> "Springfield" . ?e_2 <capital_of> ?e_3 . ?e_3 <pred:name> "Hampden County" . ?e_1 ?p ?e_2 .  }
Answer: place of birth