Question: What is the nickname of the spouse of Virginia (the one whose population is 2309187)?
Choices: The King of Funk
Ναυαρχίδα
Chris
The Constitution State
The Tangerines
Tom
Οι Μαύροι-Λευκοί
The Clarets
Κίτρινοι
The Natural State
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <spouse> ?e_1 . ?e_1 <pred:name> "Virginia" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2309187"^^xsd:double . ?e <nickname> ?pv .  }
Program:
function: Find
inputs: Virginia
function: FilterNum
dependencies: 0
inputs: population
2309187
=
function: Relate
dependencies: 1
inputs: spouse
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: nickname
Answer: Tom