Question: What is the official website for an occupation which matches the occupation of Marilyn Monroe (the one that was born in Los Angeles) ?
Choices:
http://www.sanjuan.pr/
http://www.wolverhampton.gov.uk/
http://www.stclaircounty.org
https://www.ncaa.com/march-madness
http://osawa-inc.co.jp/blocks/index/talent00130.html
http://www.thecure.com/
http://www.playmates.com/
http://www.co.howard.in.us
http://www.madghostproductions.com
http://www.citycouncilofnairobi.go.ke/
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Marilyn Monroe
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: occupation
function: QueryAttr
dependencies: 5
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Marilyn Monroe" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  ?e <official_website> ?pv .  }
Answer: http://www.playmates.com/