Question: How many Screen Actors Guild Award nominations are there for The X-Files (that has Lucy Lawless as a cast member)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Screen Actors Guild Award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The X-Files" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Lucy Lawless" .   }
Program:
function: Find
inputs: Lucy Lawless
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Screen Actors Guild Award
function: Count
dependencies: 5