Question: How many taxons have the taxon name of Brassica oleracea var. capitata or are the main subject of Jurassic Park (the one whose ISBN-10 is 2-221-07022-4)?
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> "taxon" .  { ?e <taxon_name> ?pv . ?pv <pred:value> "Brassica oleracea var. capitata" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Jurassic Park" . ?e_1 <ISBN-10> ?pv . ?pv <pred:value> "2-221-07022-4" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: taxon name
Brassica oleracea var. capitata
function: FilterConcept
dependencies: 1
inputs: taxon
function: Find
inputs: Jurassic Park
function: FilterStr
dependencies: 3
inputs: ISBN-10
2-221-07022-4
function: Relate
dependencies: 4
inputs: main subject
forward
function: FilterConcept
dependencies: 5
inputs: taxon
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2