Question: Tell me the number of art forms who has famous person P!nk or is the industry that   E. W. Scripps Company belongs to
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> "art form" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "P!nk" .  } UNION { ?e_1 <industry> ?e . ?e_1 <pred:name> "E. W. Scripps Company" .  } }
Program:
function: Find
inputs: P!nk
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: art form
function: Find
inputs: E. W. Scripps Company
function: Relate
dependencies: 3
inputs: industry
forward
function: FilterConcept
dependencies: 4
inputs: art form
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1