Question: How many programming languages have the official website of https://www.python.org/ or is different from Python (the one whose media type is application/x-python-code)?
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 <official_website> ?pv . ?pv <pred:value> "https://www.python.org/" .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> "Python" . ?e_1 <media_type> ?pv . ?pv <pred:value> "application/x-python-code" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.python.org/
function: FilterConcept
dependencies: 1
inputs: programming language
function: Find
inputs: Python
function: FilterStr
dependencies: 3
inputs: media type
application/x-python-code
function: Relate
dependencies: 4
inputs: different from
forward
function: FilterConcept
dependencies: 5
inputs: programming language
function: Or
dependencies: 2
6
function: Count
dependencies: 7