This is really weird. The serialization really should not make a difference. The only explanation I have would be that the owl: namespace is somehow pointing at something else than we believe. If you can't get it to work, please send a minimal but complete set of RDF files for us to reproduce the problem. We are otherwise speculating on an incomplete picture.

Holger


On 24/03/2016 0:01, Shreelakshmi G.M wrote:

Thanks Irene I will try saving RDF to turtle and check.

On Mar 23, 2016 7:16 PM, "Irene Polikoff" <[email protected] <mailto:[email protected]>> wrote:

    OK, we will investigate.

    As an aside, you can save your RDF/XML file in Turtle by using
    Export > TopBraid Composer > Export/Merge/Convert RDF Graphs.

    Irene Polikoff


    From: "Shreelakshmi G.M" <[email protected]
    <mailto:[email protected]>>
    Reply-To: <[email protected]
    <mailto:[email protected]>>
    Date: Wednesday, March 23, 2016 at 9:42 AM
    To: TopBraid Suite Users <[email protected]
    <mailto:[email protected]>>
    Subject: Re: [topbraid-users] customized seach function

    Yes, it opens. Actually, I created RDF/XML file in TBC itself. To
    test I created one .rdf file and one .ttl file with 2 classes and
    some instances. Then I tried using rdfs: Resource. It works with
    .ttl and not with .rdf.

    On Mar 23, 2016 6:47 PM, "Irene Polikoff" <[email protected]
    <mailto:[email protected]>> wrote:

        This sounds peculiar. By the time you are running your code,
        everything should already be de-serialised.

        Can you successfully open your RDF/XML file in TBC?

        Irene Polikoff


        From: "Shreelakshmi G.M" <[email protected]
        <mailto:[email protected]>>
        Reply-To: <[email protected]
        <mailto:[email protected]>>
        Date: Wednesday, March 23, 2016 at 7:11 AM
        To: TopBraid Suite Users <[email protected]
        <mailto:[email protected]>>
        Subject: Re: [topbraid-users] customized seach function

        I could recognize the where the problem is. If I use .ttl
        serialization, I can use rdfs:Resource to list all resources
        but the same cannot be done using RDF/XML serialization.
        Is there any solution for this as I have already built an
        ontology in RDF/XML which I need to use.

        On Tue, Mar 22, 2016 at 3:29 PM, Shreelakshmi G.M
        <[email protected] <mailto:[email protected]>> wrote:

            To make it simple, I just created a RDF file with single
            owl class in it, even that class is also not listed by
            rdfs:Resource argument.

            * <owl:Class rdf:ID="t">*
            *    <rdfs:label
            rdf:datatype="http://www.w3.org/2001/XMLSchema#string"*
            *    >t</rdfs:label>*
            *  </owl:Class>*
            *
            *
            This is the snippet for class in RDF file.

            On Tue, Mar 22, 2016 at 11:00 AM, Shreelakshmi G.M
            <[email protected] <mailto:[email protected]>> wrote:

                @Irene Polikoff : yes with owl:Class I get all the
                classes and with owl:Thing I get all instances. I need
                both classes and instances in a single Autocomplete tag.

                @Holger Knublauch: yes all the instances have
                rdfs:label in the RDF file I am using and the file is
                bult using TBC itself.

                this is the snippet for one of the instance in the RDF
                file :

                *<prefixA:classA rdf:ID="instanceA">*
                *    <rdfs:label
                
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>instanceA</rdfs:label>*
                *</prefixA:classA>*

                On Tue, Mar 22, 2016 at 5:05 AM, Holger Knublauch
                <[email protected]
                <mailto:[email protected]>> wrote:

                    I have just tried that, using
                    swadoc:AutoCompleteExample:

                    <swa:AutoComplete arg:id="property" 
arg:type="rdfs:Resource"/>


                    and it appears to work fine for me - all resources
                    show up. Are you sure that all instances in your
                    data have rdfs:labels etc?

                    Holger


                    On 22/03/2016 1:11, Irene Polikoff wrote:
                    Have you tried rdfs:Resource as the arg:type?

                    Sent from my iPhone

                    On Mar 21, 2016, at 6:04 AM, Shreelakshmi G.M
                    <[email protected] <mailto:[email protected]>>
                    wrote:

                    Yes. i am embedding the SWA components in html,
                    and I am following the example that is there in
                    TBC.
                    In html page I have this *swa.queryGraphURI =
                    
