Question: How many TV serie episodes are contained in Star Trek: The Next Generation (the one that has LeVar Burton as a cast member) ?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: Find
inputs: LeVar Burton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Star Trek: The Next Generation" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "LeVar Burton" .   }
Answer: 6