Question: What is the Stack Exchange tag of the medicine that is the work field of John Hughes (who works in neuroscience)?
Choices:
https://wordpress.stackexchange.com/tags/windows
https://stackoverflow.com/tags/cisco
https://engineering.stackexchange.com/tags/computer-engineering
https://psychology.stackexchange.com/tags/neuroscience
https://webapps.stackexchange.com/tags/windows
https://travel.stackexchange.com/tags/uk
https://stackoverflow.com/tags/voip
https://serverfault.com/tags/windows
https://stackoverflow.com/tags/oop
https://stackoverflow.com/tags/advertising
Answer: https://psychology.stackexchange.com/tags/neuroscience
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medicine" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "John Hughes" . ?e_1 <field_of_work> ?e_2 . ?e_2 <pred:name> "neuroscience" .  ?e <Stack_Exchange_tag> ?pv .  }
Program:
function: Find
inputs: neuroscience
function: Relate
dependencies: 0
inputs: field of work
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: field of work
forward
function: FilterConcept
dependencies: 4
inputs: medicine
function: QueryAttr
dependencies: 5
inputs: Stack Exchange tag