On 18/01/2019 7:15 am, Rob Atkinson wrote:
its an area where URIs are not "opaque" - because when dereferencing a server never sees the # or trailing fragments after that.

If you use a # in your URI you are saying that architecturally a client must always load the entire namespace when referencing a single term - which is appropriate for models but not instance data usually. clients need the ability to choose how many instances they are dealing with, and some other mechanism should be provided to access lists of instances.

Arguably TBC should fully simulate HTTP dereferencing - and be willing to match with or without trailing # ?

TopBraid will have no problems resolving either with or without # from the web, but if you have owl:imports in an RDF model then the interpretation should IMHO be that it refers to the URI (usually an owl:Ontology) in that location to resolve further recursive owl:imports. In other words, if you have a union graph with all sub-graphs, you can use the SPARQL path owl:imports* to find all imported sub-graphs. That's also how SHACL interprets them. Just pretending they are the same is creating complications wherever such references (in the RDF model) are followed, e.g. you'd need to make SPARQL queries look for either case too. For this reason, the mapping of URIs to local files only accepts exact matches.

Holger





On Thu, 17 Jan 2019 at 19:38, Holger Knublauch <hol...@topquadrant.com <mailto:hol...@topquadrant.com>> wrote:

    Using # or not does/can impact how further owl:imports are
    understood. So if shacl# had an owl:import and you just import
    without the # then the owl:import would not be picked up because
    it's a different owl:Ontology.

    This is one of these never-ending topics where the semantic web
    stack is unfortunately too complex and almost everybody gets this
    wrong.

    Holger


    On 17/01/2019 6:32 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite
    Users wrote:

    Ok

    Is there any special reason why the ‘importing with #’is
    different from usual (without #, # only in prefix)?

        

    Dr. ir. H.M. (Michel) Böhms
    Senior Data Scientist

        

    T +31888663107
    M +31630381220
    E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>

        

    Location
    
<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>

    <http://www.tno.nl/>

    This message may contain information that is not intended for
    you. If you are not the addressee or if this message was sent to
    you by mistake, you are requested to inform the sender and delete
    the message. TNO accepts no liability for the content of this
    e-mail, for the manner in which you use it and for damage of any
    kind resulting from the risks inherent to the electronic
    transmission of messages.


    *From:*topbraid-users@googlegroups.com
    <mailto:topbraid-users@googlegroups.com>
    <topbraid-users@googlegroups.com>
    <mailto:topbraid-users@googlegroups.com> *On Behalf Of *Holger
    Knublauch
    *Sent:* donderdag 17 januari 2019 09:30
    *To:* topbraid-users@googlegroups.com
    <mailto:topbraid-users@googlegroups.com>
    *Subject:* Re: [topbraid-users] shacl import?

    Only importing will add the triples from that namespace. Simply
    using the URIs does not.

    Holger

    Sent from my iPad


    On 17 Jan 2019, at 18:26, 'Bohms, H.M. (Michel)' via TopBraid
    Suite Users <topbraid-users@googlegroups.com
    <mailto:topbraid-users@googlegroups.com>> wrote:

        Ok

        But when it is deref. that way…why still need to import it
        (at all)?

                

        Dr. ir. H.M. (Michel) Böhms
        Senior Data Scientist


                

        T +31888663107
        M +31630381220
        E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>

                

        Location
        
<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>

        <image001.gif> <http://www.tno.nl/>

        This message may contain information that is not intended for
        you. If you are not the addressee or if this message was sent
        to you by mistake, you are requested to inform the sender and
        delete the message. TNO accepts no liability for the content
        of this e-mail, for the manner in which you use it and for
        damage of any kind resulting from the risks inherent to the
        electronic transmission of messages.


        *From:*topbraid-users@googlegroups.com
        <mailto:topbraid-users@googlegroups.com>
        <topbraid-users@googlegroups.com
        <mailto:topbraid-users@googlegroups.com>> *On Behalf Of
        *Holger Knublauch
        *Sent:* donderdag 17 januari 2019 00:05
        *To:* topbraid-users@googlegroups.com
        <mailto:topbraid-users@googlegroups.com>
        *Subject:* Re: [topbraid-users] shacl import?

        The correct URI to import is http://www.w3.org/ns/shacl#
        <http://www.w3.org/ns/shacl> (including the #) and this
        should be dereferenceable. In TopBraid, this will redirect to
        the local copy in the TopBraid/SHACL/shacl.ttl file.

        Holger

        On 16/01/2019 10:34 pm, 'Bohms, H.M. (Michel)' via TopBraid
        Suite Users wrote:

            Can someone help me remember:

            Do I need

            <https://w3id.org/example1> <https://w3id.org/example1>

            rdf:type owl:Ontology ;

            owl:imports dct: ;

            owl:imports <http://www.w3.org/2004/02/skos/core>
            <http://www.w3.org/2004/02/skos/core> ;

              owl:imports <http://www.w3.org/ns/shacl>
            <http://www.w3.org/ns/shacl> .

            or is it dereferenceable

            thx a lot, Michel

                

            Dr. ir. H.M. (Michel) Böhms
            Senior Data Scientist



                

            T +31888663107
            M +31630381220
            E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>

                

            Location
            
<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>

            <image001.gif> <http://www.tno.nl/>

            This message may contain information that is not intended
            for you. If you are not the addressee or if this message
            was sent to you by mistake, you are requested to inform
            the sender and delete the message. TNO accepts no
            liability for the content of this e-mail, for the manner
            in which you use it and for damage of any kind resulting
            from the risks inherent to the electronic transmission of
            messages.


-- You received this message because you are subscribed to
            the Google Groups "TopBraid Suite Users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to
            topbraid-users+unsubscr...@googlegroups.com
            <mailto:topbraid-users+unsubscr...@googlegroups.com>.
            For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
        Google Groups "TopBraid Suite Users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to
        topbraid-users+unsubscr...@googlegroups.com
        <mailto:topbraid-users+unsubscr...@googlegroups.com>.
        For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
        Google Groups "TopBraid Suite Users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to
        topbraid-users+unsubscr...@googlegroups.com
        <mailto:topbraid-users+unsubscr...@googlegroups.com>.
        For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to topbraid-users+unsubscr...@googlegroups.com
    <mailto:topbraid-users+unsubscr...@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to topbraid-users+unsubscr...@googlegroups.com
    <mailto:topbraid-users+unsubscr...@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google
    Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to topbraid-users+unsubscr...@googlegroups.com
    <mailto:topbraid-users+unsubscr...@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com <mailto:topbraid-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to