Question: How many Indiana counties have the official website www.co.shelby.in.us or the capital Indianapolis?
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 Indiana" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.co.shelby.in.us" .  } UNION { ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Indianapolis" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.co.shelby.in.us
function: FilterConcept
dependencies: 1
inputs: county of Indiana
function: Find
inputs: Indianapolis
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: county of Indiana
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2