Empirically-grounded development of legal ontologies: a socio-legal perspective