Question: What are the number of port cities that claim their territory of Spain and that is the birthplace of Daniel Dae Kim ?
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> "port city" . ?e <territory_claimed_by> ?e_1 . ?e_1 <pred:name> "Spain" .  ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Daniel Dae Kim" .  }
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: territory claimed by
backward
function: FilterConcept
dependencies: 1
inputs: port city
function: Find
inputs: Daniel Dae Kim
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: port city
function: And
dependencies: 2
5
function: Count
dependencies: 6