What is {preceeds} of {The Marshall Mathers LP}, that has {genre of music} is {hip hop music} ?
"What is {preceeds} of {The Marshall Mathers LP}, whose {genre of music} is {hip hop music} ?"
"What is {preceeds} of {The Marshall Mathers LP}, whose {genre of music} is {hip hop music} ?"
SELECT ?c WHERE { resource:The_Marshall_Mathers_LP property:followed_by ?c . ?c property:genre resource:hip_hop_music }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q153607> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P156>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P136> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q11401> . }
SELECT ?answer WHERE { wd:Q153607 wdt:P156 ?answer . ?answer wdt:P136 wd:Q11401}