What is {named for} of {Gaussian function}, that has {denomination} is {Lutheranism} ?
"Who is the {Gaussian function} named for, whose recorded spiritual {denomination} was {Lutheranism}?"
"Who is the {Gaussian function} named for, whose recorded religious {denomination} was {Lutheranism}?"
SELECT ?u WHERE { ?u property:religion resource:Lutheranism . resource:Gaussian_function property:named_after ?u }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1054475> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138>. ?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/P140> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q75809> . }
SELECT ?answer WHERE { wd:Q1054475 wdt:P138 ?answer . ?answer wdt:P140 wd:Q75809}