Question: How many airlines have the Twitter username lufthansa or operates Boeing 747?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "airline" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "lufthansa" .  } UNION { ?e <item_operated> ?e_1 . ?e_1 <pred:name> "Boeing 747" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
lufthansa
function: FilterConcept
dependencies: 1
inputs: airline
function: Find
inputs: Boeing 747
function: Relate
dependencies: 3
inputs: item operated
backward
function: FilterConcept
dependencies: 4
inputs: airline
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2