Question: How many programming languages have the programming paradigm called procedural programming or are named after Media Asia Entertainment Group?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "programming language" .  { ?e <programming_paradigm> ?e_1 . ?e_1 <pred:name> "procedural programming" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Media Asia Entertainment Group" .  } }
Program:
function: Find
inputs: procedural programming
function: Relate
dependencies: 0
inputs: programming paradigm
backward
function: FilterConcept
dependencies: 1
inputs: programming language
function: Find
inputs: Media Asia Entertainment Group
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: programming language
function: Or
dependencies: 2
5
function: Count
dependencies: 6