Question: How many market towns contain A.S. Roma or are the birthplace of Terry Jones (the one that is the screenwriter of Monty Python and the Holy Grail)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: A.S. Roma
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: market town
function: Find
inputs: Monty Python and the Holy Grail
function: Relate
dependencies: 3
inputs: screenwriter
forward
function: Find
inputs: Terry Jones
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of birth
forward
function: FilterConcept
dependencies: 7
inputs: market town
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" .  { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "A.S. Roma" .  } UNION { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Terry Jones" . ?e_2 <screenwriter> ?e_1 . ?e_2 <pred:name> "Monty Python and the Holy Grail" .  } }
Answer: 0