2 ms·
I've been looking for a reason to use Prolog for some time, as I've always had a sort of latent interest in learning it... but never had a project that just scr
by mindcrime 13y ago
I've been looking for a reason to use Prolog for some time, as I've always had a sort of latent interest in learning it... but never had a project that just screamed for using Prolog.
Now, I think I may have that project. We're at a point with some of our projects to where we are extracting structured information (as RDF) from unstructured content, and storing that RDF in a triplestore, and allowing SPARQL queries. So you can do things like asking for system for all "entries" (where an "entry" can be a tweet, a blog post, an email message, etc.) where say, "all entries that mention a musician who was born in the UK" or "all entries that mention a college or university in the US, founded after 1800" or whatever. Of course, normals don't write SPARQL queries, which leads us to doing a certain level of natural language understanding, and then automatically generating the corresponding SPARQL.
As it happens, Prolog has long been associated with NLP and there is quite a bit of literate on doing this kind of work with Prolog. So now I'm very excited about a chance to learn Prolog and apply it to a problem that I find very interesting.
Aside: Yes, I am aware of Quepy[1], which does this in Python. But I also want to learn Prolog for other reasons as well, and want to spend at least a little bit of effort exploring doing in Prolog. But if it proves to be too challenging to get something working, we may use Quepy.
[1]: https://pypi.python.org/pypi/quepy/ https://pypi.python.org/pypi/quepy/