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 <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]> 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 > <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]> > 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]> >> [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>http://rdfex.org/withImports?uri=http://www.kanoe.org/ontology/myGraph >> <http://rdfex.org/withImports?uri=http://www.kanoe.org/ontology/myGraph>";* >> >> >> On Mon, Mar 21, 2016 at 3:22 PM, Holger Knublauch < >> <[email protected]>[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]> >>> [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]> >>> [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]> >>> [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> >>> 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]. >>> 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]> >> [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. >> >> -- >> 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. >> >> >> -- >> 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 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]. >> 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.
