Question: How many Massachusetts counties have the official website http://www.norfolkcounty.org or are the birthplace of Agnes Moorehead?
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> "county of Massachusetts" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.norfolkcounty.org" .  } UNION { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Agnes Moorehead" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.norfolkcounty.org
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: Find
inputs: Agnes Moorehead
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: county of Massachusetts
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2