Question: How many TV production companies are a business division of 20th Century Fox or are the distributor of Dallas (the one whose official website is https://web.archive.org/web/20151226073041/http://www.tntdrama.com/shows/dallas.html)?
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> "TV production company" .  { ?e_1 <business_division> ?e . ?e_1 <pred:name> "20th Century Fox" .  } UNION { ?e_1 <distributor> ?e . ?e_1 <pred:name> "Dallas" . ?e_1 <official_website> ?pv . ?pv <pred:value> "https://web.archive.org/web/20151226073041/http://www.tntdrama.com/shows/dallas.html" .  } }
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: business division
forward
function: FilterConcept
dependencies: 1
inputs: TV production company
function: Find
inputs: Dallas
function: FilterStr
dependencies: 3
inputs: official website
https://web.archive.org/web/20151226073041/http://www.tntdrama.com/shows/dallas.html
function: Relate
dependencies: 4
inputs: distributor
forward
function: FilterConcept
dependencies: 5
inputs: TV production company
function: Or
dependencies: 2
6
function: Count
dependencies: 7