Question: How many sport disciplines come from England (the one that is the origin country of Yorkshire Terrier)?
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> "sport discipline" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "England" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> "Yorkshire Terrier" .   }
Program:
function: Find
inputs: Yorkshire Terrier
function: Relate
dependencies: 0
inputs: country of origin
forward
function: Find
inputs: England
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: sport discipline
function: Count
dependencies: 5
Answer: 1