Question: How many professions apply to the jurisdiction over a sovereign state which is the country of Anna Karenina (starring Jacqueline Bisset) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Jacqueline Bisset
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 6
inputs: profession
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "Anna Karenina" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Jacqueline Bisset" .   }
Answer: 4