Question: Does the liberal arts college in the United States located in Gettysburg (the one that contains Gettysburg College), have its ARCHON code equal to 2041?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college in the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Gettysburg" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Gettysburg College" .  ?e <ARCHON_code> ?pv . ?pv <pred:value> "2041" .  }
Program:
function: Find
inputs: Gettysburg College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Gettysburg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: liberal arts college in the United States
function: QueryAttr
dependencies: 5
inputs: ARCHON code
function: VerifyStr
dependencies: 6
inputs: 2041