We prove two Sobolev-type inequalities, which are then used to establish a fractional Hardy-Sobolev-Maz'ya inequality on the upper halfspace.