Question: How many port cities are the place of death for the human partner of Julius Caesar (the one whose ISNI is 0000 0001 2283 4514)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e_1 <place_of_death> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <partner> ?e_1 . ?e_2 <pred:name> "Julius Caesar" . ?e_2 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 2283 4514" .   }
Program:
function: Find
inputs: Julius Caesar
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2283 4514
function: Relate
dependencies: 1
inputs: partner
forward
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: port city
function: Count
dependencies: 5