Question: How many television stations have Sigourney Weaver as a member or a Pinterest username of nbctv?
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> "television station" .  { ?e_1 <member_of> ?e . ?e_1 <pred:name> "Sigourney Weaver" .  } UNION { ?e <Pinterest_username> ?pv . ?pv <pred:value> "nbctv" .  } }
Program:
function: Find
inputs: Sigourney Weaver
function: Relate
dependencies: 0
inputs: member of
forward
function: FilterConcept
dependencies: 1
inputs: television station
function: FindAll
function: FilterStr
dependencies: 3
inputs: Pinterest username
nbctv
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6