Question: How many writers are the spouse of Sam Wood who uses the English language?
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> "writer" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Sam Wood" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .   }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Sam Wood
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: spouse
forward
function: FilterConcept
dependencies: 4
inputs: writer
function: Count
dependencies: 5
Answer: 0