Question: How many architectural styles are the style of architecture of the National Gallery whose ISNI is 0000 0001 2342 2001 or are the architectural style of St. Augustine whose country is Germany?
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> "architectural style" .  { ?e_1 <architectural_style> ?e . ?e_1 <pred:name> "National Gallery" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 2342 2001" .  } UNION { ?e_1 <architectural_style> ?e . ?e_1 <pred:name> "St. Augustine" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Germany" .  } }
Program:
function: Find
inputs: National Gallery
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2342 2001
function: Relate
dependencies: 1
inputs: architectural style
forward
function: FilterConcept
dependencies: 2
inputs: architectural style
function: Find
inputs: Germany
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: St. Augustine
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: architectural style
forward
function: FilterConcept
dependencies: 8
inputs: architectural style
function: Or
dependencies: 3
9
function: Count
dependencies: 10