4 ms·
> what field is Prolog especially suited for? Graphs? SWI-Prolog even comes with an RDF triple store: http://www.swi-prolog.org/pldoc/man?section=semweb-rdfap
by floatboth 8y ago
> what field is Prolog especially suited for?
Graphs?
SWI-Prolog even comes with an RDF triple store: http://www.swi-prolog.org/pldoc/man?section=semweb-rdfapi http://www.swi-prolog.org/pldoc/man?section=semweb-rdfapi
Why aren't people using Prologs instead of graph databases like neo4j?
- mark_l_watson 8y agoI got my start with semantic web/linked data using semweb library and SWI-Prolog. I think that RDF data stores (and more general graph databases like Neo4j) scale better, but semweb is great for experimenting.
- jcelerier 8y agobecause at some point you want to have business rules that use your graph and make a pretty UI and write a graph renderer and implement GraphQL and all of those would be horrible to do in prolog so prolog would have to be the backend of a graph API that you would use in $GENERAL_PURPOSE_LANGUAGE and at that point it may not be the fastest.
- TFortunato 8y agoIsn't this exactly what datomic / datalog are?