Question: i want to know how many airlines have the country of Netherlands or have a Twitter username of lufthansa
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "airline" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Netherlands" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "lufthansa" .  } }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: airline
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
lufthansa
function: FilterConcept
dependencies: 4
inputs: airline
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2