Question: Cambridge, home of Emmanuel College, has what connection to Cambridgeshire (FIPS 10-4 (countries and regions) UKC3)?
Choices:
winner
doctoral student
language of work or name
different from
located in the administrative territorial entity
copyright holder
family name
found
official color
famous people
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cambridge" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Emmanuel College" . ?e_2 <pred:name> "Cambridgeshire" . ?e_2 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKC3" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Emmanuel College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridge
function: And
dependencies: 1
2
function: Find
inputs: Cambridgeshire
function: FilterStr
dependencies: 4
inputs: FIPS 10-4 (countries and regions)
UKC3
function: QueryRelation
dependencies: 3
5