Question: I'd like to know the number of American football teams that are related to sport the type of sport that has sport team William Powell (who has a body weight of 270 lb).
Choices:
35
36
37
38
39
40
41
42
43
44
Program:
function: Find
inputs: William Powell
function: FilterNum
dependencies: 0
inputs: mass
207 pound
=
function: Relate
dependencies: 1
inputs: sport
forward
function: FilterConcept
dependencies: 2
inputs: type of sport
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: American football team
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football team" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "type of sport" . ?e_2 <sport> ?e_1 . ?e_2 <pred:name> "William Powell" . ?e_2 <mass> ?pv . ?pv <pred:unit> "pound" . ?pv <pred:value> "207"^^xsd:double .   }
Answer: 39