Question: Which baseball team's official name is the New York Gothams (the start time of this statement is 1883)?
Choices:
Los Angeles Dodgers
Seattle Mariners
San Diego Padres
Chiba Lotte Marines
San Francisco Giants
Detroit Tigers
Texas Rangers
Houston Astros
Colorado Rockies
Cleveland Indians
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
New York Gothams
function: QFilterYear
dependencies: 1
inputs: start time
1883
=
function: FilterConcept
dependencies: 2
inputs: baseball team
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <official_name> ?pv . ?pv <pred:value> "New York Gothams" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:year> 1883 .  }
Answer: San Francisco Giants