Question: How many literary works were made based on Pretty Little Liars (the one that is shot in Los Angeles) and whose OCLC control number is 185812519 ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Pretty Little Liars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: literary work
function: FindAll
function: FilterStr
dependencies: 6
inputs: OCLC control number
185812519
function: FilterConcept
dependencies: 7
inputs: literary work
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Pretty Little Liars" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  ?e <OCLC_control_number> ?pv . ?pv <pred:value> "185812519" .  }
Answer: 0