What is {patron saint} of {accountant}, that has {is son of} is {Alphaeus} ?
"Who is Supporter holy person the bookkeeper, the child of Alphaeus?"
"Who is Patron saint the accountant, the son of Alphaeus?"
SELECT ?g WHERE { resource:accountant property:patron_saint ?g . ?g property:father resource:Alphaeus }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q326653> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P417>. ?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/P22> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1542853> . }
SELECT ?answer WHERE { wd:Q326653 wdt:P417 ?answer . ?answer wdt:P22 wd:Q1542853}
Matthew the Apostle