4 ms·
SPARQL is similar to non-recursive Datalogˆnot, but that's a subset of full Prolog. SPARQL is a query language, not a full-on programming language as Prolog is.
by kendallgclark 12y ago
SPARQL is similar to non-recursive Datalogˆnot, but that's a subset of full Prolog. SPARQL is a query language, not a full-on programming language as Prolog is.
- samuell 12y agoTrue. Most notably I badly miss the ability to encapsulate queries in named "functions". That is one of the things I really like in prolog, since it enables to quickly raise one's level of abstraction, by building up a "language" of facts and rules. If anyone knows a way to do something similar in SPARQL, I'm highly interested to know.
- kendallgclark 12y agoYou can do this with user-defined rules in some RDF databases. Stardog(.com) supports it nicely.
- samuell 12y agoInteresting, thanks for the hint!