Question: How many musicals have Joshua Logan as director or have http://www.sonypictures.com/homevideo/rent/index.html as the official website?
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> "musical" .  { ?e <director> ?e_1 . ?e_1 <pred:name> "Joshua Logan" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.sonypictures.com/homevideo/rent/index.html" .  } }
Program:
function: Find
inputs: Joshua Logan
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: musical
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.sonypictures.com/homevideo/rent/index.html
function: FilterConcept
dependencies: 4
inputs: musical
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2