Question: How many natural languages are from Croatia or belong to languages used by iOS ?
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> "natural language" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Croatia" .  } UNION { ?e_1 <language_of_work_or_name> ?e . ?e_1 <pred:name> "iOS" .  } }
Program:
function: Find
inputs: Croatia
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: natural language
function: Find
inputs: iOS
function: Relate
dependencies: 3
inputs: language of work or name
forward
function: FilterConcept
dependencies: 4
inputs: natural language
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2