Question: What visual artwork is adapted from South Park (that has Marc Shaiman as a voice actor) and has the release date that is prior to 2002 in Germany?
Choices:
South Park: Bigger, Longer & Uncut
Training Day
Talk to Her
Demolition Man
There's Something About Mary
Pleasantville
Rebecca
The Fifth Element
A Prairie Home Companion
Bonnie and Clyde
Answer: South Park: Bigger, Longer & Uncut
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "South Park" . ?e_1 <voice_actor> ?e_2 . ?e_2 <pred:name> "Marc Shaiman" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" .  }
Program:
function: Find
inputs: Marc Shaiman
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: South Park
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 6
inputs: publication date
2002
<
function: QFilterStr
dependencies: 7
inputs: place of publication
Germany
function: FilterConcept
dependencies: 8
inputs: visual artwork
function: And
dependencies: 5
9
function: What
dependencies: 10