What is {career} of {religious affiliation} of {First Epistle of John} ?
What is the career of the devout connection of To begin with Epistle of John?
What is the career of the religious affiliation of First Epistle of John?
SELECT ?l WHERE { resource:First_Epistle_of_John property:religion ?f . ?f property:occupation ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q131101> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P140>. ?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/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q131101 wdt:P140 ?X . ?X wdt:P106 ?answer}