Question: How many dogs are yellow in color and are named after Sussex?
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> "dog" . ?e <color> ?e_1 . ?e_1 <pred:name> "yellow" .  ?e <named_after> ?e_2 . ?e_2 <pred:name> "Sussex" .  }
Program:
function: Find
inputs: yellow
function: Relate
dependencies: 0
inputs: color
backward
function: FilterConcept
dependencies: 1
inputs: dog
function: Find
inputs: Sussex
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: dog
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0