Question: How many programming languages are there whose file extension is pyo or GitHub username is python?
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> "programming language" .  { ?e <file_extension> ?pv . ?pv <pred:value> "pyo" .  } UNION { ?e <GitHub_username> ?pv . ?pv <pred:value> "python" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: file extension
pyo
function: FilterConcept
dependencies: 1
inputs: programming language
function: FindAll
function: FilterStr
dependencies: 3
inputs: GitHub username
python
function: FilterConcept
dependencies: 4
inputs: programming language
function: Or
dependencies: 2
5
function: Count
dependencies: 6