What is {work partner} of {scriptwriter} of {Member Berries} ?
Who is {work accomplice} of {scriptwriter} {Part Berries} ?
Who is {work partner} of {scriptwriter} {Member Berries} ?
SELECT ?n WHERE { ?m property:partner_in_business_or_sport ?n . resource:Member_Berries property:screenwriter ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q26898074> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P58>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1327> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q26898074 wdt:P58 ?X . ?X wdt:P1327 ?answer}
Matt Stone