what is the {together with} for {William Hanna} has {award received} as {star on Hollywood Walk of Fame} ?
Walk of fame star next to William Hanna?
What celebrity has a star beside William Hanna's on the Hollywood Walk of Fame?
SELECT ?q WHERE { ?d property:award_received resource:star_on_Hollywood_Walk_of_Fame . resource:William_Hanna property:award_received ?d . ?d property:together_with ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q263324> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q17985761> .
?statement <http://www.wikidata.org/entity/P1706> ?value. 
} 

SELECT ?value WHERE { wd:Q263324 p:P166 ?s . ?s ps:P166 wd:Q17985761 . ?s pq:P1706 ?value}