Question: How many TV networks are affiliated with the official website au.tv.yahoo.com or own ABC?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://au.tv.yahoo.com/" .  } UNION { ?e <owner_of> ?e_1 . ?e_1 <pred:name> "ABC" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://au.tv.yahoo.com/
function: FilterConcept
dependencies: 1
inputs: television network
function: Find
inputs: ABC
function: Relate
dependencies: 3
inputs: owner of
backward
function: FilterConcept
dependencies: 4
inputs: television network
function: Or
dependencies: 2
5
function: Count
dependencies: 6