Question: What are the number of activities whose official website is http://gh5.guitarhero.com/ or whose short name is platform ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://gh5.guitarhero.com/" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "platform" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://gh5.guitarhero.com/
function: FilterConcept
dependencies: 1
inputs: activity
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
platform
function: FilterConcept
dependencies: 4
inputs: activity
function: Or
dependencies: 2
5
function: Count
dependencies: 6