Question: The number of conservatories ,that is named Michael Collins(the one whose date of birth is 1986-04-30) , located in New York (containing Oswego County)
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> "conservatory" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Michael Collins" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1986-04-30"^^xsd:date .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "New York" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Oswego County" .  }
Program:
function: Find
inputs: Michael Collins
function: FilterDate
dependencies: 0
inputs: date of birth
1986-04-30
=
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: conservatory
function: Find
inputs: Oswego County
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: New York
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 8
inputs: conservatory
function: And
dependencies: 3
9
function: Count
dependencies: 10