Question: How many natural languages are the native language of Marilyn Monroe (whose hair color is blond) and originate in Portugal?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "natural language" . ?e_1 <native_language> ?e . ?e_1 <pred:name> "Marilyn Monroe" . ?e_1 <hair_color> ?e_2 . ?e_2 <pred:name> "blond" .  ?e <country_of_origin> ?e_3 . ?e_3 <pred:name> "Portugal" .  }
Program:
function: Find
inputs: blond
function: Relate
dependencies: 0
inputs: hair color
backward
function: Find
inputs: Marilyn Monroe
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: native language
forward
function: FilterConcept
dependencies: 4
inputs: natural language
function: Find
inputs: Portugal
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: natural language
function: And
dependencies: 5
8
function: Count
dependencies: 9