Dynamo Queries


I use Revit in order to create BIM for building. Using Dynamo I’d like to make ‘queries’. Specifically, i want to make this: ’ Find the room owned by A owner and show it’’. I have made many connections but it does not work. Is it possible in Dynamo?