Question: How many chemical compounds do we know whose CAS Registry Number is 83-88-5 or that is said to be the same as orange (the one whose OKPD code of the good or service is 01.13.22.110) ?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" .  { ?e <CAS_Registry_Number> ?pv . ?pv <pred:value> "83-88-5" .  } UNION { ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> "orange" . ?e_1 <OKPD_code_of_the_good_or_service> ?pv . ?pv <pred:value> "01.13.22.110" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: CAS Registry Number
83-88-5
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Find
inputs: orange
function: FilterStr
dependencies: 3
inputs: OKPD code of the good or service
01.13.22.110
function: Relate
dependencies: 4
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 5
inputs: chemical compound
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 1