What is the {profession} for {patron saint} of {Thomas Aquinas}
What was the calling of St Thomas Aquinas?
What was the profession of St Thomas Aquinas?
SELECT DISTINCT ?o WHERE { ?o property:patron_saint resource:Thomas_Aquinas . ?o rdf:type ontology:profession }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P417> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9438> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q28640> } 
 select distinct ?sbj where { ?sbj wdt:P417 wd:Q9438 . ?sbj wdt:P31 wd:Q28640 } 
philosopher