IntelligentGraph #3500
Replies: 2 comments 2 replies
-
This looks great. I like the approach, blending what is essentially custom rule-based inference right into the graph model itself. Regarding PathQL: admittedely I've only skimmed things, but all the examples I've seen sofar would be expressible in regular SPARQL syntax (perhaps not as a single path expression, but still as a basic graph pattern). For example, this PathQL expression:
would in regular SPARQL syntax be something like:
or if you prefer a one-liner:
Can you elaborate on what motivated you to introduce a custom syntax that is almost but not quite SPARQL? Purely readability, or are there features in PathQL that are not as easily expressible in SPARQL as this example? |
Beta Was this translation helpful? Give feedback.
-
This is very interesting. It reminds me of the ripple language for processing RDF which itself can be represented in RDF. A small drawback of your approach is the representation of programs as string literals. This makes it harder for RDF tools to inspect and/or automatically adapt the code in case of changes in the RDF model (like renamed properties etc.). I'm also working on a similar approach to yours that combines OpenMath and RDF for mathematical rules.
By using an RDF serialization for OpenMath the rules themselves can also be encoded as RDF graphs. Here are some pointers to our work:
|
Beta Was this translation helpful? Give feedback.
-
I've been working on a SAIL, which I've called IntelligentGraph. IntelligentGraph allows literals to be scripts (Javascript, Groovy, etc). These scripts get executed when the values are requested. Thus we can add calculations directly into the graph.
Performing calculations alone would not be very useful, so I added the ability for a script to access other nodes within the graph, just like an Excel cell formula can access another cells' values. The 'language' for accessing these other nodes is PathQL.
Interested in the RDF4J communities feedback
Beta Was this translation helpful? Give feedback.
All reactions