Question: How is National Gallery published on  2014-10-08 related to the National Gallery whose visitor count per year is 6262839?
Choices:
position played on team / speciality
main subject
place of birth
feast day
replaced by
appointed by
family name
does not have part
commander of
narrator
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "National Gallery" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2014-10-08"^^xsd:date . ?e_2 <pred:name> "National Gallery" . ?e_2 <visitors_per_year> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "6262839"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: National Gallery
function: FilterDate
dependencies: 0
inputs: publication date
2014-10-08
=
function: Find
inputs: National Gallery
function: FilterNum
dependencies: 2
inputs: visitors per year
6262839
=
function: QueryRelation
dependencies: 1
3