Question: How many public educational institutions of the United States are located in Lexington (whose establishment date is in 1777) and are the educational site of Michael Collins whose occupation is military officer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public educational institution of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lexington" . ?e_1 <inception> ?pv . ?pv <pred:year> 1777 .  ?e_2 <educated_at> ?e . ?e_2 <pred:name> "Michael Collins" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "military officer" .  }
Program:
function: Find
inputs: Lexington
function: FilterYear
dependencies: 0
inputs: inception
1777
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: public educational institution of the United States
function: Find
inputs: military officer
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: educated at
forward
function: FilterConcept
dependencies: 8
inputs: public educational institution of the United States
function: And
dependencies: 3
9
function: Count
dependencies: 10