Question: What is the relationship between Lake Michigan and Green Bay, which is part of Lake Michigan?
Choices:
noble title
famous people
collection
hair color
designed by
place served by transport hub
Wikidata property
has part
derivative work
director
Program:
function: Find
inputs: Lake Michigan
function: Find
inputs: Lake Michigan
function: Relate
dependencies: 1
inputs: has part
forward
function: Find
inputs: Green Bay
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lake Michigan" . ?e_2 <pred:name> "Green Bay" . ?e_3 <has_part> ?e_2 . ?e_3 <pred:name> "Lake Michigan" . ?e_1 ?p ?e_2 .  }
Answer: has part