From: Michael S. <ms...@me...> - 2015-05-26 05:52:15
|
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...> 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_______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers |