I'd like to apologise to those with whom I've had ...
# thinking-together
n
I'd like to apologise to those with whom I've had recent conversations about linguistics, logic, and ontologies, for brushing off the relevance of the latter topics to the former. It seems these topics are more deeply intertwined than I had previously realised. • The field of logic emerged as a means of studying how humans reason using natural language. Logic is irrevocably tied to the structure of natural language, and therefore it seems foolish to try to add natural language to a programming system without basing it on logic. • Ontology is the study of categories and relationships. Ontology languages like OWL are actually based on Description Logic (I was surprised!), which could be perceived as a type system based on first-order logic. This gives us a formal way of conceptualising entities and have the computer check that a program is going to respect that conceptualisation. I had been dissuaded from reading into the use of ontologies in information systems because most resources I encountered about it are about the "Semantic Web"; I had equated the two. I'm interested merely in programming systems, and accordingly I have no interest in trying to make or support global standards for the categorisation of information. But the fundamental idea of ontology is sound: it seems like a bridge between natural language, logic, and type systems. I'd be a fool to ignore it given I'm designing a logic programming system. Next up: Several weeks studying the interplay between logic, natural language, ontologies, and type systems!
❤️ 10
🌈 1
w
I have some familiarity with OWL. Worked with Pat Hayes. He has a short article from a while back expressing thoughts https://www.ihmc.us/users/phayes/CatchingTheDreams2003.html. I think this stuff didn't do much anywhere because Google and Wikipedia did instead. Maybe.
👍 1
i
(On a meta level — this was a fantastic #C5T9GPWFL post, Nick. Thank you for writing it.)
❤️ 1
1
r
I'm skeptical that logic is needed to understand natural language. For example, I don't believe Transformer translation systems explicitly model logic http://jalammar.github.io/illustrated-transformer/
n
@Robbie Gleichman I think you misunderstand my interest in natural language. I’m interested in using it strictly as a primary programming interface. Few people would argue that we should have deep learning models interpreting all of our code (plaintext) to take action based on educated guesses about what we wanted to say (if you think that, that’s a separate discussion). I’m just exploring a syntax based on logic (i.e. explicitly broken into logical units with a well-defined semantics) but expressed in natural language (so that it is human-readable without having studied a course on logic).