What is the {doctrine} for {movement} of {Thomas Aquinas}
What doctrine did Thomas Aquinas follow?
What is the doctrine of Thomas Aquinas?
SELECT DISTINCT ?x WHERE { resource:Thomas_Aquinas property:movement ?x . ?x rdf:type ontology:doctrine }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9438> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P135> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q117850> } 
 select distinct ?obj where { wd:Q9438 wdt:P135 ?obj . ?obj wdt:P31 wd:Q117850 } 
just war theory