Question: How many professions belong to the military branch of Royal Navy or are said to match the profession of pope ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" .  { ?e <military_branch> ?e_1 . ?e_1 <pred:name> "Royal Navy" .  } UNION { ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> "pope" .  } }
Program:
function: Find
inputs: Royal Navy
function: Relate
dependencies: 0
inputs: military branch
backward
function: FilterConcept
dependencies: 1
inputs: profession
function: Find
inputs: pope
function: Relate
dependencies: 3
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0