Question: How many universities have a Giphy account by the name of harvard or an architectural style of Romanticism?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" .  { ?e <Giphy_username> ?pv . ?pv <pred:value> "harvard" .  } UNION { ?e <architectural_style> ?e_1 . ?e_1 <pred:name> "Romanticism" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Giphy username
harvard
function: FilterConcept
dependencies: 1
inputs: university
function: Find
inputs: Romanticism
function: Relate
dependencies: 3
inputs: architectural style
backward
function: FilterConcept
dependencies: 4
inputs: university
function: Or
dependencies: 2
5
function: Count
dependencies: 6