Question: What number of languages are based on Marathi or have the Glottolog code of croa1245?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" .  { ?e <based_on> ?e_1 . ?e_1 <pred:name> "Marathi" .  } UNION { ?e <Glottolog_code> ?pv . ?pv <pred:value> "croa1245" .  } }
Program:
function: Find
inputs: Marathi
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: language
function: FindAll
function: FilterStr
dependencies: 3
inputs: Glottolog code
croa1245
function: FilterConcept
dependencies: 4
inputs: language
function: Or
dependencies: 2
5
function: Count
dependencies: 6