Question: What baseball team is headquartered in the city established on 1776-06-29?
Choices:
Hiroshima Toyo Carp
San Francisco Art Institute
Colorado Rockies
Lucasfilm
San Francisco Giants
American Zoetrope
California College of the Arts
Hanshin Tigers
Yomiuri Giants
University of California, San Francisco
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: inception
1776-06-29
=
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: baseball team
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <inception> ?pv . ?pv <pred:date> "1776-06-29"^^xsd:date .   }
Answer: San Francisco Giants