Is there a phonological inventory database along the lines of PHOIBLE, but represented as a graph database in the vein of e.g. Prolog or Datalog?

From the kinds of questions that get referred to PHOIBLE here, it feels like the ability to easily run queries along the lines of, "which languages contrast X and Y, but not X and Z, and where X has feature F?" - which would be a straightforward Datalog query if there's a set of predicates like contrasts(L, X, Y) and features(L, X, F). This could be extended to also account for multiple and even contradictory sources, various degrees of certainty etc.

However, I couldn't find even simple query facilities in PHOIBLE, much less something like this. Am I not seeing a feature that is there? Or is it something that isn't very useful practically (and if so, why?)? Or is it just that nobody bothered to organize any existing database in this manner?

1 Answer 1


In terms of the code on the Phoible website, what you see is what you get, and it looks to me as though there isn't a built-in facility for asking open-ended questions like you have in mind. You would have write appropriate code for processing the database, though there could be useful utilities already available.

Practical usefulness is hard to quantify. A classical database question of theory is whether any language contrasts "pharyngealization" and "rounding", or could they be subsumed under one feature – they were reduced to one feature in the Fant & Halle system. Unawareness of such contrasts allowed a simpler feature system, but turns out to have been empirically wrong.

An example of an unanswered question that might benefit from such a tool connected to the Phoible database is, does any language clearly contrast [ʉ] with [ɯ]? I manually determined that the answer is "no (not clear)", but there are about 4 languages where the claim is at least worth looking at in greater depth. Processing the indicia of reliability would also be useful, since many people (erroneously) think of specific languages as being well-defined objects whose properties are self-evident. One of the candidate languages is "Khams Tibetan", which is more a language family rather than a single language. For various reasons (available from the database), I consider the claim for that language to be "not clearly established" (multiple languages, multiple opinions i.e. lack of consensus, unpublished sources).

There is a tradition in linguistics of presenting sweeping conclusions about human language based on ill-defined criteria and unretrievable connections of actual language data. To the extent that one could devise and test well-defined formulas stating a claim X, and could say something systematic about how strong – or weak – the claim is, that could be a positive contribution to phonological research.

  • I took a look at the PHOIBLE dataset, and it looks like it would be fairly straightforward to convert it to a series of predicates for querying. Given the small size, the queries could even be run entirely in the browser, e.g. using github.com/tonsky/datascript. So I guess the question that remains is whether this is something that others might find useful. I am an amateur hobbyist, and it has occurred to me that one of the reasons why this doesn't exist yet might be that these kinds of questions are simply not asked by (i.e. answers are not useful to) professionals in the field. Commented May 8, 2022 at 22:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.