Question: At which street address is the New Jersey HQ of Forbes, titled Forbes?
Choices:
2702 Love Field Drive
1101 Main Administration Building
287 Rivers St, Boone, NC, 28608
Chancelry Building [10]
499 Washington Blvd
1801 E Cotati Ave, Rohnert Park, CA, 94928-3609
Säbener Straße 51-57, 81547 München
Executive Office, 2nd Floor Library, Kent, OH, 44242-0001
42 W. Warren Ave.
Marlborough House, Pall Mall
Answer: 499 Washington Blvd
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Forbes" . ?e_1 <title> ?pv . ?pv <pred:value> "Forbes" . ?e_2 <pred:name> "Jersey City" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }
Program:
function: Find
inputs: Forbes
function: FilterStr
dependencies: 0
inputs: title
Forbes
function: Find
inputs: Jersey City
function: QueryRelationQualifier
dependencies: 1
2
inputs: headquarters location
located at street address