Question: What is the number of programming languages that are the origin of the name C# or that has the media type application/x-perl
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "programming language" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> "C#" .  } UNION { ?e <media_type> ?pv . ?pv <pred:value> "application/x-perl" .  } }
Program:
function: Find
inputs: C#
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: programming language
function: FindAll
function: FilterStr
dependencies: 3
inputs: media type
application/x-perl
function: FilterConcept
dependencies: 4
inputs: programming language
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3