Question: How many crimes are in country of France or have Iconclass notation 44G544?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "crime" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "44G544" .  } }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: crime
function: FindAll
function: FilterStr
dependencies: 3
inputs: Iconclass notation
44G544
function: FilterConcept
dependencies: 4
inputs: crime
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2