Question: How many prefecture exists in Japan having ISNI 0000 0001 2177 0977 or name equal to にいがたけん?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2177 0977" .  } UNION { ?e <name_in_kana> ?pv . ?pv <pred:value> "にいがたけん" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2177 0977
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: FindAll
function: FilterStr
dependencies: 3
inputs: name in kana
にいがたけん
function: FilterConcept
dependencies: 4
inputs: prefecture of Japan
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2