From the Greek ἀπὸ μηχανῆς θεός (apò mēchanēs theós). A contrived or artificial solution, usually to a literary plot. Refers to the practice in Greek drama of lowering by crane (the mechanê) an actor playing a god or goddess onto the stage to resolve an insuperable conflict in the plot. The device is most commonly associated with Euripides.
A much more detailed analysis with detection of relationships or clauses can be found in our Sentence Analysis! Try it out!