Question: How many Japanese prefectures have a native label of _??_ and a Corporate Number (Japan) of 5000020150002?
Choices:
series spin-off
model item
afflicts
educated at
developer
given name
filmography
headquarters location
occupant
talk show guest
Answer: headquarters location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Comcast" . ?e_2 <pred:name> "Philadelphia" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Frankfurt" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Comcast
function: Find
inputs: Frankfurt
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4