Question: How many baseball teams are named after a cardinal and own the Instagram account raysbaseball?
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> "baseball team" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "cardinal" .  ?e <Instagram_username> ?pv . ?pv <pred:value> "raysbaseball" .  }
Program:
function: Find
inputs: cardinal
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: baseball team
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
raysbaseball
function: FilterConcept
dependencies: 4
inputs: baseball team
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0