Question: How many medicines study pedophilia or have the Iconclass notation 49G64?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medicine" .  { ?e_1 <studied_by> ?e . ?e_1 <pred:name> "pedophilia" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "49G64" .  } }
Program:
function: Find
inputs: pedophilia
function: Relate
dependencies: 0
inputs: studied by
forward
function: FilterConcept
dependencies: 1
inputs: medicine
function: FindAll
function: FilterStr
dependencies: 3
inputs: Iconclass notation
49G64
function: FilterConcept
dependencies: 4
inputs: medicine
function: Or
dependencies: 2
5
function: Count
dependencies: 6