Question: How many land-grant universities produce the North African Campaign as product or material or are the employer of Carl Sagan?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "land-grant university" .  { ?e <product_or_material_produced> ?e_1 . ?e_1 <pred:name> "North African Campaign" .  } UNION { ?e_1 <employer> ?e . ?e_1 <pred:name> "Carl Sagan" .  } }
Program:
function: Find
inputs: North African Campaign
function: Relate
dependencies: 0
inputs: product or material produced
backward
function: FilterConcept
dependencies: 1
inputs: land-grant university
function: Find
inputs: Carl Sagan
function: Relate
dependencies: 3
inputs: employer
forward
function: FilterConcept
dependencies: 4
inputs: land-grant university
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1