What is the {book of the Bible} for {present in work} of {David}
Where within the book of scriptures can you discover the book of David?
Where in the bible can you find the book of David?
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:book_of_the_Bible . resource:David property:present_in_work ?b }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41370> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1441> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q29154430> } 
 select distinct ?obj where { wd:Q41370 wdt:P1441 ?obj . ?obj wdt:P31 wd:Q29154430 } 
Ruth Gospel of Mark Epistle to the Hebrews 1 Kings Ecclesiastes Second Epistle to Timothy Jeremiah Book of Ezra Book of Nehemiah Amos Ezekiel Book of Zechariah Book of Hosea 2 Samuel 2 Chronicles 2 Kings Gospel of Matthew 1 Samuel 1 Chronicles Proverbs Gospel of John Gospel of Luke Acts of the Apostles Psalms Revelation of John Epistle to the Romans Song of Songs