Question: How many politicians are either said to be the same as a crown prince or are said to be the same as the Pope?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: crown prince
function: Relate
dependencies: 0
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 1
inputs: politician
function: Find
inputs: pope
function: Relate
dependencies: 3
inputs: said to be the same as
forward
function: FilterConcept
dependencies: 4
inputs: politician
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> "politician" .  { ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> "crown prince" .  } UNION { ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:name> "pope" .  } }
Answer: 0