Question: How many classes of awards have the motto text as "Per aspera ad astra" or have the official website of http://www.japan-academy-prize.jp/?
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> "class of award" .  { ?e <motto_text> ?pv . ?pv <pred:value> "Per aspera ad astra" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.japan-academy-prize.jp/" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: motto text
Per aspera ad astra
function: FilterConcept
dependencies: 1
inputs: class of award
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.japan-academy-prize.jp/
function: FilterConcept
dependencies: 4
inputs: class of award
function: Or
dependencies: 2
5
function: Count
dependencies: 6