From: Michael S. <ms...@me...> - 2015-05-26 06:20:30
|
Alex, sure, I understand — it would ease maintainability, but also when implemented properly at DB level complex inferencing would not be free of (performance) costs. However, afaik there’s currently no SWRL support built-in. One option might be to use external reasoners (loading the data in memory), see for instance this recent discussion thread here: http://sourceforge.net/p/bigdata/mailman/message/34073626/ <http://sourceforge.net/p/bigdata/mailman/message/34073626/>. The feasibility of this approach might depend on your use case/requirements, of course. Maybe Bryan has other ideas on how to best approach your use case. Best, Michael > On 26 May 2015, at 07:51, Alex Jouravlev <al...@bu...> wrote: > > Michael, > > The same way you can render OWL redundant - it can also be replaced with Sparql updates. > > However there is a massive advantage in relying on reasoning happening behind the scene as opposite to generating and inserting inferred triples now and then. You bet more maintainable, intelligent solution. > > Regards, > > Alex > > On Tuesday, May 26, 2015, Michael Schmidt <ms...@me... <mailto:ms...@me...>> wrote: > Dear Alex, > > is there anything that speaks against SPARQL UPDATE? > > - http://www.w3.org/TR/sparql11-update/ <http://www.w3.org/TR/sparql11-update/> > - http://wiki.blazegraph.com/wiki/index.php/SPARQL_Update <http://wiki.blazegraph.com/wiki/index.php/SPARQL_Update> > > If I understand your scenario right, your UPDATE query (untested!) might look something like: > > INSERT > { > ?from :myNewObjectProperty ?to > } > WHERE > { > ?node :from ?from . > ?node :to ?to . > ?node :dType "givenValue" . > } > > This query would insert an edge "?from :myNewObjectProperty ?to” whenever there exists a node satisfying the condition (you may need to take care of multivalued properties). > > Best, > Michael > >> On 25 May 2015, at 23:19, Alex Jouravlev <al...@bu... <javascript:_e(%7B%7D,'cvml','al...@bu...');>> wrote: >> >> Hi guys, >> >> Do you know if Blazegraph supports SWRL? >> >> If not, would be the best way to approach the following: >> >> I have a node that have object properties "from" and "to" and data properties "dType". I need to derive an object property pointing from "from" object to "to" object when the value of "dType" is equal to given. >> >> Thank you >> Alex Jouravlev >> <>Director, Business Abstraction Pty Ltd >> Phone: +61-(2)-8003-4830 >> Mobile: +61-4-0408-3258 >> Web: http://www.businessabstraction.com <http://www.businessabstraction.com/> >> LinkedIn: http://au.linkedin.com/in/alexjouravlev/ <http://au.linkedin.com/in/alexjouravlev/> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________ <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________> >> Bigdata-developers mailing list >> Big...@li... <javascript:_e(%7B%7D,'cvml','Big...@li...');> >> https://lists.sourceforge.net/lists/listinfo/bigdata-developers <https://lists.sourceforge.net/lists/listinfo/bigdata-developers> > > > > -- > Alex Jouravlev > <>Director, Business Abstraction Pty Ltd > Phone: +61-(2)-8003-4830 > Mobile: +61-4-0408-3258 > Web: http://www.businessabstraction.com <http://www.businessabstraction.com/> > LinkedIn: http://au.linkedin.com/in/alexjouravlev/ <http://au.linkedin.com/in/alexjouravlev/> > |