Question: How many media franchises included George Clooney as a cast member or have an Instagram account named startrek?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "media franchise" .  { ?e <cast_member> ?e_1 . ?e_1 <pred:name> "George Clooney" .  } UNION { ?e <Instagram_username> ?pv . ?pv <pred:value> "startrek" .  } }
Program:
function: Find
inputs: George Clooney
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: media franchise
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
startrek
function: FilterConcept
dependencies: 4
inputs: media franchise
function: Or
dependencies: 2
5
function: Count
dependencies: 6