Question: Which person who weighs less than 75 kilograms has the sport number 99?
Choices:
Richard Gere
Alou Diarra
Theofanis Gekas
Ray Allen
William Henry Harrison
Thiago Silva
Vince Grella
Jermaine Easter
Sylvester Stallone
Lincoln
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: sport number
99
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterNum
dependencies: 3
inputs: mass
75 kilogram
!=
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <sport_number> ?pv . ?pv <pred:value> "99" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "75"^^xsd:double ) .  }
Answer: Lincoln