Question: To which part of the form of government that is the narrative location of The Three Musketeers (which has Adolphe Menjou as a cast member) does the demonym "fransman" apply?
Choices:
Scotland
masculine
machine learning
Sequatchie County
Chester County
East Thrace
Haywood County
Saint Martin
Torchwood, season 4
The Straits
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Adolphe Menjou" .  ?e <demonym> ?pv . ?pv <pred:value> "fransman" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Adolphe Menjou
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: form of government
function: QueryAttrQualifier
dependencies: 5
inputs: demonym
fransman
applies to part