Question: How many museums have the Instagram username of themuseumofmodernart or are the employer of Wonder Woman (the one that lives in a lifestyle of superhero)?
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> "museum" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "themuseumofmodernart" .  } UNION { ?e_1 <employer> ?e . ?e_1 <pred:name> "Wonder Woman" . ?e_1 <lifestyle> ?e_2 . ?e_2 <pred:name> "superhero" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
themuseumofmodernart
function: FilterConcept
dependencies: 1
inputs: museum
function: Find
inputs: superhero
function: Relate
dependencies: 3
inputs: lifestyle
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: employer
forward
function: FilterConcept
dependencies: 7
inputs: museum
function: Or
dependencies: 2
8
function: Count
dependencies: 9