Question: What rock band has the official website http://www.foreigneronline.com and originates in New York City?
Choices:
Talking Heads
Marilyn Manson
Santana
Foreigner
Camel
The Velvet Underground
Blondie
Queen
Journey
Kings of Leon
Answer: Foreigner
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.foreigneronline.com" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "New York City" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.foreigneronline.com
function: FilterConcept
dependencies: 1
inputs: rock band
function: Find
inputs: New York City
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: rock band
function: And
dependencies: 2
5
function: What
dependencies: 6