Question: How many researchers have the SOC Code (2010) 15-2041 and are the main subject of The Right Stuff (which has Lyndon B. Johnson as a cast member)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "researcher" . ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> "15-2041" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "The Right Stuff" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Lyndon B. Johnson" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: SOC Code (2010)
15-2041
function: FilterConcept
dependencies: 1
inputs: researcher
function: Find
inputs: Lyndon B. Johnson
function: Relate
dependencies: 3
inputs: cast member
backward
function: Find
inputs: The Right Stuff
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
forward
function: FilterConcept
dependencies: 7
inputs: researcher
function: And
dependencies: 2
8
function: Count
dependencies: 9