Alexander Sidorov wrote:
Hi, Jürgen

That's what I really have done: I uploaded all ontologies to one graph (let's call it TBox). But I have one more graph with content (ABox). I need inference on both of these graphs, but I don't want to combine them into one graph.

Use Named Graphs to bring the ABox data into scope re. SPARQL.

Confirm you know how to do this re. standard SPARQL.

Kingsley
Regards,
Alexander

2010/2/22 Jürgen Jakobitsch <jakobits...@punkt.at <mailto:jakobits...@punkt.at>>

    hi alex,

    you need to first import different ontologies into one single graph
    and then make a ruleset of this graph.

    like so

    DB.DBA.RDF_LOAD_RDFXML (http_get
    ('http://www.w3.org/2009/08/skos-reference/skos-owl1-dl.rdf'
    <http://www.w3.org/2009/08/skos-reference/skos-owl1-dl.rdf%27>),
    'no', 'urn:rulegraph');
    DB.DBA.RDF_LOAD_RDFXML (http_get
    ('http://www.w3.org/2002/07/owl.rdf'
    <http://www.w3.org/2002/07/owl.rdf%27>), 'no', 'urn:rulegraph');

    rdfs_rule_set ('rules', 'urn:rulegraph');

    wkr www.turnguard.com <http://www.turnguard.com>


    ----- Original Message -----
    From: "Alexander Sidorov" <alexi...@gmail.com
    <mailto:alexi...@gmail.com>>
    To: "Virtuoso Users" <virtuoso-users@lists.sourceforge.net
    <mailto:virtuoso-users@lists.sourceforge.net>>
    Sent: Monday, February 22, 2010 9:55:42 AM
    Subject: [Virtuoso-users] Multiple graphs in one ruleset


    Hello!

    Documentation says "It is possible to combine multiple schema
    graphs into a single rule set", but how to implement this? If I
    try to use rdfs_rule_set with one name but different graphs only
    the last one is used. Also I tried to create graph group and
    rdfs_rule_set to it, but it didn't work too.

    What I really need is to split TBox and ABox into different graphs
    to be able "clear and upload" new TBox when I need.

    Regards,
    Alexander

    
------------------------------------------------------------------------------
    Download Intel&#174; Parallel Studio Eval
    Try the new software tools for yourself. Speed compiling, find bugs
    proactively, and fine-tune applications for parallel performance.
    See why Intel Parallel Studio got high marks during beta.
    http://p.sf.net/sfu/intel-sw-dev
    _______________________________________________
    Virtuoso-users mailing list
    Virtuoso-users@lists.sourceforge.net
    <mailto:Virtuoso-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/virtuoso-users

    --
    punkt. netServices
    ______________________________
    Jürgen Jakobitsch
    Codeography

    Lerchenfelder Gürtel 43 Top 5/2
    A - 1160 Wien
    Tel.: 01 / 897 41 22 - 29
    Fax: 01 / 897 41 22 - 22

    netServices http://www.punkt.at


------------------------------------------------------------------------

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
------------------------------------------------------------------------

_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


--

Regards,

Kingsley Idehen President & CEO OpenLink Software Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen





Reply via email to