Question: How many positions have the Twitter username of FLOTUS or are said to be the same as president (the one that is the position of Donald M. Payne)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "position" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "FLOTUS" .  } UNION { ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:name> "president" . ?e_2 <position_held> ?e_1 . ?e_2 <pred:name> "Donald M. Payne" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
FLOTUS
function: FilterConcept
dependencies: 1
inputs: position
function: Find
inputs: Donald M. Payne
function: Relate
dependencies: 3
inputs: position held
forward
function: Find
inputs: president
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: said to be the same as
forward
function: FilterConcept
dependencies: 7
inputs: position
function: Or
dependencies: 2
8
function: Count
dependencies: 9