Question: What literary work has the official website http://www.prettylittleliars.com/ (this statement's language is English) and derives Pretty Little Liars (that is originally aired on Freeform)?
Choices:
Cloud Atlas
Harry Potter and the Chamber of Secrets
Harry Potter and the Philosopher's Stone
Sense and Sensibility
Harry Potter and the Prisoner of Azkaban
Dune
Trainspotting
Harry Potter and the Order of the Phoenix
Oliver Twist
Pretty Little Liars
Answer: Pretty Little Liars
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.prettylittleliars.com/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Pretty Little Liars" . ?e_1 <original_network> ?e_2 . ?e_2 <pred:name> "Freeform" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.prettylittleliars.com/
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: literary work
function: Find
inputs: Freeform
function: Relate
dependencies: 4
inputs: original network
backward
function: Find
inputs: Pretty Little Liars
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: derivative work
backward
function: FilterConcept
dependencies: 8
inputs: literary work
function: And
dependencies: 3
9
function: What
dependencies: 10