Question: Since when is 'Do the right thing' the motto of a business whose headquarters are in Mountain View (the street address of this statement is 1600 Amphitheatre Parkway) ?
Choices:
1600
1711
2005-01-26
2002-01-01
1777-05-22
2015
1948-01-04
1997-04-27
2006-04-04
2017-02-28
Answer: 2015
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Mountain View" . [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address> ?qpv_1 . ?qpv_1 <pred:value> "1600 Amphitheatre Parkway" . ?e <motto_text> ?pv . ?pv <pred:value> "Do the right thing" . [ <pred:fact_h> ?e ; <pred:fact_r> <motto_text> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Mountain View
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: QFilterStr
dependencies: 1
inputs: located at street address
1600 Amphitheatre Parkway
function: FilterConcept
dependencies: 2
inputs: business
function: QueryAttrQualifier
dependencies: 3
inputs: motto text
Do the right thing
start time