Question: How many natural languages whose ISO 639-2 code is fas or whose distribution map is Rozsireni madarstiny.PNG?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "natural language" .  { ?e <ISO_639-2_code> ?pv . ?pv <pred:value> "fas" .  } UNION { ?e <distribution_map> ?pv . ?pv <pred:value> "Rozsireni madarstiny.PNG" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 639-2 code
fas
function: FilterConcept
dependencies: 1
inputs: natural language
function: FindAll
function: FilterStr
dependencies: 3
inputs: distribution map
Rozsireni madarstiny.PNG
function: FilterConcept
dependencies: 4
inputs: natural language
function: Or
dependencies: 2
5
function: Count
dependencies: 6