Question: How many film production companies have the Twitter username yrf or have the legal form of a subsidiary company?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film production company" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "yrf" .  } UNION { ?e <legal_form> ?e_1 . ?e_1 <pred:name> "subsidiary company" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
yrf
function: FilterConcept
dependencies: 1
inputs: film production company
function: Find
inputs: subsidiary company
function: Relate
dependencies: 3
inputs: legal form
backward
function: FilterConcept
dependencies: 4
inputs: film production company
function: Or
dependencies: 2
5
function: Count
dependencies: 6