Question: How many conservatories are the education place of Jessica Chastain or have the official website http://consmilano.it?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "conservatory" .  { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Jessica Chastain" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://consmilano.it" .  } }
Program:
function: Find
inputs: Jessica Chastain
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: conservatory
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://consmilano.it
function: FilterConcept
dependencies: 4
inputs: conservatory
function: Or
dependencies: 2
5
function: Count
dependencies: 6