Question: How many in mathematics include dentistry as a part or include graph theory as a part?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: dentistry
function: Relate
dependencies: 0
inputs: has part
backward
function: FilterConcept
dependencies: 1
inputs: mathematics
function: Find
inputs: graph theory
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: mathematics
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mathematics" .  { ?e <has_part> ?e_1 . ?e_1 <pred:name> "dentistry" .  } UNION { ?e <has_part> ?e_1 . ?e_1 <pred:name> "graph theory" .  } }
Answer: 1