SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/designer> <http://dbpedia.org/resource/Brian_Moriarty> . ?x <http://dbpedia.org/property/writer> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/VideoGame>}
Brian Moriarty designed video games written by whom?
SELECT DISTINCT ?s WHERE { ?s property:writer ?s . ?s rdf:type ontology:Video_Game . ?s property:designer resource:Brian_Moriarty }
Steven Spielberg, Brian Moriarty, Orson Scott Card
The writer of the video games whose designer is Brian Moriarty are [Steven Spielberg, Brian Moriarty, Orson Scott Card].
The creator of video games designed by Brian Moriarty are [Stephen Spielberg, Brian Moriarty, Orson Scott Card].
The writer of the video games whose has designer is him are [Steven Spielberg, him, Orson Scott Card].
The authors of the video games he designed are [Stephen Felberg, himself, Orson Scott Card].