On 7/31/13 8:33 AM, Jim McCusker wrote:
Can you explain how SPARQL construct queries can be chained together as in forward chaining? I'm interested in doing something like that.

You can use SPARQL 1.1 to for this pipeline with the end product ending up in a name graph of your choosing.

Template:
WITH <urn:sparql:11:qa>
INSERT {<#resA> <#lastModified> <#dateTime>};
DELETE { ?s ?p ?o } WHERE {?s ?p ?o};
INSERT { <#resB> <#lastModified> <#dateTimeB> }


Kingsley


Thanks,
Jim

On Wednesday, July 31, 2013, Kingsley Idehen wrote:

    On 7/31/13 7:29 AM, Hugh Williams wrote:
    Hi Kayhan,

    Virtuoso rule sets for setting up inference and reasoning can be
    setup as detailed at:

    http://docs.openlinksw.com/virtuoso/rdfsparqlrule.html

    What we are missing right now is a custom rules (via views)
    feature that basically amounts to a transient (backward-chained)
    variant of SPARQL CONSTRUCT. For now, you can forward-chain
    (materialize) data via purpose specific SPARQL-CONTRUCTs.

    In some cases, you might be able to use SPARQL 1.1 property graphs
    and transitivity to similar effect, but I need to make time to
    write some examples of what's possible etc..


    Kingsley

    Best Regards
    Hugh Williams
    Professional Services
    OpenLink Software, Inc.      // http://www.openlinksw.com/
    Weblog   -- http://www.openlinksw.com/blogs/
    LinkedIn -- http://www.linkedin.com/company/openlink-software/
    Twitter  -- http://twitter.com/OpenLink
    Google+  -- http://plus.google.com/100570109519069333827/
    Facebook -- http://www.facebook.com/OpenLinkSoftware
    Universal Data Access, Integration, and Management Technology
    Providers

    On 29 Jul 2013, at 16:13, Kayhan Uludemirciler
    <kayhan.uludemirci...@sohard.de> wrote:

    Hello,

    we are trying to do some OWL reasoning based on
    owl:propertyChainAxiom.
    Since that predicate is not supported, is there a way to define
    external rules,
    so that the built-in reasoner can use them?

    Regards

    Kayhan Uludemirciler
    Softwareentwicklung


    SOHARD Software GmbH
    Würzburger Str. 197
    90766 Fürth

    Phone: +49 (0) 911 97341-568
    E-Mail: kayhan.uludemirci...@sohard.de
    www.sohard.de <http://www.sohard.de>

    Geschäftsführer: Peter Feltens, Sebastian Schnitzenbaumer
    Sitz der Gesellschaft: Fürth
    Registergericht: Amtsgericht Fürth; HRB 11478

    USt.-Id.-Nr.: DE 2 60 32 91 34
    Steuernummer: 218/137/60174

    
------------------------------------------------------------------------------
    See everything from the browser to the database with AppDynamics
    Get end-to-end visibility with application monitoring from
    AppDynamics
    Isolate bottlenecks and diagnose root cause in seconds.
    Start your free trial of AppDynamics Pro today!
    http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
    _______________________________________________
    Virtuoso-users mailing list
    Virtuoso-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/
    <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
    
------------------------------------------------------------------------------
    Get your SQL database under version control now!
    Version control is standard for application code, but databases havent
    caught up. So what steps can you take to put your SQL databases under
    version control? Why should you start doing it? Read more to find out.
    http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk


    _______________________________________________
    Virtuoso-users mailing list
    Virtuoso-users@lists.sourceforge.net  <javascript:_e({}, 'cvml', 
'Virtuoso-users@lists.sourceforge.net');>
    https://lists.sourceforge.net/lists/listinfo/virtuoso-users


--
    Regards,

    Kingsley Idehen     
    Founder & CEO
    OpenLink Software
    Company Web:http://www.openlinksw.com
    Personal Weblog:http://www.openlinksw.com/blog/~kidehen  
<http://www.openlinksw.com/blog/%7Ekidehen>
    Twitter/Identi.ca handle: @kidehen
    Google+ Profile:https://plus.google.com/112399767740508618350/about
    LinkedIn Profile:http://www.linkedin.com/in/kidehen






--
Jim McCusker
Programmer Analyst
Krauthammer Lab, Pathology Informatics
Yale School of Medicine
james.mccus...@yale.edu <mailto:james.mccus...@yale.edu> | (203) 785-4436
http://krauthammerlab.med.yale.edu

PhD Student
Tetherless World Constellation
Rensselaer Polytechnic Institute
mcc...@cs.rpi.edu <mailto:mcc...@cs.rpi.edu>
http://tw.rpi.edu


--

Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to