Question: How many mathematics either have the field of UMLS CUI of C0681932 or are a part of Philadelphia (the one that uses the language English)?
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> "mathematics" .  { ?e <UMLS_CUI> ?pv . ?pv <pred:value> "C0681932" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "Philadelphia" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: UMLS CUI
C0681932
function: FilterConcept
dependencies: 1
inputs: mathematics
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: part of
backward
function: FilterConcept
dependencies: 7
inputs: mathematics
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 1