Question: How many ice hockey teams are represented by the official website capitals.nhl.com or drafted Jeff Daniels of the Pittsburgh Penguins?
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> "ice hockey team" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://capitals.nhl.com/" .  } UNION { ?e_1 <drafted_by> ?e . ?e_1 <pred:name> "Jeff Daniels" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Pittsburgh Penguins" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://capitals.nhl.com/
function: FilterConcept
dependencies: 1
inputs: ice hockey team
function: Find
inputs: Pittsburgh Penguins
function: Relate
dependencies: 3
inputs: member of sports team
backward
function: Find
inputs: Jeff Daniels
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: drafted by
forward
function: FilterConcept
dependencies: 7
inputs: ice hockey team
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2