SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/governingBody> <http://dbpedia.org/resource/City_council> . ?uri <http://dbpedia.org/property/restingPlace> ?x . }
Name all those buried in a place governed by a city council.
SELECT DISTINCT ?a WHERE { ?a property:resting_place ?x . . ?x property:governing_body resource:City_council }
Ray Lyman Wilbur, Shirley Temple, Paul Shoup, Ronald Reagan
The people whose resting place's governing body is City council are [Ray Lyman Wilbur, Shirley Temple, Paul Shoup, Ronald Reagan].
The people whose governing body of their buried place is the City Council [Ray Lyman Wilbur, Shirley Fell, Paul Shope, Ronald Reagan].