Question: How many languages are said to be the same as Serbo-Croatian or have a number of speakers greater than 470?
Choices:
41
42
43
44
45
46
47
48
49
50
Program:
function: Find
inputs: Serbo-Croatian
function: Relate
dependencies: 0
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 1
inputs: language
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of speakers
470
>
function: FilterConcept
dependencies: 4
inputs: language
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" .  { ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> "Serbo-Croatian" .  } UNION { ?e <number_of_speakers> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "470"^^xsd:double ) .  } }
Answer: 45