Question: How many American football teams have their headquarters located in Minnesota (whose native title is State of Minnesota) or are a member of the National Football League?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football team" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Minnesota" . ?e_1 <native_label> ?pv . ?pv <pred:value> "State of Minnesota" .  } UNION { ?e <member_of> ?e_1 . ?e_1 <pred:name> "National Football League" .  } }
Program:
function: Find
inputs: Minnesota
function: FilterStr
dependencies: 0
inputs: native label
State of Minnesota
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: American football team
function: Find
inputs: National Football League
function: Relate
dependencies: 4
inputs: member of
backward
function: FilterConcept
dependencies: 5
inputs: American football team
function: Or
dependencies: 3
6
function: Count
dependencies: 7