What is {from work} of {motif} of {David with the Head of Goliath} ?
who work of theme of david with the head of goliath ?
who  work of motif of david with the head of goliath ?
SELECT ?b WHERE { ?v property:present_in_work ?b . resource:David_with_the_Head_of_Goliath property:depicts ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q20354514> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P180>. ?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/P1441> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q20354514 wdt:P180 ?X . ?X wdt:P1441 ?answer}
Proverbs Gospel of John Gospel of Luke Acts of the Apostles Psalms Revelation of John Epistle to the Romans Song of Songs Ruth Gospel of Mark Epistle to the Hebrews 1 Kings Ecclesiastes Second Epistle to Timothy Jeremiah Book of Ezra Book of Nehemiah Book of Tobit Sirach Books of Chronicles Amos Ezekiel Book of Zechariah Book of Hosea 2 Samuel 2 Chronicles 2 Kings Gospel of Matthew 1 Samuel 1 Chronicles David and Goliath Isaiah 9 1 Samuel 17 David and Goliath