Question: How many basketball teams are located in the U.S. city that is the working location of Paul Newman who was born on 1954-02-08?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_3 <work_location> ?e_1 . ?e_3 <pred:name> "Paul Newman" . ?e_3 <date_of_birth> ?pv . ?pv <pred:date> "1954-02-08"^^xsd:date .   }
Program:
function: Find
inputs: Paul Newman
function: FilterDate
dependencies: 0
inputs: date of birth
1954-02-08
=
function: Relate
dependencies: 1
inputs: work location
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: Count
dependencies: 5