Querying social practices in hospital context