What is {lyracist} of {Dixie}, that has {craft} is {songwriter} ?
Who has the craft of songwriter and is the lyricist of Dixie?
Who has the craft of songwriter and is the lyricist of Dixie?
SELECT ?r WHERE { resource:Dixie property:lyrics_by ?r . ?r property:occupation resource:songwriter }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1231722> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P676>. ?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/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q753110> . }
SELECT ?answer WHERE { wd:Q1231722 wdt:P676 ?answer . ?answer wdt:P106 wd:Q753110}
Dan Emmett