Question: How many films were either published after 2006 or were published by Kikuko Inou that has a given name in native language of いのうえ きくこ?
Choices:
683
684
685
686
687
688
689
690
691
692
Answer: 691
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" .  { ?e <author> ?e_1 . ?e_1 <pred:name> "Kikuko Inoue" . ?e_1 <name_in_kana> ?pv . ?pv <pred:value> "いのうえ きくこ" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2006 ) .  } }
Program:
function: Find
inputs: Kikuko Inoue
function: FilterStr
dependencies: 0
inputs: name in kana
いのうえ きくこ
function: Relate
dependencies: 1
inputs: author
backward
function: FilterConcept
dependencies: 2
inputs: film
function: FindAll
function: FilterYear
dependencies: 4
inputs: publication date
2006
>
function: FilterConcept
dependencies: 5
inputs: film
function: Or
dependencies: 3
6
function: Count
dependencies: 7