Question: Brian Moriarty designed video games written by whom?
SPARQL query: 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>}
Answer: The writer of the video games whose designer is Brian Moriarty are [Steven Spielberg, Brian Moriarty, Orson Scott Card].