Question: How many short films use a color whose short name is, by abbreviation, b/w ?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" . ?e <color> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "color" . ?e_1 <short_name> ?pv . ?pv <pred:value> "b/w" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <object_has_role> ?qpv . ?qpv <pred:value> "abbreviation" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
b/w
function: QFilterStr
dependencies: 1
inputs: object has role
abbreviation
function: FilterConcept
dependencies: 2
inputs: color
function: Relate
dependencies: 3
inputs: color
backward
function: FilterConcept
dependencies: 4
inputs: short film
function: Count
dependencies: 5
Answer: 12