"http://rdfex.org/withImports?uri=http://www.kanoe.org/ontology/myGraph";*
                    *
                    *

                    On Mon, Mar 21, 2016 at 3:22 PM, Holger
                    Knublauch <[email protected]
                    <mailto:[email protected]>> wrote:

                        Have you tried rdfs:Resource? (This assumes
                        you are operating on a graph that has all
                        imports including the system triples - using
                        _withImports=true on the servlet or
                        ui:graphWithImports(?graph) on the graph
                        would do this.

                        Holger



                        On 21/03/2016 19:39, Shreelakshmi G.M wrote:
                        I would like to create customized form
                        where there would be search functionality
                        which is just a keyword search i.e it may
                        search either a class or a property or an
                        instance.
                        Autocomplete did not work as it can be
                        either for class or for instance. whatever
                        we give in arg:type that will be searched.
                        owl:Thing is for instances and owl:Class is
                        for class. Let me know what should be the
                        arg:type to search all these.

                        -Shreelakshmi
-- You received this message because you are
                        subscribed to the Google Group "TopBraid
                        Suite Users", the topics of which include
                        Enterprise Vocabulary Network (EVN),
                        Reference Data Manager (RDM), TopBraid
                        Composer, TopBraid Live, TopBraid Insight,
                        SPARQLMotion, SPARQL Web Pages and SPIN.
                        To post to this group, send email to
                        [email protected]
                        <mailto:[email protected]>
                        ---
                        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
                        [email protected]
                        <mailto:[email protected]>.
                        For more options, visit
                        https://groups.google.com/d/optout.

-- You received this message because you are
                        subscribed to the Google Group "TopBraid
                        Suite Users", the topics of which include
                        Enterprise Vocabulary Network (EVN),
                        Reference Data Manager (RDM), TopBraid
                        Composer, TopBraid Live, TopBraid Insight,
                        SPARQLMotion, SPARQL Web Pages and SPIN.
                        To post to this group, send email to
                        [email protected]
                        <mailto:[email protected]>
                        ---
                        You received this message because you are
                        subscribed to a topic in the Google Groups
                        "TopBraid Suite Users" group.
                        To unsubscribe from this topic, visit
                        
https://groups.google.com/d/topic/topbraid-users/YckJr7AkueY/unsubscribe.
                        To unsubscribe from this group and all its
                        topics, send an email to
                        [email protected]
                        <mailto:[email protected]>.
                        For more options, visit
                        https://groups.google.com/d/optout.


-- You received this message because you are
                    subscribed to the Google Group "TopBraid Suite
                    Users", the topics of which include Enterprise
                    Vocabulary Network (EVN), Reference Data Manager
                    (RDM), TopBraid Composer, TopBraid Live,
                    TopBraid Insight, SPARQLMotion, SPARQL Web Pages
                    and SPIN.
                    To post to this group, send email to
                    [email protected]
                    <mailto:[email protected]>
                    ---
                    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
                    [email protected]
                    <mailto:[email protected]>.
                    For more options, visit
                    https://groups.google.com/d/optout.
-- You received this message because you are
                    subscribed to the Google Group "TopBraid Suite
                    Users", the topics of which include Enterprise
                    Vocabulary Network (EVN), Reference Data Manager
                    (RDM), TopBraid Composer, TopBraid Live, TopBraid
                    Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
                    To post to this group, send email to
                    [email protected]
                    <mailto:[email protected]>
                    ---
                    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
                    [email protected]
                    <mailto:[email protected]>.
                    For more options, visit
                    https://groups.google.com/d/optout.

-- You received this message because you are
                    subscribed to the Google Group "TopBraid Suite
                    Users", the topics of which include Enterprise
                    Vocabulary Network (EVN), Reference Data Manager
                    (RDM), TopBraid Composer, TopBraid Live, TopBraid
                    Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
                    To post to this group, send email to
                    [email protected]
                    <mailto:[email protected]>
                    ---
                    You received this message because you are
                    subscribed to a topic in the Google Groups
                    "TopBraid Suite Users" group.
                    To unsubscribe from this topic, visit
                    
https://groups.google.com/d/topic/topbraid-users/YckJr7AkueY/unsubscribe.
                    To unsubscribe from this group and all its topics,
                    send an email to
                    [email protected]
                    <mailto:[email protected]>.
                    For more options, visit
                    https://groups.google.com/d/optout.




-- You received this message because you are subscribed to the
        Google Group "TopBraid Suite Users", the topics of which
        include Enterprise Vocabulary Network (EVN), Reference Data
        Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid
        Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
        To post to this group, send email to
        [email protected]
        <mailto:[email protected]>
        ---
        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
        [email protected]
        <mailto:[email protected]>.
        For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the
        Google Group "TopBraid Suite Users", the topics of which
        include Enterprise Vocabulary Network (EVN), Reference Data
        Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid
        Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
        To post to this group, send email to
        [email protected]
        <mailto:[email protected]>
        ---
        You received this message because you are subscribed to a
        topic in the Google Groups "TopBraid Suite Users" group.
        To unsubscribe from this topic, visit
        
https://groups.google.com/d/topic/topbraid-users/YckJr7AkueY/unsubscribe.
        To unsubscribe from this group and all its topics, send an
        email to [email protected]
        <mailto:[email protected]>.
        For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the Google
    Group "TopBraid Suite Users", the topics of which include
    Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM),
    TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion,
    SPARQL Web Pages and SPIN.
    To post to this group, send email to
    [email protected]
    <mailto:[email protected]>
    ---
    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 [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google
    Group "TopBraid Suite Users", the topics of which include
    Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM),
    TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion,
    SPARQL Web Pages and SPIN.
    To post to this group, send email to
    [email protected]
    <mailto:[email protected]>
    ---
    You received this message because you are subscribed to a topic in
    the Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this topic, visit
    https://groups.google.com/d/topic/topbraid-users/YckJr7AkueY/unsubscribe.
    To unsubscribe from this group and all its topics, send an email
    to [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Group "TopBraid 
Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), 
Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
--- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to